In addition to the ripd.conf file shown in Listing 7.9, the host needs a zebra.conf file. The zebra.conf file we created for our sample host is shown in Listing 7.10. Listing 7.10: A zebra.conf File for a Linux Host hostname grebe password lOOK!c? log file /var/log/zebra.log ! interface eth0 ip address 172.16.60.2/24 multicast ! This file is simpler than the zebra.conf file shown in Listing 7.5. It defines the hostname used by this host and the path to the log file, but it defines only one vtysh password. This password allows interactive queries of the routing configuration, but it does not allow the configuration to be changed. The interface command in Listing 7.10 defines the interface over which this host listens to RIPv2 updates. The RIPv2 updates that this host uses to build its routing configuration come from the routers on the subnet. In the next section, we look at the sample configuration of such a router. Running ospfd In this section, a router is configured to send RIPv2 packets on one subnet the one that it shares with the sample host configured in Listing 7.9 and OSPF link-state advertisements on another subnet that it shares with other routers. For this configuration, we create a zebra.conf file to configure the routing manager, a ripd.conf file to configure the RIPv2 protocol daemon, and an ospfd.conf file to configure the OSPF protocol daemon. The zebra.conf file is almost identical to the one shown in Listing 7.5. Listing 7.11: A zebra.conf File for a RIP/OSPF Router hostname subnet60gw password Wats?Watt? enable password CHLLlns log file /var/log/zebra.log ! interface eth0 ip address 172.16.60.1/24 multicast ! interface eth1 ip address 172.16.1.9/24 ! The zebra.conf file in Listing 7.11 contains everything that was found in Listing 7.5, except for the static route. All of this was explained earlier, so there is no need to explain it again here. The ripd.conf file used for this configuration is shown in Listing 7.12. Listing 7.12: A ripd.conf File for a RIP/OSPF Router 214
Note: If you are looking for cheap and reliable provider to host and run your servlet application check Vision servlet hosting services