My guess is that your routing table has changed when you plugged in eth1 -- can you cat your /etc/network/interfaces to us? An allow hotplug line for eth1 would be a red flag.
On Sun, Jan 4, 2009 at 4:41 AM, SPX2 <[email protected]> wrote: > > > > I have a debian install on a machine with 2 eth cards,eth0 and eth1. > eth0 has been configured using pppoeconf for a pppoe connection which > is working fine. > eth1 was meant to be there in order to provide for a nat so that an > internet connection can be provided to another computer also using > debian. > The moment I plug in the cable to eth1 , eth0 stops working. > (Is this caused maybe by hotplug ?) > The goal was to actually get eth1 working also without breaking eth0's > connection and afterwards make a nat using iptables. > The same thing was done using Slackware and netconfig+pppoeconf and > there > were no problems. > The pppoe is up using the pppd service and it was configured using > pppoeconf. > > > I tried to find out the problem by trying to find out which file is > beeing > modified when I plug the cable in eth1 so I did > strace ifconfig eth1 2>&1 | grep open > I got a list of files and I suspect /proc/net/if_inet6 is the file > that ifconfig modifies and reads thata from. > So I decided to do sudo lsof | grep if_inet6 in order to find out > what process uses the hotplug feature to autodetect when I put the > cable > inside eth1. > Unfortunately I find no process that did this. > > What should I do so that the internet connection doesn't drop when I > plug in the cable for eth1 ? > > > -- Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
