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

Re: 2 ip на одной сетевухе



А не может это быть из-за того, что первый алиас имеет имя интерфейса eth0:1
??? Насколько я помню, первый алиас должен быть eth0:0

Это так, просто мысль...



With best regards
Dmitriy Sirant
___________________________
Welcome to www.paradise.net.ua
----- Original Message -----
From: "Vlad" <coolkot@yandex.ru>
To: <debian-russian@lists.debian.org>
Sent: Thursday, December 05, 2002 6:19 PM
Subject: 2 ip на одной сетевухе


> Здравствуйте, debian-russian.
>
> Пытаюсь сделать сабж.
> У меня есть:
> debian:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:D0:B7:B6:2B:B4
>           inet addr:192.168.0.90  Bcast:192.168.255.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:64 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:6342 (6.1 KiB)  TX bytes:4544 (4.4 KiB)
>           Interrupt:18
>
>
> создаю еще один подинтерфейс:
> debian:~# ifconfig eth0:1 192.168.0.89 netmask 255.255.0.0
> проверяем, создался ли:
> debian:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:D0:B7:B6:2B:B4
>           inet addr:192.168.0.90  Bcast:192.168.255.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:573 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:51898 (50.6 KiB)  TX bytes:30850 (30.1 KiB)
>           Interrupt:18
>
> eth0:1    Link encap:Ethernet  HWaddr 00:D0:B7:B6:2B:B4
>           inet addr:192.168.0.89  Bcast:192.168.0.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           Interrupt:18
>
> с localhost пингуется, снаружи нет... что делать?
>
> --
> С уважением,
>  Vlad                          mailto:coolkot@yandex.ru
>
>
> --
> To UNSUBSCRIBE, email to debian-russian-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: