Using Automatic Ip Configuration; Enabling Automatic Ip Configuration - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Network configuration guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

Using Automatic IP Configuration

Using Automatic IP Configuration
An additional function of the DHCP Relay feature enables a switch to broadcast a BootP or DHCP request
packet at boot time to obtain an IP address for default VLAN 1. This function is separate from the
previously described functions (such as Global DHCP, per-VLAN DHCP, and related configurable
options) in that enabling or disabling automatic IP configuration does not exclude or prevent other DHCP
Relay functionality.
Note. Automatic IP address configuration only supports the assignment of a permanent IP address to the
switch. Make sure that the DHCP server is configured with such an address before using this feature.
Using automatic IP configuration also allows the switch to specify the type of request packet to send;
BootP or DHCP. When the BootP/DHCP server receives the request packet from the switch, it processes
the request and sends an appropriate reply packet. When the switch receives a reply packet from the
BootP/DHCP server, one or more of the following occurs:
The router port for VLAN 1 is assigned the IP address provided by the server.
If the reply packet contains a subnet mask for the IP address, the mask is applied to the VLAN 1 router
port address. Otherwise, a default mask is determined based upon the class of the IP address. For
example, if the IP address is a Class A, B, or C address, then 255.0.0.0, 255.255.0.0, or 255.255.255.0
is used for the subnet mask.
If the reply packet from the server contains a gateway IP address, then a static route entry of 0.0.0.0 is
created on the switch with the gateway address provided by the server.
Note. If the VLAN 1 router port is already configured with an IP address, the switch does not broadcast a
request packet at boot time even if automatic IP configuration is enabled.
To verify IP router port configuration for VLAN 1, use the
commands. For more information about these commands, refer to the OmniSwitch CLI Reference Guide.

Enabling Automatic IP Configuration

By default, this function is disabled on the switch. To enable automatic IP configuration and specify the
type of request packet, use the
-> ip helper boot-up enable DHCP
-> ip helper boot-up enable BOOTP
The next time the switch boots up, DHCP Relay broadcasts a BootP request packet as the default or DHCP
request packet if DHCP is enabled to obtain an IP address for default VLAN 1.
To disable automatic IP configuration for the switch, use the ip helper boot-up command with the disable
option, as shown below:
-> ip helper boot-up disable
page 17-12
ip helper boot-up
command. For example:
OmniSwitch AOS Release 7 Network Configuration Guide
Configuring DHCP Relay
show ip interface
and
show ip routes
March 2011

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents