Verifying the configuration
After enabling IRDP on Host A and Host B, display the routing table for the hosts (Host A for example).
[HostA@localhost ~]$ netstat -rne
Kernel IP routing table
Destination
10.154.5.0
192.168.1.0
192.168.2.0
0.0.0.0
The output shows that the default route on Host A points to IP address 10.154.5.1, and Host A has routes
to 192.168.1.0/24 and 192.168.2.0/24.
Gateway
Genmask
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
10.154.5.1
0.0.0.0
Flags Metric Ref
U
0
U
0
U
0
UG
0
104
Use Iface
0
0 eth1
0
0 eth1
0
0 eth1
0
0 eth1