Add ip interface – Allied Telesis AT-S63 User Manual

Page 570

Advertising
background image

Chapter 32: Internet Protocol Version 4 Packet Routing

570

Section VII: Internet Protocol Routing

ADD IP INTERFACE

Syntax

add ip interface=

interface

ipaddress=

ipaddress

|dhcp|bootp

[mask|netmask=

subnetmask

]

[ripmetric=

value

]

Parameters

interface

Specifies a name for the new routing interface. A
name consists of “VLAN” followed by the ID (VID) of
the VLAN where the interface is to be assigned and
an interface number, separated by a dash (e.g.,
vlan4-0). The range of the interface number is 0 to 15.
For background information, refer to “Interface
Names” on page 550.

ipaddress

Specifies an IP address for the interface. The
address must be a unique member of the subnet or
network where the interface is to be assigned.

You can assign an address manually or activate the
DHCP or BOOTP client and have a DHCP or BOOTP
server on the network assign the address
automatically. When there is more than one interface
in a VLAN, only one of the interfaces can obtain its IP
address from a DHCP or BOOTP server. The IP
addresses of the other interfaces in the same VLAN
must be assigned manually.

mask or

Specifies the subnet mask of the IP address of the

netmask

routing interface. Do not specify a mask if the IP

address will be assigned by a DHCP or BOOTP
server. The default value is based on the address’
network type. The default values are:

Class A address - 255.0.0.0

Class B address - 255.255.0.0

Class C address - 255.255.255.0

Note

These three values are the only supported subnet masks for a
routing interface. However, the masks can be assigned to any
address class. For example, the mask 255.0.0.0 can be assigned to
a Class B address.

Advertising