
Chapter 13 IP Commands
The following example shows LAN IP alias 1’s ARP information.
ras> ip arp status enif0:0
received 11 badtype 0 bogus addr 0 reqst in 3 replies 2 reqst out 11
cache hit 363 (89%), cache miss 42 | (10%) | stat iface | ||
Type | Time | Addr | ||
192.168.2.33 | 10 Mb Ethernet 300 | 00:19:cb:00:00:12 41 | ||
enif0:0 |
|
|
|
|
num of arp entries= 1
The following commands configure the ZyXEL Device LAN's DHCP setting.
ras> | ip dhcp | enif0 | mode server |
|
| |
ras> | ip dhcp | enif0 | server dnsserver 168.95.1.1 |
| ||
ras> | ip dhcp | enif0 | server winsserver 10.1.1.250 |
| ||
ras> | ip dhcp | enif0 | server leasetime 655200 |
| ||
ras> | ip dhcp | enif0 | server hostname |
| ||
ras> | ip dhcp | enif0 | server pool 192.168.1.33 2 |
| ||
ras> | ip dhcp | enif0 | status |
|
|
|
DHCP | on iface enif0 is server |
|
| |||
| Start assigned IP address: 192.168.1.33/24 |
| ||||
| Number of IP addresses reserved: 2 |
| ||||
| Hostname prefix: |
|
| |||
| DNS server: 168.95.1.1 0.0.0.0 |
| ||||
| WINS server: 10.1.1.250 0.0.0.0 |
| ||||
| Domain Name : |
|
|
|
| |
| Default | gateway: 192.168.1.1 |
|
| ||
| Lease time: 655200 seconds |
|
| |||
| Renewal | time: | 129600 seconds |
|
| |
| Rebind time: 226800 seconds |
|
| |||
slot | Probing | count: 100 | type | hardware address | hostname | |
state |
| timer | ||||
0 | UNCERTAIN | 0 | 0 | 00 |
| |
1 | UNCERTAIN | 0 | 0 | 00 |
|
Status:
Packet InCount: 0, OutCount: 0, DiscardCount: 0
The following command has the ZyXEL Device ping IP address 172.16.1.202 five times.
ras> ip pingext 172.16.1.202 |
|
|
|
|
|
| |||
Resolving 172.16.1.202... 172.16.1.202 | avg |
| max | min | |||||
sent | rcvd | size | rtt |
| |||||
1 |
| 1 | 36 | 0 |
| 0 |
| 0 | 0 |
2 |
| 2 | 36 | 0 |
| 0 |
| 0 | 0 |
3 |
| 3 | 36 | 0 |
| 0 |
| 0 | 0 |
4 |
| 4 | 36 | 0 |
| 0 |
| 0 | 0 |
5 |
| 5 | 36 | 0 |
| 0 |
| 0 | 0 |
Extended Ping From | device to 172.16.1.202: | 0 | (0% loss), |
| |||||
Packets: Sent = | 5, Received = 5, Lost = |
| |||||||
Approximate Round Trip Times in |
|
| |||||||
RTT: Average = 0ms, Maximum = | 0ms, Minimum = 0ms |
| |||||||
|
|
|
|
|
|
|
|
|
|
| 81 |
DSL & IAD CLI Reference Guide | |
|
|