On 8/9/06, Aaron S. Joyner <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED]:~$ 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/ -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
