Re: [Hampshire] Re: Which NIC is which?

Top Page

Reply to this message
Author: Mike Burrows
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] Re: Which NIC is which?
On Sat, 2007-04-07 at 23:10 +0100, Vic wrote:
> > The sarge box will access the net via the router so long as eth1 is
> > down. However, when I bring eth1 up the box loses www connectivity.
>
> This usually means that bringing eth1 up changes your default route. If it
> does - you won't have access to networks outside your own LAN...
>
> Run "route -n" before & after bringing that interface up, and tell us if
> your default route changes.
>
> Vic.
>
>

This is the output of route with both IF's up:

marvin:/home/testermike# route -n
Kernel IP routing table
Destination     Gateway    Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0    255.255.255.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0    255.255.255.0   U     0      0        0 eth1
0.0.0.0         10.0.0.2   0.0.0.0         UG    0      0        0 eth0
marvin:/home/testermike# route
Kernel IP routing table
Destination     Gateway    Genmask         Flags Metric Ref    Use Iface
10.0.0.0        *          255.255.255.0   U     0      0        0 eth0
192.168.1.0     *          255.255.255.0   U     0      0        0 eth1
default         10.0.0.2   0.0.0.0         UG    0      0        0 eth0
marvin:/home/testermike#