eth1 breaks eth0





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 ?
.



Relevant Pages

  • [SLE] Suse 7.3 & Win XP; Network Problem
    ... to a cable modem. ... I have just installed eth1 on the Suse box, ... connection. ... I've tried dissabling firewalls on both machines and ...
    (SuSE)
  • Fw: shorewall newbie Revisit: new IP
    ... As suggested, I change the IP for eth1, but unfortunately, still same result, but I hope to get a light this time ... On Policy, I simply put "ALL ALL ACCEPT" just for a starter, to get this shorewall working is my priority ... No connection, only able to ping 10.1.1.4 .... ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (Debian-User)
  • Re: Which Ethernet?
    ... them connects with the dsl modem through pppoe. ... on my machine the dsl modem is connected to eth1. ... since pppoeconf may have added something like ... hinting to eth1 as connection to the dsl modem. ...
    (Ubuntu)
  • Dual Internet Routing Questions
    ... How can I route internet traffic from two separate network connections to my ... I have three network cards installed, eth1 is my ... primary internet connection. ... If a request is made on Eth2 the system currently uses the default gateway ...
    (Fedora)
  • Re: 2nd NIC
    ... probeL IntelPRO/1000 Network Connection ... ifup eth1 returns SIOCSIFADDR: No such device eth1: ERROR while ... Could also be that it is a dhcp issue; ... I have both nics in my server set as fixed IP's. ...
    (Ubuntu)

Quantcast