Allied Telesis AT-S63 User Manual

Page 574

Advertising
background image

Chapter 32: Internet Protocol Version 4 Packet Routing

574

Section VII: Internet Protocol Routing

ripmetric

Specifies the cost of crossing the interface for RIP.
The range is 1 to 16. The default is 1.

Description

This command creates a new interface for routing IPv4 packets to a local
network or subnet. For background information, refer to “Routing
Interfaces” on page 549. Note the
following before using this command:

ˆ

The VLAN must already exist on the switch.

ˆ

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

ˆ

When there are multiple interfaces within a VLAN, each must be
assigned a unique interface number. For background information, refer
to “Interface Numbers” on page 551.

ˆ

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.

ˆ

The AT-9408LC/SP, AT-9424T/GB, and AT-9424T/SP switches
support only one routing interface.

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