Thu 19 Oct 2006
The definition statements define invalid destination addresses, the autonomous system number for exterior routing protocols, and the router IP address for BGP and OSPF. You’ll see some examples of definition statements later. The interface statements are used to define the characteristics of your router’s network interfaces. You will see this statement in our sample configuration. The protocol statements are the heart of the gated.conf file. Every routing protocol available in gated has a protocol statement. Use the protocol statement to configure the routing protocol for your network. gated is a complex system that can handle many different routing configurations. The configuration language has a multitude of options. Details of the language are covered in the online manual at http://www.gated.org/ and in printed form in TCP/IP Network Administration, by Craig Hunt (O’Reilly, 2002). Routers running on Linux systems, however, usually don’t require all of these configuration options. The best way to understand the gated configuration commands is to look at a few reasonable Linux configurations. Running RIPv2 with gated gated can be used to configure a host to listen to RIPv2 router updates. This configuration performs the same function as the ripd configuration shown in Listing 7.9. Listing 7.15 is a possible gated configuration for this situation. Listing 7.15: A gated RIPv2 Configuration # enable rip, don’t broadcast updates, # listen for RIP-2 updates on the multicast address, # check that the updates are authentic. # rip yes { nobroadcast ; interface 172.16.60.2 version 2 multicast authentication simple “EZdozIt” ; } ; The comments at the beginning of the configuration file help to explain the configuration. Other than these comments, the entire file is one protocol statement. All of the lines enclosed inside the curly braces ({}) are part of the RIP protocol statement. The statement begins with rip yes, which enables the RIP protocol. The nobroadcast clause tells the system not to send RIP update packets; it will just listen to the packets provided by the routers. If your system is a router instead of a host, delete this clause and it will send updates. The interface clause defines the interface the routing protocol should use and the characteristics of the interface. In this case, the interface is identified by its IP address. Hosts have only one interface. If this were a router that ran RIPv2 on all interfaces, you could provide a comma-separated list of all interface IP addresses or the keyword all to indicate that all interfaces should be used. The interface clause also contains some parameters that are specific to RIPv2. The parameter 221
Note: If you are looking for cheapest and affordable webspace to host and run your servlet application check Astra servlet hosting services