Hi everybody. I am new to Network programming, i need some help :)

I have 4 "Intel Corporation 82574L Gigabit Network Connection" ethernet adapters on sandy bridge system. I'm using Linux kernel 2.6.35.10. While i'm passing traffic from iperf software on any of ethX port and disconnect ethernet cable of ethX port i get "e1000e 0000:02:00.0: ethX: Reset adapter" message on my terminal. Also, in the dmesg i found these errors..

ACPI Error (dsfield-0143): [CAPB] Namespace lookup failure, AE_ALREADY_EXISTS
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0._OSC] (Node ffff88003f025710), AE_ALREADY_EXISTS
ACPI: Marking method _OSC as Serialized because of AE_ALREADY_EXISTS error


Please help me to know what the problem is??

You get errors when you disconnect your cable from an active NIC. What is not to understand? Why the specific error messages are occurring, or that you are getting errors at all?

i have my eth0 connected to LAN network. eth1 connected to WAN network. when i disconnect my eth1 ethernet cable while passing traffic through it, i'm not able to access my LAN network and in the terminal i get "e1000e 0000:02:00.0: eth1: Reset adapter" message. When i reboot my system then only i can access my LAN again.

What is the output of the "route" command, when both NIC's are connected and running?

Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 10.2.0.1 255.255.255.0 UG 2 0 0 eth0
10.2.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
53.63.73.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
169.254.0.0 0.0.0.0 255.255.255.0 U 0 0 0 dummy0
51.61.71.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
52.62.72.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
0.0.0.0 53.63.73.1 0.0.0.0 UG 1 0 0 eth3
0.0.0.0 52.62.72.1 0.0.0.0 UG 1 0 0 eth2
0.0.0.0 51.61.71.1 0.0.0.0 UG 1 0 0 eth1

Is this the route information from before, after, or both before and after you disconnect the nic? Also, I notice there is no link-local destination (IE, localhost, 127.0.0.1 the local loopback IP address). And what are the IP addresses of your 4 network ports, as well as your router(s) and internet gateway(s).

Finally, are you using iptables for routing? If so, what is its configuration?

This is the information after i disconnect the eth1 cable. Lan ip(eth 0): 10.2.0.169;
WAN1(eth1): 51.61.71.2; Router ip: 51.61.71.1

I'm passing traffic from 10.2.0.109, gw: 10.2.0.169. creating iperf server in 51.61.71.1

I'm not using any ip tables.

Please post the output of route and ifconfig both before and after the disconnect, please, and all of the NICs' IP addresses - I assume they are all static? The router 51.61.71.1 is also the gateway, correct?

ifconfig is same before and after the disconnect

dummy0 Link encap:Ethernet HWaddr BA:32:F1:4A:79:6F
inet addr:169.254.0.254 Bcast:169.254.0.255 Mask:255.255.255.0
inet6 addr: fe80::b832:f1ff:fe4a:796f/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth0 Link encap:Ethernet HWaddr 00:25:90:24:1F:76
inet6 addr: fe80::225:90ff:fe24:1f76/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:210459 errors:0 dropped:0 overruns:0 frame:0
TX packets:6131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30205068 (28.8 Mb) TX bytes:1540757 (1.4 Mb)
Interrupt:16 Memory:fbc00000-fbc20000

eth0:0 Link encap:Ethernet HWaddr 00:25:90:24:1F:76
inet addr:10.2.0.169 Bcast:10.2.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
Interrupt:16 Memory:fbc00000-fbc20000

eth0:1 Link encap:Ethernet HWaddr 00:25:90:24:1F:76
inet addr:172.16.20.1 Bcast:172.16.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
Interrupt:16 Memory:fbc00000-fbc20000

eth1 Link encap:Ethernet HWaddr 00:25:90:24:1F:77
inet addr:51.61.71.2 Bcast:51.61.71.255 Mask:255.255.255.0
UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Memory:fbb00000-fbb20000

eth2 Link encap:Ethernet HWaddr 00:25:90:24:1F:78
inet addr:52.62.72.2 Bcast:52.62.72.255 Mask:255.255.255.0
UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Memory:fba00000-fba20000

eth3 Link encap:Ethernet HWaddr 00:25:90:24:1F:79
inet addr:53.63.73.2 Bcast:53.63.73.255 Mask:255.255.255.0
UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Memory:fb900000-fb920000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING PROMISC MTU:16436 Metric:1
RX packets:1587 errors:0 dropped:0 overruns:0 frame:0
TX packets:1587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:124537 (121.6 Kb) TX bytes:124537 (121.6 Kb)

The router again is not connected to internet. Just to create WAN setup i'm using it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.