From: J Sloan <jjs@toyota.com>
To: Steve Pirk <orion@deathcon.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IP aliasing/Virtual IP's in 2.2.19 or 2.4.10
Date: Wed, 26 Sep 2001 12:09:59 -0700 [thread overview]
Message-ID: <3BB22807.FE63AD89@lexus.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0109261152370.7017-100000@mail.pirk.com>
Steve Pirk wrote:
> This much I have found so far...
> In /usr/src/linux-2.2.16/.config :
> CONFIG_IP_MASQUERADE=y
> CONFIG_IP_MASQUERADE_ICMP=y
> CONFIG_IP_MASQUERADE_MOD=y
> CONFIG_IP_MASQUERADE_IPAUTOFW=m
> CONFIG_IP_MASQUERADE_IPPORTFW=m
> CONFIG_IP_MASQUERADE_MFW=m
>
> In /usr/src/linux-2.2.19/.config
> no CONFIG_IP_MASQUERADE lines at all....
>
> Would it be save to add them to a 2.2.19 or 2.4.10 .config file?
bad idea -
>
> Is aliasing/masquerading enabled by default in kernel versions
> above 2.2.19?
I think it's a default feature in 2.4.x since I don't
see a config file option for it and it works fine on
all my boxen -
Let's check the docs:
Ah, here it is - and it matches my experience -
/usr/src/linux/Documentation/networking/alias.txt:
-----------------------------------------------------------------------------
IP-Aliasing:
============
IP-aliases are additional IP-adresses/masks hooked up to a base
interface by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.
IP-Aliases are avail if CONFIG_INET (`standard' IPv4 networking)
is configured in the kernel.
o Alias creation.
Alias creation is done by 'magic' interface naming: eg. to create a
200.1.1.1 alias for eth0 ...
# ifconfig eth0:0 200.1.1.1 etc,etc....
~~ -> request alias #0 creation (if not yet exists) for eth0
The corresponding route is also set up by this command.
Please note: The route always points to the base interface.
next prev parent reply other threads:[~2001-09-26 19:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-26 18:53 IP aliasing/Virtual IP's in 2.2.19 or 2.4.10 Steve Pirk
2001-09-26 19:09 ` J Sloan [this message]
2001-09-26 19:17 ` Steve Pirk
2001-09-26 19:30 ` J Sloan
-- strict thread matches above, loose matches on Subject: below --
2001-09-26 0:17 Steve Pirk
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=3BB22807.FE63AD89@lexus.com \
--to=jjs@toyota.com \
--cc=linux-kernel@vger.kernel.org \
--cc=orion@deathcon.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.