Layer 3 Virtual Switching
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-22-2015 01:54 PM
Hi,
Can anyone define what the above does?
InterVLAN routing?
Thanks
Can anyone define what the above does?
InterVLAN routing?
Thanks
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-23-2015 02:47 PM
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
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.
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
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-23-2015 09:06 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-23-2015 08:59 AM
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
# configure iproute add 10.10.10.0 255.255.255.0 10.1.1.1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-23-2015 08:28 AM
awesome how do you go about setting up static routes what are the commands?
