Installing and Administering Internet Services

300 Chapter 8
Configuring gated
Troubleshooting gated
Broadcast Address: 15.13.119.255
Subnet Number: 15.13.112 Subnet Mask: 255.255.248
lan2 Index 3 Address 802.2 8:0:9:3d:2c:b1 Change: <> State: <>
Refcount: 2 Up-down transitions: 0
198.1.1.17
Metric: 0 MTU: 1436
Refcount: 4 Preference: 0 Down: 120
Change: <> State: <Up Broadcast Multicast>
Broadcast Address: 198.1.1.255
Subnet Number: 198.1.1 Subnet Mask: 255.255.255
lan1 Index 4 Address 802.2 8:0:9:3d:3c:69 Change: <> State: <>
Refcount: 2 Up-down transitions: 0
198.2.1.40
Metric: 0 MTU: 1436
Refcount: 4 Preference: 0 Down: 120
Change: <> State: <Up Broadcast Multicast NoAge>
Broadcast Address: 198.2.1.255
Subnet Number: 198.2.1 Subnet Mask: 255.255.255
Interface policy:
Interface lan0 lan1 lan3 passive
Note that the state recorded in lan2 does not contain the “NoAge” flag
because the interface was not set to “passive” in the interface policy
statement.
A common mistake is to expect gated to always send out RIP packets
when you specify rip yes in a configuration file. gated will be an active
RIP participant only if the host is a router (the host has more than one
network interface).
Problem 2: gated deletes routes from the routing table
gated maintains a complete routing table in user space, and keeps the
kernel routing table synchronized with its table. When gated starts, it
reads the entries in the kernel routing table. However, if gated does not
get confirmation from its routing protocols (RIP, OSPF, etc.) about a
route, it will delete the route from its tables and the kernel routing table.
It is common to see gated delete the default route that many people
configure in the /etc/rc.config.d/netconf file. To solve this
problem, configure a static default route as described in the section
“Installing Static Routes” on page 285.