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

Niall O Broin niall at linux.ie
Thu Feb 23 16:20:57 GMT 2006


On 23 Feb 2006, at 15:59, Stephen Shirley wrote:

> 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

Note the eth0:1 there - a different virtual interface. If you had done

ip addr add 136.201.105.1/24 eth0

then the output above would have finished


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 secondary eth0

which is subtly different and as Colm pointed out earlier, CAN be 
problematic in certain cases.



Niall




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