Allied Telesis AT-S63 User Manual

Page 566

Advertising
background image

Chapter 32: Internet Protocol Version 4 Packet Routing

566

Section VII: Internet Protocol Routing

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 “CREATE VLAN” on
page 495.

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.

Advertising