I have an older P4 computer that I've built to essentially be a router/server. It has one built in gigabit Intel ethernet connection I've designated "WAN" that runs at 100 mbps connecting to a modem through DHCP. I recently purchased 4 cheap Bytecc PCI gigabit ethernet cards with the model number: "BT-PIGL", and installed them into the machine. They show up as "RTL-8169 Gigabit Ethernet" through "lshw -c network", so I found the correct Realtek drivers, uninstalled the old drivers, and installed the new drivers. I then set up all 4 cards (eth0-3) into a bridge (I installed "bridge-utils" and named it "LAN") with IP forwarding/masquerading to "WAN", and a DHCP server set to broadcast over the "LAN" bridge connection.
These cards only get 100 mbps, on 3 different windows 7 computers all with gigabit cards. I tried using a crossover cable with no improvement. I've tried using ethtool to force gigabit speeds on one of these cards, and when I connect with my windows 7 computer to that card it no longer works! No lights, no activity, no nothing.. What am I doing wrong???
nano /etc/rc.local
Code:
GNU nano 2.2.6 File: /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables -A FORWARD -i LAN -j ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o WAN -j MASQUERADE
exit 0
nano /etc/udev/rules.d/70-persistent-net.rules
Code:
GNU nano 2.2.6 File: /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:03.0/0000:02:01.0 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:f1:ad:cf:15", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="WAN"
# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1e.0/0000:03:03.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:a1:b0:69:49:da", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1e.0/0000:03:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:a1:b0:69:53:66", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1e.0/0000:03:02.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:a1:b0:69:45:cd", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:a1:b0:69:2b:9b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
nano /etc/network/interfaces
Code:
GNU nano 2.2.6 File: /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto WAN
iface WAN inet dhcp
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
auto LAN
iface LAN inet static
address 1.1.1.1
network 1.1.1.0
netmask 255.255.255.0
broadcast 1.1.1.255
bridge_ports eth0 eth1 eth2 eth3
ifconfig -a
Code:
LAN Link encap:Ethernet HWaddr 00:a1:b0:69:2b:9b
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::2a1:b0ff:fe69:2b9b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:181904359 errors:0 dropped:0 overruns:0 frame:0
TX packets:97819813 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:254945992983 (254.9 GB) TX bytes:23196882398 (23.1 GB)
WAN Link encap:Ethernet HWaddr 00:0c:f1:ad:cf:15
inet addr:192.168.0.122 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:f1ff:fead:cf15/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17472793 errors:0 dropped:0 overruns:0 frame:0
TX packets:18923758 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2353637537 (2.3 GB) TX bytes:3603597619 (3.6 GB)
eth0 Link encap:Ethernet HWaddr 00:a1:b0:69:49:da
inet6 addr: fe80::2a1:b0ff:fe69:49da/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3775 errors:0 dropped:0 overruns:0 frame:0
TX packets:5097 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:893906 (893.9 KB) TX bytes:1863843 (1.8 MB)
eth1 Link encap:Ethernet HWaddr 00:a1:b0:69:53:66
UP BROADCAST 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)
eth2 Link encap:Ethernet HWaddr 00:a1:b0:69:45:cd
inet6 addr: fe80::2a1:b0ff:fe69:45cd/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:110991 errors:0 dropped:0 overruns:0 frame:0
TX packets:106332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11960562 (11.9 MB) TX bytes:27129731 (27.1 MB)
eth3 Link encap:Ethernet HWaddr 00:a1:b0:69:2b:9b
inet6 addr: fe80::2a1:b0ff:fe69:2b9b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5719 errors:0 dropped:0 overruns:0 frame:0
TX packets:8563 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:880048 (880.0 KB) TX bytes:9189249 (9.1 MB)
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 MTU:16436 Metric:1
RX packets:8396 errors:0 dropped:0 overruns:0 frame:0
TX packets:8396 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:705165 (705.1 KB) TX bytes:705165 (705.1 KB)
lshw -c network
Code:
*-network
description: Ethernet interface
product: 82547EI Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:02:01.0
logical name: WAN
version: 00
serial: 00:0c:f1:ad:cf:15
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=192.168.0.122 latency=0 link=yes mingnt=255 multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:18 memory:fe000000-fe01ffff ioport:ac00(size=32)
*-network:0
description: Ethernet interface
product: RTL-8169 Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth1
version: 10
serial: 00:a1:b0:69:53:66
size: 10Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
resources: irq:21 ioport:b800(size=256) memory:fe181000-fe1810ff memory:fe100000-fe11ffff
*-network:1
description: Ethernet interface
product: RTL-8169 Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:03:01.0
logical name: eth3
version: 10
serial: 00:a1:b0:69:2b:9b
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
resources: irq:22 ioport:b400(size=256) memory:fe181400-fe1814ff memory:fe120000-fe13ffff
*-network:2
description: Ethernet interface
product: RTL-8169 Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 2
bus info: pci@0000:03:02.0
logical name: eth2
version: 10
serial: 00:a1:b0:69:45:cd
size: 10Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
resources: irq:17 ioport:b000(size=256) memory:fe181800-fe1818ff memory:fe140000-fe15ffff
*-network:3
description: Ethernet interface
product: RTL-8169 Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 3
bus info: pci@0000:03:03.0
logical name: eth0
version: 10
serial: 00:a1:b0:69:49:da
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
resources: irq:19 ioport:bc00(size=256) memory:fe181c00-fe181cff memory:fe160000-fe17ffff
Bookmarks