Novell LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 Deployment Manual page 659

Table of Contents

Advertisement

Configuring the Network with ifconfig
ifconfig is a traditional network configuration tool. In contrast to ip, you can use it
only for interface configuration. If you want to configure routing, use route.
NOTE: ifconfig and ip
The program ifconfig is obsolete. Use ip instead.
Without arguments, ifconfig displays the status of the currently active interfaces. As
you can see in
Example 30.11, "Output of the ifconfig Command"
has very well-arranged and detailed output. The output also contains information about
the MAC address of your device, the value of HWaddr, in the first line.
Example 30.11 Output of the ifconfig Command
eth0
Link encap:Ethernet
inet6 addr: fe80::208:74ff:fe98:ed51/64 Scope:Link
UP BROADCAST MULTICAST
RX packets:634735 errors:0 dropped:0 overruns:4 frame:0
TX packets:154779 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:162531992 (155.0 Mb)
Interrupt:11 Base address:0xec80
lo
Link encap:Local Loopback
inet addr:127.0.0.1
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING
RX packets:8559 errors:0 dropped:0 overruns:0 frame:0
TX packets:8559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:533234 (520.7 Kb)
wlan1
Link encap:Ethernet
inet addr:192.168.2.4
inet6 addr: fe80::20e:2eff:fe52:3b1d/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST
RX packets:50828 errors:0 dropped:0 overruns:0 frame:0
TX packets:43770 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45978185 (43.8 Mb)
For more options and information about using ifconfig, enter ifconfig -h or see
the ifconfig (8) man page.
HWaddr 00:08:74:98:ED:51
MTU:1500
Metric:1
TX bytes:49575995 (47.2 Mb)
Mask:255.0.0.0
MTU:16436
Metric:1
TX bytes:533234 (520.7 Kb)
HWaddr 00:0E:2E:52:3B:1D
Bcast:192.168.2.255
TX bytes:7526693 (7.1 Mb)
(page 643), ifconfig
Mask:255.255.255.0
MTU:1500
Metric:1
Basic Networking
643

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents