[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Как такое понимать? Сетевая карта



Когда на сервере два интерфейса из одной сети, можно получить
куда более забавные эффекты ;-)

On 10/21/06, Никита <linux@neryungri.ru> wrote:
Dmitry Nezhevenko пишет:
> On Sat, Oct 21, 2006 at 05:18:00PM +1000, Никита wrote:
>> На сервере есть две сетевые карты,
>> встроенная и pci, вторая как буд-то не
>> работает, все летит через первую.
>
> Покажи route и ip addr
>
$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.250.0   192.168.0.3     255.255.255.0   UG    0      0        0 eth0
192.168.251.0   192.168.0.3     255.255.255.0   UG    0      0        0 eth0
192.168.254.0   192.168.0.3     255.255.255.0   UG    0      0        0 eth0
localnet        *               255.255.224.0   U     0      0        0 eth0
localnet        *               255.255.224.0   U     0      0        0 eth1
default         192.168.0.3     0.0.0.0         UG    0      0        0 eth0

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:15:F2:38:85:8C
           inet addr:192.168.2.2  Bcast:192.168.31.255  Mask:255.255.224.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1931164595 errors:0 dropped:2651912480 overruns:0 frame:0
           TX packets:2453163739 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:3119229509 (2.9 GiB)  TX bytes:1747866788 (1.6 GiB)
           Base address:0xa400 Memory:d9000000-d9020000

eth1      Link encap:Ethernet  HWaddr 00:15:E9:EF:40:F0
           inet addr:192.168.2.3  Bcast:192.168.31.255  Mask:255.255.224.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:417980814 errors:0 dropped:125941200 overruns:0 frame:0
           TX packets:1869 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:1414325479 (1.3 GiB)  TX bytes:561755 (548.5 KiB)
           Interrupt:217 Base address:0xe000


--
To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
С уважением,
Константин Матюхин

Reply to: