Creating the vlans, Creating the routing interfaces, Creating the vlans creating the routing interfaces – Allied Telesis AT-S63 User Manual

Page 391

Advertising
background image

AT-S63 Management Software Features Guide

Section VII: Routing

391

Creating the

VLANs

The first step is to create the VLANs for the local subnets on the switch.
The VLANs must be created before the routing interfaces. The following
command creates a VLAN for the Sales department with a VID of 4 and
the appropriate ports:

create vlan=Sales vid=4 untaggedport=1-11 taggedport=50

The following commands create the Production and Engineering VLANs:

create vlan=Production vid=5 untaggedport=12-20
taggedport=50

create vlan=Engineering vid=11 untaggedport=21-40
taggedport=50

Note that even though there are four local subnets in the example, there
are only three VLANs because two of the subnets will share a VLAN.

For further information on this command, refer to the CREATE VLAN
command.

Creating the

Routing

Interfaces

Now that the VLANs are created, you can add the routing interfaces for the
individual subnets. There are four local subnets in the example, so there
will need to be four interfaces to support routing on all of them.

The following command creates the routing interface for the Sales subnet.
The interface name is based on the VID of the VLAN, which is 4, and an
interface number, in this case 0. The interface is assigned the unique IP
address 149.35.67.11 and a subnet mask to make it a member of its
corresponding subnet.

add ip interface=vlan4-0 ipaddress=149.35.67.11
netmask=255.255.255.0

These commands create the interfaces for the remaining subnets:

add ip interface=vlan5-0 ipaddress=149.35.68.24
netmask=255.255.255.0

add ip interface=vlan11-0 ipaddress=149.35.69.23
netmask=255.255.255.0

add ip interface=vlan11-1 ipaddress=149.35.70.45
netmask=255.255.255.0

The Engineering VLAN (VID 11) has two interfaces for its two subnets.
Each interface is given a different interface number, 0 and 1, to distinguish
between them.

At this point, the switch begins to route IPv4 packets among the local
subnets.

For further information on this command, refer to the ADD IP INTERFACE

Advertising