ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] IP алиас на интерфейс?
@ 2003-11-12 10:26 Slava Dubrovskiy
  2003-11-12 10:30 ` Leonid B. Sysoletin
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Slava Dubrovskiy @ 2003-11-12 10:26 UTC (permalink / raw)
  To: Community

Hello community!

Подскажите, что я делаю не правильно. Хочу сделать чтобы интерфейс eth0 
имел два IP адреса. Имею вот такой файл
ifcfg-eth0:

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.1.5
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255

Делаю файл ifcfg-eth0:0:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.100.5
NETMASK=255.255.255.0
NETWORK=192.168.100.0
BROADCAST=192.168.100.255

Проверяю:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:02:B3:C2:5A:71
          inet addr:192.168.100.5  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:243268 errors:0 dropped:0 overruns:0 frame:0
          TX packets:237175 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:119327809 (113.7 Mb)  TX bytes:20868103 (19.9 Mb)
          Interrupt:19 Base address:0xc000

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:63 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4946 (4.8 Kb)  TX bytes:4946 (4.8 Kb)

Не работает. И что странно адрес тот, который указан в алиасе. В ручную 
через ifconfig получается.
Подскажите, что не правильно?

С уважением,
Слава Д.




^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2003-11-14 14:48 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 10:26 [Comm] IP алиас на интерфейс? Slava Dubrovskiy
2003-11-12 10:30 ` Leonid B. Sysoletin
2003-11-12 10:31 ` Shawkat Nizamov
2003-11-12 10:34 ` Dmytro O. Redchuk
2003-11-12 10:39 ` Alexey Starinsky
2003-11-12 10:59   ` Dmytro O. Redchuk
2003-11-12 11:02 ` Dmitry Nechaev
2003-11-12 11:23   ` Re[2]: " Evgeny Yugov
2003-11-12 12:56     ` Dmitry Nechaev
2003-11-12 14:20       ` Re[2]: " YURA
2003-11-13  6:01         ` Dmitry Nechaev
2003-11-13  9:31           ` Re[2]: " YURA
2003-11-13 11:27             ` Dmitry Nechaev
2003-11-13 15:34               ` Re[2]: " YURA
2003-11-13 15:49                 ` Dmytro O. Redchuk
2003-11-14  6:23                 ` Dmitry Nechaev
2003-11-12 14:43       ` Slava Dubrovskiy
2003-11-13  6:03         ` Dmitry Nechaev
2003-11-12 13:17     ` Andrey Rahmatullin
2003-11-13  3:17       ` Re[2]: " Evgeny Yugov
2003-11-13  6:10         ` Dmitry Nechaev
2003-11-14 14:48     ` Slava Dubrovskiy

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git