Layer 3 Virtual Switching


Userlevel 1
Hi,

Can anyone define what the above does?

InterVLAN routing?

Thanks

8 replies

Userlevel 4
if you want to communicate between two different vlan, you have to enable the ip forwarding.
Userlevel 1
can this be done on the X430?
Userlevel 7
JeremyClarkson wrote:

can this be done on the X430?

No, the X430 is a layer 2 only switch and doesn't have any routing capabilities.
Userlevel 5
Layer 3 Virtual Switching is a fancy way of saying "This switch can be configured as a router". So instead of dedicating a separate device (the router), you can set up your VLANs, assign their virtual interfaces IP addresses, turn on IP Forwarding, configure static router or a routing protocol, and you're good to go.
Userlevel 1
awesome how do you go about setting up static routes what are the commands?
Userlevel 7
i.e. a static route to the network 10.10.10.0/24 via the interface 10.1.1.1

# configure iproute add 10.10.10.0 255.255.255.0 10.1.1.1
Userlevel 1
thanks

for example I have a:

192.168.0.1/24 windows client on 'vlan1' with switch port 1 on access: interface 192.168.0.254

'vlan2' has 10.0.0.0/8 network with switch port 1 on trunk: interface 10.0.0.254

I want to ping clients on the 10.0.0.0 network from my windows client.
Userlevel 6
ClassicD,

As long as the clients in each of those networks have the switch as their default gateway (192.168.0.254 for clients in vlan1 and 10.0.0.254 for clients in vlan2) you don't need to add static routes, because the switch knows how to route between those subnets. Just make sure routing is enabled with the command
enable ipforwarding[/code]

If the clients have a different default gateway (not the switch), then you will have to configure static routes in those external routers.

The router acting as default gateway in subnet 192.168.0.0/24 should have a route to 10.0.0.0/24 with 192.168.0.254 as next hop, while the router in subnet 10.0.0.0/24 should have a route to 192.168.0.0/24 pointing to 10.0.0.254 as next hop.

Reply