I have a CIsco switch configured with 2 VLAN, 192.168.1.0 & 192.168.2.0
How can I configure the switch such that these two VLAN can access access a internet router connected to this switch as well ? Any configuration example for reference ?
Thx
* VLANCiscoSwitches / Hubs
Last Comment
Predrag Jovic
8/22/2022 - Mon
Gammelgaard
The two VLANs need the router as default gateway - your router should be part of both VLANs, with ip addresses. Then, on your router you have to make NAT statements for both VLANs
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Does it permit IP address from 192.168.0.0 - 192.168.1.255 ? Correct ?
Thx
Predrag Jovic
Correct.
That's the range I used in example.
For your example - 192.168.1.0 and 192.168.2.0 you need two statements.
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 192.168.2.0 0.0.0.255