l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2002 Mar 10 13:50

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] binding multi ip's to single iface in debian
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] binding multi ip's to single iface in debian



Ok, didn't realize it was a kernel option... but it makes
sense. I should have said that I'm using 2.4.18 kernel. I
can't find an option for CONFIG_IP_ALIAS and the
Configure.help for this version doesn't have this entry.
What version of the kernel did you find this?
> Kernel compile/config option:
> 
> CONFIG_IP_ALIAS
> 
> (linux kernel src path)/Documentation/Configure.help )
> ---
> CONFIG_IP_ALIAS
>   Sometimes it is useful to give several IP addresses to a single
>   physical network interface (serial port or Ethernet card). The most
>   common case is that you want to serve different WWW or ftp documents
>   to the outside depending on which of your host names was used to
>   connect to you. This is called "multihosting" or "virtual domains"
>   or "virtual hosting services" and is explained in detail on the WWW
>   at http://www.thesphere.com/~dlp/TwoServers/ (to browse the WWW, you
>   need to have access to a machine on the Internet that has a program
>   like lynx or netscape) and also in the Virtual-Services-HOWTO,
>   available via FTP (user: anonymous) from
>   ftp://metalab.unc.edu/pub/Linux/docs/HOWTO.
> 
>   Another scenario would be that there are two logical networks living
>   on your local Ethernet and you want to access them both with the
>   same Ethernet card. This can also be done if you say Y here.
> 
>   The configuration of these alias addresses is done with a special
>   name syntax explained in Documentation/networking/alias.txt and in
>   the IP-Alias mini-HOWTO. If you want this, say Y. Most people don't
>   need it and say N.
> 
> ---
> 
> After you have this enables, you can ifconfig the interface with
> ifconfig eth0:0 blah
> and
> ifconfig eth0:1 blah
> etc...
> 
> Check ut the readmes they ref in the kernel doc, they explain more than my
> "blah" :-)
> 
> -ME
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++ 
> L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ !PGP
> t@-(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z?
> ------END GEEK CODE BLOCK------
> decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html
>      Systems Department Operating Systems Analyst for the SSU Library
> 
> On Sun, 10 Mar 2002 mrdoug@attbi.com wrote:
> > Can anybody point me towards a doc on binding 2 ip's to a
> > single interface under debian?
> > 
> > It seems to me that it has something to do with
> > /etc/network/interfaces but I can't seem to figure out
> > the syntax
> > 
> > -Doug
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> > 
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.