Hello everyone,
I have a bit of an issue. I'm going to simplify the network that i have (that it's pretty simple).
One router with 192.168.1.1 (example)
One switch 6350 with 2 VLAN's (1 and 2) 192.168.1.0 and 192.168.2.0
I enable both vlans, have an ip interface for both (192.168.1.250 for vlan1 and 192.168.2.1 for vlan2). Vlan1 pings (of course) 192.168.1.1 and for obvious reasons vlan2 doesn't ping 192.168.1.1. My question is:
Imagine there is no way to trunk the connection between router and switch so it can "transport" both vlans, does the 6350 have any Layer3 capability (i know he's layer2+) so i can at least give internet access to vlan2? Basically InterVlan.
Like using a static route (i tried but maybe it doesn't work or i'm doing it wrong) that says that I want that the traffic that comes and goes through 192.168.2.0 uses a gateway in Vlan 1? Something like this
Thanks for your time.
Hugo
Routing through 6350
Re: Routing through 6350
As it works on 6250 i guess it should do on 6350 as well.
ip static-route 0.0.0.0/0 192.168.1.1 on the switch.
You need to have a route on the router pointing 192.168.2.0 -> 192.168.1.250
You need to have a default route on devices in 192.168.2.0 pointing to 192.168.2.1
You need to have the ports for the devices in VLAN 2 have in the correct default vlan
Try pinging 192.168.2.1 from devices
Try pinging 192.168.1.250 from devices
Try pinging 192.168.1.1 from Switch
Try pinging 192.168.1.1 from devices
Try pinging 192.168.1.250 from router
Try pinging 192.168.2.1 from router
everything should work.
Afterwards you need NAT on router to enable 192.168.2.0 -> Internet
ip static-route 0.0.0.0/0 192.168.1.1 on the switch.
You need to have a route on the router pointing 192.168.2.0 -> 192.168.1.250
You need to have a default route on devices in 192.168.2.0 pointing to 192.168.2.1
You need to have the ports for the devices in VLAN 2 have in the correct default vlan
Try pinging 192.168.2.1 from devices
Try pinging 192.168.1.250 from devices
Try pinging 192.168.1.1 from Switch
Try pinging 192.168.1.1 from devices
Try pinging 192.168.1.250 from router
Try pinging 192.168.2.1 from router
everything should work.
Afterwards you need NAT on router to enable 192.168.2.0 -> Internet
-
- Member
- Posts: 1
- Joined: 07 May 2021 06:03
Re: Routing through 6350
Hello guys,
Please help me with step by step command to configure 2 VLAN to communicate to each other. Let's say I have:
*vlan1 with 192.168.1.1 and
*vlan2 with 192.168.2.1.
What commands should I introduce in order to obtain the VLANs routing between them? And what Gateway address should I put into the connected PCs to both VLANs?
The switch model is OS6350.
Thank you very much.
Please help me with step by step command to configure 2 VLAN to communicate to each other. Let's say I have:
*vlan1 with 192.168.1.1 and
*vlan2 with 192.168.2.1.
What commands should I introduce in order to obtain the VLANs routing between them? And what Gateway address should I put into the connected PCs to both VLANs?
The switch model is OS6350.
Thank you very much.