Wed 18 Oct 2006
! Enable RIPV2 ! Advertise routes learned from OSPF with a cost of 5 ! Use simple authentication for updates password RIPItup enable password RaceitUP ! interface eth0 ip rip authentication string EZdozIt ! router rip redistribute ospf metric 5 network eth0 ! This configuration is very similar to the ripd.conf file shown in Listing 7.9, but there are differences. First, we have placed the passwords in this file so that the RIP router configuration can be maintained through the vtysh interface. Second, because this is a router, it sends routing updates. Therefore, we use a network clause under the router rip statement to specify the network on which routing updates will be distributed. As described earlier, the network can be defined by an interface name or by an IP address. In Listing 7.12, it is defined by an interface name. The third difference is that this configuration contains a redistribute clause, which defines whether routes learned from OSPF will be advertised to RIP neighbors and what RIP cost will be assigned to those routes. Routes learned from OSPF do not have a valid RIP cost. The metric defined on the redistribute clause is used as a default metric when OSPF routes are advertised to RIP neighbors. The redistribute clause in Listing 7.12 tells RIP to advertise routes learned from OSPF with a cost of 5. Of course, for RIP to learn routes from OSPF, ospfd must be properly configured. Listing 7.13 shows a possible ospfd.conf configuration for this router. Listing 7.13: A Sample ospfd.conf File ! Enable OSPF; connect to the backbone area ! Use simple authentication password Mutt-N-Jeff enable password SURtest ! interface eth1 ip ospf authentication-key UTrustME ip ospf priority 5 ! router ospf ospf router-id 172.16.1.9 network 172.16.1.0/24 area 0 ! The interface statement sets two OSPF parameters. The ip ospf authentication-key clause defines the clear text string used to identify valid OSPF advertisements. Like the clear text string used for RIPv2 authentication, this string is intended to prevent accidental updates from misconfigured systems; it is not intended to provide real security. OSPF supports MD5 for stronger authentication. The ip ospf priority clause defines the priority number this system uses when the area elects a designated router. In Listing 7.13, the priority number is set to 5 possible values are 0 to 255. The 215
Note: If you are looking for cheap and reliable provider to host and run your servlet application check Vision servlet hosting services