[Sysadmins] Несколько сетевых плат
Kharitonov A. Dmitriy
=?iso-8859-1?q?kharpost_=CE=C1_rambler=2Eru?=
Ср Май 21 13:00:32 MSD 2008
>> Поделитесь опытом, как настроить два сетевых адаптера realtek?
> Какой из сетевых адаптеров realtek вы хотите настроить?
Две сетевухи Realtek 8029AS
Как не кручу - в ifconfige видны обе, прерывания и базовый адрес
разные, ip прописываются как надо, одна карточка работает хорошо,
другая не работает.
[user на server ~]$ [user на server ~]$ sudo ifconfig -a
Password:
lan Link encap:Ethernet HWaddr 00:00:01:01:37:BC
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)
Interrupt:12 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1404 (1.3 KiB) TX bytes:1404 (1.3 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
-bash: [user на server: command not found
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)
wan Link encap:Ethernet HWaddr 00:E0:7D:99:A8:B3
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:140 errors:0 dropped:0 overruns:0 frame:0
TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
[user на server ~]$ sudo ethtool -i lan
driver: ne2k-pci
version: 1.03
firmware-version:
bus-info: 0000:00:0a.0
[user на server ~]$ sudo ethtool -i wan
driver: ne2k-pci
version: 1.03
firmware-version:
bus-info: 0000:00:09.0
[user на server ~]$ cat /etc/iftab
wan businfo 0000:00:09.0
lan businfo 0000:00:0a.0
[user на server ~]$ cat /etc/net/iftab
wan businfo 0000:00:09.0
lan businfo 0000:00:0a.0
[user на server ~]$ sudo service network restart
Computing interface groups: ..ERROR: /etc/init.d/network: unknown interface group for iface 'venet0' of type 'venet'
. 3 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (2 interfaces)
Stopping eth1: OK
Stopping wan: ...OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
error: "net.ipv4.ip.dynaddr" is an unknown key
error: "net.ipv4.conf.eth0.send_redirects" is an unknown key
Computing interface groups: ..ERROR: /etc/init.d/network: unknown interface group for iface 'venet0' of type 'venet'
. 3 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: .....OK
Starting group 1/realphys (2 interfaces)
Starting eth1: SIOCGIFFLAGS: No such device
!FAILED
Starting wan: ........OK
Processing /etc/net/vlantab: empty.
Подробная информация о списке рассылки Sysadmins