This is OSPF setup with Quagga routing daemon, used on my wireless network.
Interfaces ra0 and ra1 are routed, because they are backbone links to other nodes.
Interface eth0 act as link to the WiFi AP, and eth1 act as link to Internet via HW router, so they are passive.
node1:/etc/quagga # cat zebra.conf
Quote:
!
! Zebra configuration saved from vty
! 2006/04/18 14:26:03
!
hostname node1-quagga
password quagga
enable password quagga
log file /var/log/quagga/quagga.log
!
interface eth0
ipv6 nd suppress-ra
!
interface eth1
ipv6 nd suppress-ra
!
interface lo
!
interface ra0
link-detect
ipv6 nd suppress-ra
!
interface ra1
link-detect
ipv6 nd suppress-ra
!
interface sit0
ipv6 nd suppress-ra
!
ip forwarding
!
line vty
!
[/b]
|
node1:/etc/quagga # cat ospfd.conf
Quote:
!
! Zebra configuration saved from vty
! 2006/04/20 23:55:45
!
hostname node1-ospf
password quagga
enable password quagga
!
!
!
interface eth0
!
interface eth1
!
interface lo
!
interface ra0
!
interface ra1
!
interface sit0
!
router ospf
redistribute connected
passive-interface eth0
passive-interface eth1
network 192.168.3.0/24 area 0.0.0.0
network 192.168.4.0/24 area 0.0.0.0
!
line vty
!
[/b]
|