Allied Telesis AT-S63 User Manual

Page 393

Advertising
background image

AT-S63 Stack Command Line User’s Guide

Section VII: Internet Protocol Routing

393

Description

This command creates a new interface for routing IPv4 packets to a local
network or subnet. Note the following before using this command:

ˆ

The VLAN must already exist on the stack.

ˆ

You cannot assign more than one interface to the same local network
or subnet on a stack.

ˆ

When there are multiple interfaces within a VLAN, each must be
assigned a unique interface number.

ˆ

Only one interface in a VLAN can obtain its IP configuration from a
DHCP or BOOTP server.

ˆ

If an interface is configured to use the DHCP or BOOTP client to obtain
its IP address and subnet mask, it does not participate in IP routing
until its IP address and subnet mask have been obtained from the
DHCP or BOOTP server.

Examples

This command creates an interface with an IP address 149.123.44.56 and
a mask of 255.255.255.0. The interface is assigned to the VLAN with the
VID of 6 and given the interface number 0. Since no RIP metric is
specified, the default value of 1 is applied to the interface:

add ip interface=vlan6-0 ipaddress=149.123.44.56
netmask=255.255.255.0

This command creates an interface with an IP address 149.211.126.14
and a mask of 255.255.240.0. The interface is assigned to the VLAN with
the VID of 24 and given the interface number 2. The RIP hop count for the
interface is set to 2:

add ip interface=vlan24-2 ipaddress=149.211.126.14
netmask=255.255.240.0 ripmetric=2

This command creates an interface with an IP address and subnet mask
set by a DHCP server. The interface is assigned to the VLAN with the VID
of 18 and given the interface number 1. The hop count for RIP is increased
to 4:

add ip interface=vlan18-1 ipaddress=dhcp ripmetric=4

Advertising