From: "Kharitonov A. Dmitriy" <kharpost@rambler.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Несколько сетевых плат
Date: Wed, 21 May 2008 13:00:32 +0400
Message-ID: <1307998688.20080521130032@rambler.ru> (raw)
In-Reply-To: <20080520201631.GD31307@lks.home>
>> Поделитесь опытом, как настроить два сетевых адаптера 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.
next prev parent reply other threads:[~2008-05-21 9:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-20 19:57 Kharitonov A. Dmitry
2008-05-20 20:06 ` Motsyo Gennadi aka Drool
2008-05-20 20:16 ` Konstantin A. Lepikhov
2008-05-21 9:00 ` Kharitonov A. Dmitriy [this message]
2008-05-21 9:08 ` Sergey
2008-05-21 12:22 ` Kharitonov A. Dmitriy
2008-05-21 12:24 ` Kharitonov A. Dmitriy
2008-05-21 12:27 ` Kharitonov A. Dmitriy
2008-05-21 12:29 ` Kharitonov A. Dmitriy
2008-05-21 13:07 ` Sergey
2008-05-21 7:23 ` Владимир Кутявин
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1307998688.20080521130032@rambler.ru \
--to=kharpost@rambler.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git