![Advantech RSB-4220 Скачать руководство пользователя страница 56](http://html1.mh-extra.com/html/advantech/rsb-4220/rsb-4220_user-manual_2857962056.webp)
RSB-4220 User Manual
50
3.8.3
Network configuration
3.8.3.1
Configuration via UI*
You can get an IP address via dhcp, also you can configure a static IP address for
RSB-4220.
Click on the "Network Cfg" icon on the screen. Then Advantech NIC Configuration
utility will be started. You can do some configuration of NIC.
Figure 3.6 IP Configuration
3.8.3.2
Configuration via console
As a choice, you can also do the network configuration by console using telnet. Run
the following command on RSB-4220:
Get IP by DHCP:
If you want to reserve the setting after rebooting the device, set as below
Set static IP:
Stop the DHCP process
Set the static IP as below.
If you want to reserve the setting after rebooting the device, set as below
advantech# /etc/init.d/dhcpc eth0 start
advantech# /etc/init.d/dhcpc eth1 start
advantech# echo "/etc/init.d/dhcpc eth0 start" > /etc/adv.d/netcfg.eth0
advantech# echo "/etc/init.d/dhcpc eth1 start" > /etc/adv.d/netcfg.eth1
advantech# /etc/init.d/dhcpc eth0 stop
advantech# /etc/init.d/dhcpc eth1 stop
advantech# /sbin/ifconfig eth0 172.21.73.191 netmask 255.255.255.0
advantech# /sbin/route add default gw 172.21.73.253 eth0
advantech# echo 'nameserver 172.21.128.251' >> /etc/resolv.conf
advantech# /sbin/ifconfig eth1 192.168.3.102 netmask 255.255.255.0
advantech# /sbin/route add default gw … eth1
advantech# echo 'nameserver 172.21.128.251' >> /etc/resolv.conf
advantech# echo "/sbin/ifconfig eth0 172.21.73.191 netmask 255.255.255.0; /sbin/route add
default gw 172.21.73.253 eth0;echo 'nameserver 172.21.128.251' > /etc/resolv.conf;" > /etc/
adv.d/netcfg.eth0
advantech# echo "/sbin/ifconfig eth1 192.168.3.102 netmask 255.255.255.0; /sbin/route add
default gw ... eth1;echo 'nameserver 172.21.128.251' > /etc/resolv.conf;" > /etc/adv.d/
netcfg.eth1
Note!
The IP address in above should be replaced according to user’s the
requirement.
For examples: IP 172.21.128.251 in above is the DNS server’s IP, user
should replace it with the correct DNS IP address.
Содержание RSB-4220
Страница 10: ...RSB 4220 User Manual 4 ...
Страница 20: ...RSB 4220 User Manual 14 Figure 2 5 Ethernet Connector ...
Страница 41: ...Chapter 3 3 Software Functionality This chapter details the Linux operating system on the RSB 4220 platform ...
Страница 66: ...RSB 4220 User Manual 60 ...
Страница 77: ...71 RSB 4220 User Manual Chapter 5 Advantech Services ...