Sample ospfd.conf
hostname hostname(1)
IMPORTANT: Please leave vty password as metanet
password metanet enable password !YourEnablePassword? log file /var/log/zebra/ospfd.log
interface lo
interface eth0
use tap0 for ETHERTAP, wan0 for TUN
interface tap0
interface wan0
ip ospf hello-interval 30 ip ospf dead-interval 120 ip ospf retransmit-interval 15
interface sit0
interface ppp0
router ospf
ospf router-id <eth0 ip address> passive-interface eth0 network <Internal Network Range>/<netmask>1? area <areanum>
area is calculated by the two middle ip components - eg,
for network 10.66.1.0/24
66 and 1 - padding with 0's to three digits each 066001
and dropping leading 0's
network 192.168.0.0/16 area 0
REQUIRED. DO NOT CHANGE
smux peer .1.3.6.1.4.1.3317.1.2.5
not sure if smux is necessary, mine works without it even though I spend hours trying to get it working
smux -- snmp multiplexor, requires snmp running on your server, allows you to query the routing daemon using snmp (I believe)
line vty
allows you to configure ospfd via a telnet connection to localhost on port 2604 (ospfd), requires password set
1? This must be in the form: x.x.x.x/x - e.g. 10.3.1.0/24
No page links to ospfd.conf.