Lan Test - Advantech UBC-220 User Manual

Risc iot box computer powered by freescale i.mx6 dual lite processor arm cortex a9 architecture
Table of Contents

Advertisement

2.5.8

LAN Test

UBC-220 sets DHCP as default network protocol.
#ifconfig
eth0
lo
If you would like to config IP manually, please use below command:
#ifconfig eth0 xxx.xxx.xxx.xxx up
Here is a real case for your reference.The hosts (UBC-220) IP is 172.17.21.97; the
target(A desktop computer) IP is 172.17.20.192
#ifconfig eth0 172.17.21.97 up
#ifconfig eth0
eth0
The target computer (Client) IP address is 172.17.20.192, so we can use the below
command to see if we can get any response from the client
#ping 172.17.20.192
PING 172.17.20.192 (172.17.20.192): 56 data bytes
64 bytes from 172.17.20.192: seq=0 ttl=128 time=7.417 ms
64 bytes from 172.17.20.192: seq=1 ttl=128 time=0.203 ms
64 bytes from 172.17.20.192: seq=2 ttl=128 time=0.300 ms
--- 172.17.20.192 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.203/2.640/7.417 ms
Link encap:Ethernet
inet addr:172.17.21.96
Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST
Metric:1
RX packets:129 errors:0 dropped:18 overruns:0
frame:0
TX packets:2 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:15016 (14.6 KiB)
Link encap:Local Loopback
inet addr:127.0.0.1
UP LOOPBACK RUNNING
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)
Link encap:Ethernet
inet addr:172.17.21.97
Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST
Metric:1
RX packets:2851 errors:0 dropped:271 overruns:0
frame:0
TX packets:30 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:291407 (284.5 KiB)
KiB)
25
HWaddr 00:04:9F:01:30:E0
Bcast:172.17.21.255
MTU:1500
TX bytes:656 (656.0 B)
Mask:255.0.0.0
MTU:16436
Metric:1
TX bytes:0 (0.0 B)
HWaddr 00:04:9F:01:30:E0
Bcast:172.17.255.255
MTU:1500
TX bytes:2000 (1.9
UBC-220 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ubc-220dl-mda1e

Table of Contents