route (is it forwarding packets?)

Jeff Vian jvian10 at charter.net
Wed Aug 25 00:31:48 UTC 2004


On Tue, 2004-08-24 at 07:25, Chadley Wilson wrote:
> Greetings Guys,
> 
> I am trying to understand this but I am confused! :=\
> Is this table forwarding packets from one iface to the other?
> 
> [root at chadlin root]# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.10.0    *               255.255.255.0   U     0      0    0 eth0
> 196.25.100.0    *               255.255.255.0   U     0      0    0 eth1
> 127.0.0.0       *               255.0.0.0       U     0      0    0 lo
> default         *               0.0.0.0         U     0      0    0 eth0
> [root at chadlin root]# 
> 
> 

>From this table it appears you have no default gateway set. (or at least
the table is not displaying that correctly)

Everytime I look at a routing table with a default gateway I see it this
way:
[jeff at goliath jeff]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.2.0     *               255.255.255.0   U     0      0        0
eth0
169.254.0.0     *               255.255.0.0     U     0      0        0
eth0
default         192.168.2.15    0.0.0.0         UG    0      0        0
eth0
[jeff at goliath jeff]$

Note the flag of UG on the default gateway, and the IP address in the
gateway column for that entry.

With no default route your machine likely cannot talk to anything except
hosts on the 2 local subnets.





More information about the fedora-list mailing list