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] whitebox linux and networking

[ILUG] whitebox linux and networking

P at draigBrady.com P at draigBrady.com
Mon Feb 2 09:51:54 GMT 2004


John P. Looney wrote:
> On Sun, Feb 01, 2004 at 09:33:11PM -0000, Paul Kelly :: Blacknight Solutions mentioned:
> 
>>>What am I missing if anything. Suggestions please?
>>
>>What does ifconfig show you?
> 
>  Do remember that ifconfig has been deprecated, and no longer gives an
> accurate view of networking. You can add IPs and set netmasks/broadcasts
> and ifconfig may not show them anymore, unless they were set to specific
> interfaces (which "ip address add  .... " doesn't do by default.
> 
>  I know we've been using it for years, but get out of the habit of using
> it. The "ip" command is so much nicer anyway.
> 
> john

true

-- 
Pádraig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---

New Linux networking commands
 

ifconfig, route, mii-tool etc. are out of date
The new kids on the block are ip and ethtool.
 

ip link show                          #list interfaces
ethtool interface                     #list interface status
ip link set dev eth0 name home        #rename eth0 to home
ip addr add 1.2.3.4/24 brd + dev eth0 #add ip and mask(255.255.255.0)
ip link set dev interface up          #bring interface up (or down)
ip route add default via 1.2.3.254    #set default route to 1.2.3.254
--




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