
Document Title Here
Document Title Here
Document Title Here
eH880 and ACR880 SDE Setup Manual
Version 1.4
Page 17 of 20
www.acs.com.hk
3. Input the following command to add an entry to routing table.
# route add –net 127.0.0.0 netmask 255.0.0.0 lo
4. Input
the
“route”
command to show the routing table.
~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0
* 255.0.0.0 U 0 0 0 lo
Appendix A.1.2. Setting Up Static IP Address
Assume you want to setup the following IP address for eH880 unit:
IP Address
:
192.168.1.100
Subnet Mask
:
255.255.255.0
Gateway :
192.168.1.1
1. Input the following command to setup the IP address:
# ifconfig eth0 192.168.1.100 netmask 255.255.255.0
2. Input the following command to setup the gateway:
# route add default gw 192.168.1.1 eth0
3. Input
“ifconfig”
command to show the configuration:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:51:00:0F:FE
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10155 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:37 Base address:0x300
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: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) TX bytes:0 (0.0 B)
4. Input
“route”
command to show the routing table:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0