12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10}interface fxp0{auth-key "tHeKeY"auth-type simple}interface fxp1{hello-interval 5}interface bge0{passive}This sample configuration shows a router, which has three network interfaces.The router-id for this router is manually set to 10.0.0.1. If it is not set, theOpenOSPFD will take the lowest IP address assigned to your interfaces to be therouter-id. This router also redistributes (announces) the routes for the directlyconnected networks over OSPF, to other routers (note the redistribute statement).Each of the three interfaces is configured differently. The first interface, fxp0, isconfigured with the OSPF authentication. The fxp1 interface has no authenticationbut is configured to transmit hello packets every five seconds instead of the default,ten seconds, for faster convergence at the cost of more network overhead. And thelast interface, bge0, is set to passive mode in which, the OSPF hello packets arenot transmitted over this interface, and the network connected to this interface isadvertised as a stub network over the OSPF protocol.When you have configured your OpenOSPFD preferences, you should start thedaemon by enabling the appropriate variable in the /etc/rc.conf file,first:openospfd_enable="YES"And then run the rc script, manually:# /usr/local/etc/rc.d/openospfd startOnce the daemon is started, you can control the behavior of OSPF daemon using theospfctl(8) utility.[ 165 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!