I'm having a problem with ifupdown and /etc/network/interfaces. (the default networking core for Debian?)
Specifically, I cannot have two Internet routed interfaces working properly at the same time. Whichever is the last connection to be brought up is the one that works, while the first connection cannot communicate outside of its local network. I have attached: 1) A log giving an example of the issue, with some helpful markers so the deluge of text doesn't confuse. 2) My /etc/network/interfaces file. Hopefully someone can correct me in my usage. In my current problem, eth0 is assigned to "shadowpimps" and eth1 is assigned to "away". I'm not on the debian-users list, so please CC me in any response. I do watch the archives, though. Thanks is advance for any help! Scott. -- http://quadhome.com/ - Personal webpage
tara:~# ifdown eth0 ifdown: interface eth0 not configured tara:~# ifdown eth1 ifdown: interface eth1 not configured - Both interfaces are down. tara:~# ifup eth0 Link beat detection (mii) failed: Operation not supported SIOCGMIIPHY failed 3 candidate profiles Starting network scan subsystem Sending 10 ARP probes, 1 every second... Sending 10 ARP probes, 1 every second... tara:~# ping -I eth0 -c 5 216.239.39.99 PING 216.239.39.99 (216.239.39.99) from 12.150.75.111 eth0: 56(84) bytes of data. 64 bytes from 216.239.39.99: icmp_seq=1 ttl=239 time=742 ms 64 bytes from 216.239.39.99: icmp_seq=2 ttl=239 time=726 ms 64 bytes from 216.239.39.99: icmp_seq=3 ttl=239 time=730 ms 64 bytes from 216.239.39.99: icmp_seq=5 ttl=239 time=791 ms --- 216.239.39.99 ping statistics --- 5 packets transmitted, 4 received, 20% packet loss, time 3999ms rtt min/avg/max/mdev = 726.636/747.686/791.114/25.814 ms - Pinging Google works off eth0. tara:~# ifdown eth0 tara:~# ifup eth1 3 candidate profiles Starting network scan subsystem Sending 10 ARP probes, 1 every second... Sending 10 ARP probes, 1 every second... Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html sit0: unknown hardware address type 776 sit0: unknown hardware address type 776 Listening on LPF/eth1/00:01:03:d3:ad:58 Sending on LPF/eth1/00:01:03:d3:ad:58 Sending on Socket/fallback/fallback-net DHCPREQUEST on eth1 to 255.255.255.255 port 67 DHCPACK from 10.0.0.1 bound to 10.0.0.158 -- renewal in 21600 seconds. tara:~# ping -I eth1 -c 5 216.239.39.99 PING 216.239.39.99 (216.239.39.99) from 10.0.0.158 eth1: 56(84) bytes of data. 64 bytes from 216.239.39.99: icmp_seq=1 ttl=238 time=228 ms 64 bytes from 216.239.39.99: icmp_seq=2 ttl=238 time=239 ms 64 bytes from 216.239.39.99: icmp_seq=4 ttl=238 time=218 ms 64 bytes from 216.239.39.99: icmp_seq=5 ttl=238 time=216 ms --- 216.239.39.99 ping statistics --- 5 packets transmitted, 4 received, 20% packet loss, time 4002ms rtt min/avg/max/mdev = 216.247/225.587/239.237/9.051 ms - Pinging Google works off eth1. tara:~# ifdown eth1 tara:~# ifup eth0 Link beat detection (mii) failed: Operation not supported SIOCGMIIPHY failed 3 candidate profiles Starting network scan subsystem Sending 10 ARP probes, 1 every second... Sending 10 ARP probes, 1 every second... tara:~# ifup eth1 3 candidate profiles Starting network scan subsystem Sending 10 ARP probes, 1 every second... Sending 10 ARP probes, 1 every second... Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html sit0: unknown hardware address type 776 sit0: unknown hardware address type 776 Listening on LPF/eth1/00:01:03:d3:ad:58 Sending on LPF/eth1/00:01:03:d3:ad:58 Sending on Socket/fallback/fallback-net DHCPREQUEST on eth1 to 255.255.255.255 port 67 DHCPACK from 10.0.0.1 bound to 10.0.0.158 -- renewal in 21600 seconds. - Both interfaces are now up. (1:eth0, 2:eth1) tara:~# ping -I eth0 -c 5 216.239.39.99 PING 216.239.39.99 (216.239.39.99) from 12.150.75.111 eth0: 56(84) bytes of data. --- 216.239.39.99 ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 3998ms tara:~# ping -I eth1 -c 5 216.239.39.99 PING 216.239.39.99 (216.239.39.99) from 10.0.0.158 eth1: 56(84) bytes of data. 64 bytes from 216.239.39.99: icmp_seq=1 ttl=238 time=235 ms 64 bytes from 216.239.39.99: icmp_seq=2 ttl=238 time=230 ms 64 bytes from 216.239.39.99: icmp_seq=3 ttl=238 time=242 ms 64 bytes from 216.239.39.99: icmp_seq=4 ttl=238 time=206 ms 64 bytes from 216.239.39.99: icmp_seq=5 ttl=238 time=213 ms --- 216.239.39.99 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3999ms rtt min/avg/max/mdev = 206.266/225.592/242.370/13.644 ms - Pinging Google works off eth1 ONLY. tara:~# ifdown eth0 tara:~# ifdown eth1 tara:~# ifup eth1 3 candidate profiles Starting network scan subsystem Sending 10 ARP probes, 1 every second... Sending 10 ARP probes, 1 every second... ifup eInternet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html sit0: unknown hardware address type 776 th0sit0: unknown hardware address type 776 Listening on LPF/eth1/00:01:03:d3:ad:58 Sending on LPF/eth1/00:01:03:d3:ad:58 Sending on Socket/fallback/fallback-net DHCPREQUEST on eth1 to 255.255.255.255 port 67 DHCPACK from 10.0.0.1 bound to 10.0.0.158 -- renewal in 21600 seconds. tara:~# ifup eth0 Link beat detection (mii) failed: Operation not supported SIOCGMIIPHY failed 3 candidate profiles Starting network scan subsystem Sending 10 ARP probes, 1 every second... Sending 10 ARP probes, 1 every second... - Both interfaces are now up. (1:eth1, 2:eth0) tara:~# ping -I eth0 -c 5 216.239.39.99 PING 216.239.39.99 (216.239.39.99) from 12.150.75.111 eth0: 56(84) bytes of data. 64 bytes from 216.239.39.99: icmp_seq=1 ttl=239 time=565 ms 64 bytes from 216.239.39.99: icmp_seq=2 ttl=239 time=709 ms 64 bytes from 216.239.39.99: icmp_seq=5 ttl=239 time=545 ms --- 216.239.39.99 ping statistics --- 5 packets transmitted, 3 received, 40% packet loss, time 4001ms rtt min/avg/max/mdev = 545.987/607.255/709.936/73.062 ms tara:~# ping -I eth1 -c 5 216.239.39.99 PING 216.239.39.99 (216.239.39.99) from 10.0.0.158 eth1: 56(84) bytes of data. --- 216.239.39.99 ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 3999ms - Pinging Google works off eth0 ONLY.
auto lo eth0 eth1 iface lo inet loopback mapping eth0 script /usr/sbin/guessnet-ifupdown map default: away map timeout: 3 map verbose: true mapping eth1 script /usr/sbin/guessnet-ifupdown map default: away map timeout: 3 map verbose: true # Automatic DHCP. iface away inet dhcp hostname tara # tara.shadowpimps.net iface shadowpimps inet static address 12.150.75.111 netmask 255.255.255.0 gateway 12.150.75.1 #gateway 64.126.160.1 dns-nameservers 207.141.24.1 207.141.24.2 dns-search shadowpimps.net test-peer address 12.150.75.1 mac 00:02:16:3C:97:00 source 12.150.75.111 # tara.mvdomain iface tranzoa inet static address 10.1.1.66 netmask 255.0.0.0 gateway 10.0.0.1 dns-nameservers 10.1.1.1 dns-search mvdomain test1-peer address 10.1.1.40 mac 00:A0:CC:D4:40:B7 #test2-peer address 10.0.0.1 mac 00:0D:88:83:D0:03 # disabled iface disconnected inet static address 192.168.1.2 netmask 255.255.255.0 test missing-cable
signature.asc
Description: Digital signature