[TriLUG] Routing...once again.

Rick DeNatale rick.denatale at gmail.com
Thu Aug 10 11:44:18 EDT 2006


On 8/9/06, Aaron S. Joyner <aaron at joyner.ws> wrote:

> asjoyner at bob:~$ netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> 1.1.1.0         0.0.0.0         255.255.255.0   U         0 0          0
> eth0
> 2.2.2.0         0.0.0.0         255.255.255.0   U         0 0          0
> eth1
> 0.0.0.0         1.1.1.254       0.0.0.0         UG        0 0          0
> eth0
>
> When you address a packet to 2.2.2.10, that Linux box will look at your
> routing table, and choose the network with the best match for that
> packet, which is 1.1.1.0 with a mask of 255.255.255.0.

Teacher, teacher?

Did you really mean "which is 2.2.2.0 with a mask of 255.255.255.0"?
Or am I missing something subtle?

I know less than enough about network routing to be dangerous.

-- 
Rick DeNatale

IPMS/USA Region 12 Coordinator
http://ipmsr12.denhaven2.com/

Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/



More information about the TriLUG mailing list