* [Comm] второй ip+iptables
@ 2004-08-30 13:17 Nikita Semenov
2004-08-30 14:11 ` Dmitry Lebkov
0 siblings, 1 reply; 2+ messages in thread
From: Nikita Semenov @ 2004-08-30 13:17 UTC (permalink / raw)
To: Community@altlinux.ru
Здравствуйте.
Сделан второй ip на один интерфейс (eth0:1). Надо теперь его разрулить в
iptables. Как на него ссылаться? Прям вот "eth0:1" если поставить, говорит странный
символ...
--
Best regards,
Nikita Semenov
System Administrator
InterStep
+7(812)324-8020
nikita@inter-step.ru
ICQ: 3939833
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] второй ip+iptables
2004-08-30 13:17 [Comm] второй ip+iptables Nikita Semenov
@ 2004-08-30 14:11 ` Dmitry Lebkov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Lebkov @ 2004-08-30 14:11 UTC (permalink / raw)
To: community
On Mon, 30 Aug 2004 17:17:19 +0400
Nikita Semenov <nsemenov@instep.spb.ru> wrote:
> Здравствуйте.
> Сделан второй ip на один интерфейс (eth0:1). Надо теперь
> его разрулить в iptables. Как на него ссылаться? Прям вот
> "eth0:1" если поставить, говорит странный символ...
iptables умеет только те устройства, через которые идут
пакеты. Через алиасы пакеты не ходют. Ссылайся типа так:
'-d aaa.bbb.ccc.ddd. -i eth0' - все пакеты идущие через
eth0 адрес aaa.bbb.ccc.ddd. '-d aaa.lli.aaa.sss -i eth0'
- всё, что идет на алиас.
--
WBR, Dmitry Lebkov
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-30 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-30 13:17 [Comm] второй ip+iptables Nikita Semenov
2004-08-30 14:11 ` Dmitry Lebkov
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