From: Sven-Haegar Koch <haegar@sdinet.de>
To: HTB <kerasakti@nusa.net.id>
Cc: netfilter@lists.netfilter.org
Subject: Re: Are IP ALIASES supported by iptables?
Date: Tue, 29 Jul 2003 11:39:18 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.56.0307291137010.23286@space.comunit.de> (raw)
In-Reply-To: <008301c3558f$22b075e0$080a0a0a@medannic>
On Tue, 29 Jul 2003, HTB wrote:
> When i want to active nat using iptable on eth0:0 (aliasing) "error appear"
> # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 -o eth0:0
> Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
>
> Are IP ALIASES supported by iptables?
Ip Aliases practically don't exist anymore, they are just one other ip
address on eth0 marked with a compatibility flag for the old ifconfig.
(Use ip/iproute2 and you see what I mean).
So don't use MASQUERADE and eth0:0, but instead use SNAT and the second ip
of eth0 (aka the one on your eth0:0)
c'ya
sven
--
The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)
prev parent reply other threads:[~2003-07-29 9:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-29 5:06 Are IP ALIASES supported by iptables? HTB
2003-07-29 5:18 ` Louie Miranda
2003-07-29 6:03 ` Louie Miranda
2003-07-29 5:20 ` Daniel Chemko
2003-07-29 6:54 ` Szabo Nandor
2003-07-29 9:39 ` Sven-Haegar Koch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.56.0307291137010.23286@space.comunit.de \
--to=haegar@sdinet.de \
--cc=kerasakti@nusa.net.id \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox