LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: IP masq

[ILUG] Re: IP masq

Conor Daly conor.daly at oceanfree.net
Thu Dec 21 15:35:26 GMT 2000


On Thu, Dec 21, 2000 at 11:35:11AM +0000 or so it is rumoured hereabouts, 
Colm Buckley thought:
> 
> Damian writes:
> 
> > I assume its ifconfig thats used to set up virtual eth0:[0-??]  How
> > many can be set up? Are there any issues with doing this? Also what
> > is the exact syntax to do this?
> 
> 
> To add a virtual interface, add the lines:
> 
> auto eth0:0
>     address 1.2.3.5
>     netmask 255.255.255.0
>     broadcast 1.2.3.255
> 
> ... replacing 1.2.3.5 with the IP of the address you want to use, and
> adjusting the other parameters accordingly.  There then should be a
> command to bring up all the interfaces in this file (on Debian, it's
> "ifup -a").
> 
> If your system doesn't have this file, it's likely that it has a
> similar one to set up the interfaces.  If it doesn't seem to have
> anything at all, you can add extra interfaces 'manually' using the
> ifconfig command:
> 
> ifconfig eth0:0 1.2.3.5 netmask 255.255.255.0 broadcast 1.2.3.255
> 

Does this mean that one can present a number of IP addresses to the world
using eth0:0, eth0:1 etc?

-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
 12:42pm  up 3 days, 30 min,  1 user,  load average: 0.04, 0.14, 0.09




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell