20 • DHCP configuration
interface, e.g. the default gateway, DNS server IP addresses, etc. To enable the DHCP-client on an IP interface
perform the steps described below.
Mode: context IP
Step
1
node (ctx-ip)[router]#interface name
2
node (if-ip)[ name ]#ipaddress dhcp
3
node (if-ip)[ name ]#show dhcp-client
Note
If you are connected to the SmartNode by telnet over the IP interface on
which you enable the DHCP-client, the connection has lost after entering
the command 'ipaddress dhcp'. You need to know the new IP address dis-
tributed from the DHCP-server to connect to the SmartNode again !
Example: Enable DHCP-client on an IP interface
SN(cfg)#context ip
SN(ctx-ip)[router]#interface eth0
SN(if-ip)[eth0]#ipaddress dhcp
SN(if-ip)[eth0]#show dhcp-client
------------------------------------------------------------
Context:
Name:
IpAddress:
Default gateway:
Domain Name:
DNS:
Next Server Ip:
DHCP Server:
Lease obtained:
Lease expires:
State:
Release or renew a DHCP lease manually (advanced)
After enabling the DHCP-client, the interface receives a DHCP lease from the DHCP-server. To manually
release and/or renew this DHCP lease use the command described below.
This procedure describes how to release and renew the DHCP lease
238
Command
router
eth0
172.16.224.102 255.255.0.0
172.16.1.10
pacific
172.16.1.10
146.228.10.16
172.16.1.10
172.16.1.10
2001-01-01T01:03:51
2001-01-01T09:03:51
Bound
SmartWare Software Configuration Guide
Purpose
Creates an IP interface with name name and enters
'configure' configuration mode
Enables the DHCP-client on this IP interface. (See
note)
Displays status information about the DHCP-client.
E.g. default gateway, lease expire time, etc.
DHCP-client configuration tasks
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?