Re: two network cards on a server

2007-04-19 Thread Alex Samad
On Thu, Apr 19, 2007 at 06:12:24PM -0400, Faheem Mitha wrote: > > > On Fri, 20 Apr 2007, Alex Samad wrote: > > >On Thu, Apr 19, 2007 at 05:15:25PM -0400, Roberto C. Sánchez wrote: > >>On Thu, Apr 19, 2007 at 05:06:47PM -0400, Faheem Mitha wrote: > >>> > >>>/sbin/route -n > >>> > >>>Kernel IP rou

Re: two network cards on a server

2007-04-19 Thread Faheem Mitha
On Fri, 20 Apr 2007, Alex Samad wrote: On Thu, Apr 19, 2007 at 05:15:25PM -0400, Roberto C. Sánchez wrote: On Thu, Apr 19, 2007 at 05:06:47PM -0400, Faheem Mitha wrote: /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 152.

Re: two network cards on a server

2007-04-19 Thread Roberto C . Sánchez
On Thu, Apr 19, 2007 at 06:12:24PM -0400, Faheem Mitha wrote: > > On Fri, 20 Apr 2007, Alex Samad wrote: > > > > >have a look for ip (it part of the iproute package) > > > >Usage: ip addr {add|del} IFADDR dev STRING > > ip addr {show|flush} [ dev STRING ] [ scope SCOPE-ID ] > >

Re: two network cards on a server

2007-04-19 Thread Alex Samad
On Thu, Apr 19, 2007 at 05:15:25PM -0400, Roberto C. Sánchez wrote: > On Thu, Apr 19, 2007 at 05:06:47PM -0400, Faheem Mitha wrote: > > > > /sbin/route -n > > > > Kernel IP routing table > > Destination Gateway Genmask Flags Metric RefUse > > Iface > > 152.3.172.0 0.0

Re: two network cards on a server

2007-04-19 Thread Faheem Mitha
On Thu, 19 Apr 2007, Roberto C. Sánchez wrote: On Wed, Apr 18, 2007 at 09:18:10PM -0400, Faheem Mitha wrote: eth0 Link encap:Ethernet HWaddr 00:E0:81:31:33:8C inet addr:152.3.172.111 Bcast:152.3.173.255 Mask:255.255.254.0 eth1 Link encap:Ethernet HWaddr 00:E0:81:31:3

Re: two network cards on a server

2007-04-19 Thread Roberto C . Sánchez
On Thu, Apr 19, 2007 at 05:06:47PM -0400, Faheem Mitha wrote: > > /sbin/route -n > > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse > Iface > 152.3.172.0 0.0.0.0 255.255.254.0 U 0 00 eth1 > 152.3.172.0 0.0.0.0

Re: two network cards on a server

2007-04-19 Thread Roberto C . Sánchez
On Wed, Apr 18, 2007 at 09:18:10PM -0400, Faheem Mitha wrote: > > eth0 Link encap:Ethernet HWaddr 00:E0:81:31:33:8C > inet addr:152.3.172.111 Bcast:152.3.173.255 Mask:255.255.254.0 > > eth1 Link encap:Ethernet HWaddr 00:E0:81:31:33:64 > inet addr:152.3.172.60 Bc

Re: two network cards on a server

2007-04-18 Thread Jeff D
On Wed, 18 Apr 2007, Faheem Mitha wrote: Hi everyone, I've got a server on which there are two network cards. One of the network cards has been configured, and has been running satisfactorily for a while. I recently plugged in the other network card and started using it for a different IP a

Re: two network cards on a server

2007-04-18 Thread Faheem Mitha
On Wed, 18 Apr 2007, Roberto C. Sánchez wrote: On Wed, Apr 18, 2007 at 06:28:29PM -0400, Faheem Mitha wrote: Just to be clear, the interfaces are both of the form 152.3.172.*. If for example they were reconfigured so that one was of the form 152.3.171.* and the other was of the form 152.3.1

Re: two network cards on a server

2007-04-18 Thread Roberto C . Sánchez
On Wed, Apr 18, 2007 at 06:28:29PM -0400, Faheem Mitha wrote: > > Just to be clear, the interfaces are both of the form 152.3.172.*. > > If for example they were reconfigured so that one was of the form > 152.3.171.* and the other was of the form 152.3.172.& (say) then would the > problem just

Re: two network cards on a server

2007-04-18 Thread Jeff D
On Wed, 18 Apr 2007, Faheem Mitha wrote: On Wed, 18 Apr 2007, Roberto C. S?nchez wrote: Well, there is your problem. Having two physical interfaces on the same subnet is generally a bad idea: http://lists.debian.org/debian-user/2007/01/msg01633.html http://lists.debian.org/debian-firewall/

Re: two network cards on a server

2007-04-18 Thread Faheem Mitha
On Wed, 18 Apr 2007, Roberto C. Sánchez wrote: Well, there is your problem. Having two physical interfaces on the same subnet is generally a bad idea: http://lists.debian.org/debian-user/2007/01/msg01633.html http://lists.debian.org/debian-firewall/2005/03/msg00073.html You have to really k

Re: two network cards on a server

2007-04-18 Thread Faheem Mitha
On Wed, 18 Apr 2007, Roberto C. Sánchez wrote: Well, there is your problem. Having two physical interfaces on the same subnet is generally a bad idea: http://lists.debian.org/debian-user/2007/01/msg01633.html http://lists.debian.org/debian-firewall/2005/03/msg00073.html You have to really k

Re: two network cards on a server

2007-04-18 Thread Roberto C . Sánchez
On Wed, Apr 18, 2007 at 05:39:40PM -0400, Faheem Mitha wrote: > > > On Wed, 18 Apr 2007, Roberto C. Sánchez wrote: > > >On Wed, Apr 18, 2007 at 04:20:49PM -0400, Faheem Mitha wrote: > >> > >>Hi everyone, > >> > >>I've got a server on which there are two network cards. One of the network > >>card

Re: two network cards on a server

2007-04-18 Thread Faheem Mitha
On Wed, 18 Apr 2007, Roberto C. Sánchez wrote: On Wed, Apr 18, 2007 at 04:20:49PM -0400, Faheem Mitha wrote: Hi everyone, I've got a server on which there are two network cards. One of the network cards has been configured, and has been running satisfactorily for a while. I recently plugged

Re: two network cards on a server

2007-04-18 Thread Roberto C . Sánchez
On Wed, Apr 18, 2007 at 04:20:49PM -0400, Faheem Mitha wrote: > > Hi everyone, > > I've got a server on which there are two network cards. One of the network > cards has been configured, and has been running satisfactorily for a > while. I recently plugged in the other network card and started

two network cards on a server

2007-04-18 Thread Faheem Mitha
Hi everyone, I've got a server on which there are two network cards. One of the network cards has been configured, and has been running satisfactorily for a while. I recently plugged in the other network card and started using it for a different IP address. However, I've been having persisten