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] Ubuntu networking questions

[ILUG] Ubuntu networking questions

Stephen Shirley diamond at skynet.ie
Thu Feb 23 15:59:17 GMT 2006


Niall O Broin wrote:
> On 22 Feb 2006, at 10:07, Colm MacCarthaigh wrote:
>> Use subinterfaces, ie:
>>
>> iface ethX:1
>>     address a.b.c.d
>>     netmask 255.255.255.255
> 
> OK - I could have hazarded a guess at that one, but that will give me an
> ethX:1 interface, no? Whereas what I wanted to do was add another ip to
> ethX.

Depends how you look at it. According to ifconfig/ifup/ifdown, yes, it's
a seperate interface. But to all practical intents and purposes, and
according to iproute, it's not. ifconfig is deprecated, iproute is
preferred.

2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:c0:4f:bb:25:da brd ff:ff:ff:ff:ff:ff
    inet 193.1.99.120/26 brd 193.1.99.127 scope global eth0
    inet 136.201.105.1/24 brd 136.201.105.255 scope global eth0:1

Steve



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