[TriLUG] Routing...once again.

Aaron S. Joyner aaron at joyner.ws
Thu Aug 10 13:42:45 EDT 2006


Rick DeNatale wrote:

> 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.
>
Yep, busted.  Hopefully I didn't confuse anyone too bad.  :)

Aaron S. Joyner



More information about the TriLUG mailing list