Web OS 10.0 Application Guide
Configuring the Local Network
To completely segregate VLAN traffic to its own default gateway, you can configure the local
network addresses of the VLAN. This will ensure that all traffic from VLAN 2 is forwarded to
Gateway 5 and all traffic from VLAN 3 is forwarded to Gateway 6.
Typically, the switch routes traffic based on the routes in the routing table. The routing table
will contain an entry of the configured local network with the default gateway. The route cache
will not contain the route entry. This configuration provides a more secure environment, but
affects performance if the routing table is close to its maximum capacity.
N
OTE
Configuring Default Gateways per VLAN
Follow this procedure to configure the example shown in
1.
Assign an IP address for each router and client workstation.
2.
Assign an IP interface for each subnet attached to the switch.
>> /cfg/ip/if 1
>> IP Interface 1# addr 10.10.1.1
>> IP Interface 1# mask 255.255.255.0
>> IP Interface 1# broad 10.10.1.255
>> IP Interface 1# vlan 4
>> IP Interface 1# ../if 2
>> IP Interface 2# addr 10.10.4.40
>> IP Interface 2# mask 255.255.255.0
>> IP Interface 2# broad 10.10.4.255
>> IP Interface 2# vlan 1
>> IP Interface 2# ../if 3
>> IP Interface 3# addr 172.21.2.200
>> IP Interface 3# mask 255.255.255.0
>> IP Interface 3# broad 172.21.2.255
>> IP Interface 3# vlan 2
>> IP Interface 3# ../if 4
>> IP Interface 4# addr 172.21.3.200
>> IP Interface 4# mask 255.255.255.0
>> IP Interface 4# broad 172.21.3.255
>> IP Interface 4# vlan 3
n
60
Chapter 2: VLANs
–
Web OS allows you to configure up to five local networks.
Figure
2-6:
(Select IP interface 1 for gateway 5 &
6 subnet)
(Assign IP address for interface 1)
(Assign mask for IF 1)
(Assign broadcast address for IF 1)
(Assign VLAN 4 to IF 1)
(Select IP interface 2 for gateway 1)
(Assign IP address for interface 2)
(Assign mask for IF 2)
(Assign broadcast address for IF 2)
(Assign VLAN 1 to IF 2)
(Select IP interface 3 for VLAN 2
subnet)
(Assign IP address for interface 3)
(Assign mask for IF 3)
(Assign broadcast address for IF 3)
(Assign VLAN 2 to IF 3)
(Select IP interface 4 for VLAN 3)
subnet)
(Assign IP address for interface 4)
(Assign mask for IF 4)
(Assign broadcast address for IF 4)
(Assign VLAN 3 to IF 4)
212777-A, February 2002