Heritage Kayaks Heritage Series Ip device, …DHCP then discovers the IP address for the interface…

Models: Heritage Series

1 164
Download 164 pages 30 Kb
Page 84
Image 84

Heritage Series ADSL Bridge/ Router

79

Command Sets for Command Line Interface

3. ip device

Syntax:

ip device add <i/f> <type> <file> [mtu <size>] [<IP address>dhcp]

ip device

Description:

The ip device add command adds an interface to the configuration of the IP stack. The last parameter of the command would normally the IP address of the interface; use of the string dhcp causes the IP address to be discovered by the DHCP client software. Note that using the flag dhcp on an interface precludes running a DHCP server on that interface! The ip device command lists the current configuration of any devices attached to the IP stack. A device configured to use DHCP will show “dhcp” in the “IP address” column, followed by the actual IP address discovered and bound by DHCP, if any. For interfaces configured to use DHCP, saving configuration only marks the interface as using DHCP; it does not save the actual IP address discovered by DHCP, which must be renewed.

Example:

DSL> ip device add ethernet ether //edd dhcp

…DHCP then discovers the IP address for the interface…

DSL> ip device

# type dev file IP address

device ethernet ether //edd mtu 1500 dhcp

Page 84
Image 84
Heritage Kayaks Heritage Series manual Ip device, …DHCP then discovers the IP address for the interface…