Chapter 5
48
Example:
adsl> dhcpserver status
DHCP Server Lease Status
Interface “ethernet”
IP address
| Client UID
| Expiry
--------------------+----------------------------+------------------
192.168.219.1 | 01:00:20:af:20:6f:59
| 11 hours
192.168.219.2 | 01:00:20:af:11:2a:ac
| 8 hours
192.168.219.3 | Myclient
| 140 seconds
192.168.219.4 | 00:20:af:20:00:2b
| 2 days
192.168.219.5 | <unknown>
| Never
192.168.219.6 | <unknown>
| Never
192.168.219.7 | <unknown>
| Never
192.168.219.8 | <unknown>
| Expired
192.168.219.9 | <unknown>
| Expired
192.168.219.10 | Foobarbozzle
| Expired
5.4.4 NAT Commands
5.4.4.1
ip nat
Syntax:
ip nat add | delete <i / f name>
Description:
Adds or removes NAT from the named interface. The interface
name is the name as listed by the ip device command. NAT
should be enabled only on the interface connecting to the public
network, not the interface connecting to the private network.
Example:
adsl> ip nat add ethernet