Networking Forums

Networking Forums > Computer Networking > Linux Networking > Odd dual interface issue

Reply
Thread Tools Display Modes

Odd dual interface issue

 
 
Ryan Lovett
Guest
Posts: n/a

 
      10-16-2004, 11:09 PM
Box has eth0 (hostname foo) and eth1 (hostname bar). With eth0 up and eth1
down I can connect to foo fine, however I can't connect to bar. When I raise
the second interface, I can then connect to either foo or bar. This is all
normal. When I then lower the second interface, I can still connect to the
box through either foo or bar. I can actually unplug the wire from eth0 but
the box responds to either hostname via the lowered interface. Why is this
happening and how do I stop it?

Thanks,
Ryan
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      10-17-2004, 06:20 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Ryan Lovett <(E-Mail Removed)>:
> Box has eth0 (hostname foo) and eth1 (hostname bar). With eth0 up and eth1
> down I can connect to foo fine, however I can't connect to bar. When I raise
> the second interface, I can then connect to either foo or bar. This is all
> normal. When I then lower the second interface, I can still connect to the
> box through either foo or bar. I can actually unplug the wire from eth0 but
> the box responds to either hostname via the lowered interface. Why is this
> happening and how do I stop it?


Would you mind showing us the output of '/sbin/ifconfig' and
'netstat -rn' if both devices are up? Sounds as if you had both
devices on the same subnet, you shouldn't unless you are using
the bonding driver.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBcg8ZAkPEju3Se5QRAp/sAKCd9+/wdF5OSSkqtSLU+Pjrp4d+vwCgqU//
N82tR4t3N6WL53ryp79Vmqk=
=9XOa
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Ryan Lovett
Guest
Posts: n/a

 
      10-18-2004, 09:52 PM
Michael Heiming wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NotDashEscaped: You need GnuPG to verify this message
>
> In comp.os.linux.networking Ryan Lovett <(E-Mail Removed)>:
>
>>Box has eth0 (hostname foo) and eth1 (hostname bar). With eth0 up and eth1
>>down I can connect to foo fine, however I can't connect to bar. When I raise
>>the second interface, I can then connect to either foo or bar. This is all
>>normal. When I then lower the second interface, I can still connect to the
>>box through either foo or bar. I can actually unplug the wire from eth0 but
>>the box responds to either hostname via the lowered interface. Why is this
>>happening and how do I stop it?

>
>
> Would you mind showing us the output of '/sbin/ifconfig' and
> 'netstat -rn' if both devices are up? Sounds as if you had both
> devices on the same subnet, you shouldn't unless you are using
> the bonding driver.


Thanks for your reply. I do have both interfaces on the same subnet. I
was trying to setup a virtual server (ipvsadm) so that eth0 is the
interface for the box, and eth1 is the interface for a cluster of
machines on the same subnet the box will send SSH traffic to. Perhaps
this subnet wrinkle was why I wasn't able to get very far with it. Do
you have any recommendations? Also, to me this subnet issue is a little
surprising. Why does Linux behave this way?

Thanks,
Ryan
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable short route via localhost on dual network interface Andreas Wassatsch Linux Networking 2 11-26-2007 05:27 AM
hardware load balancing with dual nics - routing issue? christopher@dailycrossword.com Linux Networking 0 08-15-2007 10:05 PM
RRAS Issue -Dual NIC's eleska Windows Networking 1 06-07-2007 02:52 AM
Dual NICs on Server 2003 issue PGPhantom Windows Networking 8 11-29-2006 10:54 PM
IP Route issue (dual inet connections) Gary Smith Linux Networking 0 08-11-2003 11:01 AM



1 2 3 4 5 6 7 8 9 10 11