ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] два ip для сетевой карты и iptables
@ 2006-01-24 13:23 Laaz Vadim
  2006-01-24 14:59 ` Nikolay A. Fetisov
  2006-01-24 15:12 ` Serg N. Boltushkin
  0 siblings, 2 replies; 5+ messages in thread
From: Laaz Vadim @ 2006-01-24 13:23 UTC (permalink / raw)
  To: ALT Linux Community

есть два интерфейса на одной сетевой карте:

# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0

# cat /etc/sysconfig/network-scripts/ifcfg-eth1:1
DEVICE=eth1:1
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0

iptables -A INTPUT -i eth1:1 ...
ругается, можно ли задать что нибудь вроде алиаса для eth1:1 чтобы в 
iptables ссылаться на него?


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

end of thread, other threads:[~2006-01-25 10:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-24 13:23 [Comm] два ip для сетевой карты и iptables Laaz Vadim
2006-01-24 14:59 ` Nikolay A. Fetisov
2006-01-24 15:12 ` Serg N. Boltushkin
2006-01-25  8:56   ` Laaz Vadim
2006-01-25 10:16     ` Anton Gorlov

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