Originally Posted by
ATW72
root@pbx:~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
The only thing that I see different from my setups is that the metric for the gateway is not higher than the metric for the LANs.
Also, it would be helpful if you wrapped column data in a code-not-code so we can more easily read the results.
Code:
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default rt1 0.0.0.0 UG 100 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
See how much easier this is to read?
Code:
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr1
172.20.1.0 0.0.0.0 255.255.255.0 U 0 0 0 bus0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 or0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 or0
0.0.0.0 172.20.1.1 0.0.0.0 UG 100 0 0 bus0
And this?
Bookmarks