Sie sind auf Seite 1von 2

How to enable inter-VLAN routing in EXOS

Información
Title
How to enable inter-VLAN routing in EXOS
Objective How to enable inter-VLAN routing in EXOS
Environment
 EXOS all
 Summit
 BlackDiamond
Procedure 1. Configure an IP address on each VLAN that is participating in routing
 configure vlan <vlan_name> ipaddress <ip_address>/<subnet_mask>
2. Enable IP forwarding on each VLAN
 enable ipforwarding vlan <vlan_name>
3. Make sure port's are configured as untagged for end devices (PC's).
 configure vlan <vlan_name> add ports <port-list> untagged
4. Check PC's NIC configuration for:
 correct IP address
 correct subnet mask
 correct default gateway

Please note that inter-VLAN routing is not supported on the Summit X430 platform.
Additional notes Example:
In this example, we will create two VLANs on a switch that can communicate with each other. Port 1 will
VLAN v10 untagged, and port 2 will be in VLAN v20 untagged. Inter-VLAN routing or "ipforwarding" will b
enabled on both VLANs. When done, both PC's should be able to ping their gateways and each
other. Example PC configurations are provided.

Switch configuration:
# remove ports 1 and 2 from default vlan
configure vlan default delete port 1-2
#
#create vlan v10 with a 802.1q tag of 10
create vlan v10 tag 10
#apply IP address to vlan v10
configure vlan v10 ipaddress 10.10.10.1/24
#add port 1 untagged to VLAN v10
configure vlan v10 add port 1 untagged
#
#create vlan v20 with a 802.1q tag of 20
create vlan v20 tag 20
#apply IP address to vlan v20
configure vlan v20 ipaddress 20.20.20.1/24
#add port 2 untagged to VLAN v10
configure vlan v20 add port 2 untagged
#enable inter-VLAN routing on vlan v10 and v20
enable ipforwarding vlan v10
enable ipforwarding vlan v20

PC on port 1 configuration:
IP address: 10.10.10.10
subnet mask: 255.255.255.0
default gateway: 10.10.10.1

PC on port 2 configuration:
IP address: 20.20.20.20
subnet mask: 255.255.255.0
default gateway: 20.20.20.1