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.
Configuring Routing with route
route is a program for manipulating the IP routing table. You can use it to view your
routing configuration and add or remove of routes.
NOTE: route and ip
The program route is obsolete. Use ip instead.
route is especially useful if you need quick and comprehensible information about your
routing configuration to determine problems with routing. To view your current routing
configuration, enter route -n as root.
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)
Mask:255.255.255.0
MTU:1500
Metric:1
Basic Networking
595
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 08-05-2008 and is the answer not in the manual?
Questions and answers