
Loopback Interface Configuration Command Set Command Reference Guide
502 © 2003 ADTRAN, Inc. 61950860L1-35D
ip address <address> <mask> secondary
Use the ip address command to define an IP address on the specified interface. Use the optional
secondary keyword to define a secondary IP address. Use the no form of this command to remove a
configured IP address.
Syntax Description
<address>
Defines the IP address for the interface in dotted decimal notation (for example:
192.22.73.101).
<mask>
Specifies the subnet mask that corresponds to the listed IP address.
secondary
*Optional
Optional keyword used to configure a secondary IP address for the specified
interface.
Default Values
By default, there are no assigned IP addresses.
Command Modes
(config-interface)# Interface Configuration Mode required (applies to all physical interfaces as well
as virtual interfaces)
Command History
Release 1.1 Command was introduced
Release 2.1 Added
ip address dhcp
for DHCP client support
Functional Notes
Use secondary IP addresses to allow dual subnets on a single interface (when you need more IP addresses
than the primary subnet can provide). When using secondary IP addresses, avoid routing loops by verifying
that all devices on the network segment are configured with secondary IP addresses on the secondary subnet.
Usage Examples
The following example configures a secondary IP address of
192.22.72.101/30
:
(config)#
interface loopback 1
(config-loop 1)#
ip address 192.22.72.101 255.255.255.252 secondary
Komentarze do niniejszej Instrukcji