Configuring gated
Troubleshooting gated
lan2 | Index 3 Address | 802.2 8:0:9:3d:2c:b1 | Change: <> |
State: <> |
|
| |
| Refcount: 2 | 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: 2 | |||
55.255.255 |
|
|
|
| |
lan1 | Index 4 Address | 802.2 8:0:9:3d:3c:69 | Change: <> | ||
State: <> |
|
|
|
| |
| Refcount: 2 |
| |||
| 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: 2 | |||
55.255.255 |
|
|
|
|
Interface policy:
Interface lan0 lan1 lan3 passive
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 (that is, when 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 synchronizes this table with the kernel routing 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, and so on) about a route, it deletes the route from its tables and from the kernel routing table.
106 | Chapter 3 |