Atlantis Land A02-RA(Atmos)_ME01 manual Description, Example

Models: A02-RA(Atmos)_ME01

1 112
Download 112 pages 14.35 Kb
Page 39
Image 39

5.7.2 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.

A useful method of automatically configuring suitable IP devices is to put a device add statement into the file //isfs/resolve and downloading it upon booting the image.

5.7.3 Example

bd3000> ip device add ethernet ether //edd dhcp

…DHCP then discovers the IP address for the interface…

bd3000> ip device

#

type

dev file

IP address

device ethernet ether //edd mtu 1500dhcp

Page 39
Image 39
Atlantis Land A02-RA(Atmos)_ME01 manual Description, Example