
ALX-9000 (Linux based PAC) User Manual version 1.0.0 Page: 56
Copyright © 2024 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
3.1.13.
Linux Command “ifconfig”
ifconfig: show the ip and network mask (like ipconfig in DOS)
root@icpdas:/tmp#
ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.186 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::290:fbff:fe74:dad3 prefixlen 64 scopeid 0x20<link>
ether 00:90:fb:74:da:d3 txqueuelen 1000 (Ethernet)
RX packets 14609 bytes 1430664 (1.4 MB)
RX errors 0 dropped 1756 overruns 0 frame 0
TX packets 702 bytes 104533 (104.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x91180000-911fffff
eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:0d:e0:6e:30:1e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x91500000-9157ffff
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 171 bytes 14078 (14.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 171 bytes 14078 (14.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@icpdas:/tmp#