beautypg.com

Creating the routing interfaces, Creating the routing interfaces 6 – Allied Telesis AT-8100 Series User Manual

Page 1826

background image

Chapter 104: Internet Protocol Version 4 Packet Routing

1826

Creating the

Routing

Interfaces

Now that the VLANs are created, you may use the IP ADDRESS
command to add the routing interfaces for the individual networks to the
VLANs. This command creates routing interfaces with static IP addresses.
(To create routing interfaces with dynamic IP addresses assigned by a
DHCP server, refer to “IP ADDRESS DHCP” on page 1837.) The
command has this format:

ip address

ipaddress/mask

The IPADDRESS parameter specifies the IPv4 address of the new routing
interface. You may specify only one IP address. The address must be a
unique member of the network in which the routing interface is to reside.
The address is specified in this format:

nnn.nnn.nnn.nnn

Where each NNN is a decimal number from 0 to 255. The numbers must
be separated by periods.

The MASK parameter specifies the subnet mask for the address. The
mask is a decimal number that represents the number of bits, from left to
right, that constitute the network portion of the address. For example, the

awplus(config-if)# vlan 4 name Sales

Create the Sales VLAN with the ID
4.

awplus(config-if)# exit

Return to the Global Configuration
mode.

awplus(config)# interface port1.0.1-port1.0.11,
port1.0.50

Enter the Port Interface mode for
ports 1 to 11.

awplus(config-if)# switchport mode access

Designate the ports as untagged
ports.

awplus(config-if)# switchport access vlan 4

Add the ports to the Sales VLAN.

awplus(config-if)# interface port1.0.50

Enter the Port Interface mode for
port 50.

awplus(config-if)# switchport mode trunk

Designate the port as a tagged
port.

awplus(config-if)# switchport trunk allowed vlan
add 4

Add the port to the Sales VLAN as
a tagged port.

awplus(config-if)# end

Return to the Privileged Exec
mode.

awplus# show vlan all

Confirm the new VLAN.

Repeat the previous steps to
create the other three VLANS.