5. Assign a VLAN to each IP interface.
6. Configure the default gateway to the routers' addresses.
7. Enable IP routing.
8. Verify the configuration.
370
G8264CS Application Guide for ENOS 8.4
Now that the ports are separated into VLANs, the VLANs are assigned to the
appropriate IP interface for each subnet. From Table 31 on page
are made as follows:
RS 8264CS(config)# interface ip 1
RS 8264CS(config-ip-if)# ip address 205.21.17.3
RS 8264CS(config-ip-if)# ip netmask 255.255.255.0
RS 8264CS(config-ip-if)# vlan 1
RS 8264CS(config-ip-if)# enable
RS 8264CS(config-vlan)# exit
RS 8264CS(config)# interface ip 2
RS 8264CS(config-ip-if)# ip address 100.20.10.1
RS 8264CS(config-ip-if)# ip netmask 255.255.255.0
RS 8264CS(config-ip-if)# vlan 2
RS 8264CS(config-ip-if)# enable
RS 8264CS(config-ip-if)# exit
RS 8264CS(config)# interface ip 3
RS 8264CS(config-ip-if)# ip address 131.15.15.1
RS 8264CS(config-ip-if)# ip netmask 255.255.255.0
RS 8264CS(config-ip-if)# vlan 3
RS 8264CS(config-ip-if)# enable
RS 8264CS(config-ip-if)# exit
RS 8264CS(config)# interface ip 4
RS 8264CS(config-ip-if)# ip address 206.30.15.1
RS 8264CS(config-ip-if)# ip netmask 255.255.255.0
RS 8264CS(config-ip-if)# vlan 4
RS 8264CS(config-ip-if)# enable
RS 8264CS(config-ip-if)# exit
The default gateway allows the switch to send outbound traffic to the router:
RS 8264CS(config)# ip gateway 1 address 205.21.17.1
RS 8264CS(config)# ip gateway 1 enable
RS 8264CS(config)# ip routing
RS 8264CS(config)# show vlan
RS 8264CS(config)# show interface information
RS 8264CS(config)# show interface ip
Examine the resulting information. If any settings are incorrect, make the
appropriate changes.
368, the settings
(Select IP interface 1)
(Add VLAN 1)
(Select IP interface 2)
(Add VLAN 2)
(Select IP interface 3)
(Add VLAN 3)
(Select IP interface 4)
(Add VLAN 4)