![Lantronix 4120 Series User Manual Download Page 115](http://html2.mh-extra.com/html/lantronix/4120-series/4120-series_user-manual_4573543115.webp)
Lantronix
x4120 User Guide
33551 Rev. C
Page
115
of
142
ifconfig
1. Verify that the machine's interfaces are up and have an IP address using the
ifconfig
command:
[root@sleipnir root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:6E:0A:3D:26
inet addr:192.168.168.11 Bcast:192.168.168.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13647 errors:0 dropped:0 overruns:0 frame:0
TX packets:12020 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:7513605 (7.1 Mb) TX bytes:1535512 (1.4 Mb)
Interrupt:10
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8744 errors:0 dropped:0 overruns:0 frame:0
TX packets:8744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:892258 (871.3 Kb) TX bytes:892258 (871.3 Kb)
The above machine is running normally. The first line of output shows that the Ethernet interface eth0
has a layer 2 (MAC or hardware) address of 00:0C:6E:0A:3D:26. This confirms that the device driver
is able to connect to the card, as it has read the Ethernet address burned into the network card's
ROM. The next line shows that the interface has an IP address of 192.168.168.11, and the subnet
mask and broadcast address are consistent with the machine being on network 192.168.168.0.