
DHCP-client configuration tasks
254
IPLink Software Configuration Guide
22 • DHCP configuration
face, e.g. the default gateway, DNS server IP addresses, etc. To enable the DHCP-client on an IP interface per-
form the steps described below.
Mode: context IP
Note
If you are connected to the IPLink by Telnet over the IP interface on which
you enable the DHCP-client, the connection is lost after entering the com-
mand
ipaddress dhcp
. You need to know the new IP address distributed
from the DHCP-server to connect to the IPLink again!
Example:
Enable DHCP-client on an IP interface
IPLink(cfg)#context ip
IPLink(ctx-ip)[router]#interface eth0
IPLink(if-ip)[eth0]#ipaddress dhcp
IPLink(if-ip)[eth0]#show dhcp-client
------------------------------------------------------------
Context: router
Name: eth0
IpAddress: 172.16.224.102 255.255.0.0
Default gateway: 172.16.1.10
Domain Name: pacific
DNS: 172.16.1.10
146.228.10.16
Next Server Ip: 172.16.1.10
DHCP Server: 172.16.1.10
Lease obtained: 2001-01-01T01:03:51
Lease expires: 2001-01-01T09:03:51
State: Bound
Step
Command
Purpose
1
node(ctx-ip)[router]#interface
name
Creates an IP interface with name
name
and enters
‘configure’ configuration mode
2
node(if-ip)[
name
]#ipaddress dhcp
Enables the DHCP-client on this IP interface. (See
note)
3
node(if-ip)[
name
]#show dhcp-client
Displays status information about the DHCP-client
For example, default gateway, lease expire time,
etc.
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...