- Posts: 138
- Thank you received: 0
Guest Only VLAN
VLAN 110
- Subnet 10.10.10/24
- Protected business network
VLAN 777
- Subnet 10.10.0.0/24
- Contains WAN Stuff
- Internet Gateway 10.10.0.2
VLAN 666
- Subnet 192.168.0.0/24
- Guest Only VLAN
IP Routes
10.10.10.0 255.255.255.0 Vlan110
10.10.0.0 255.255.255.0 Vlan777
0.0.0.0 0.0.0.0 10.10.0.2
Now, with the routes and configuration above, VLAN 666 can talk amongst itself but can not route anywhere. I want to add a route so that 192.168.0.0 traffic is routed to 10.10.0.2. But, that is the only device on the network it can talk to. What route would I add? I am assuming the answer is adding the following:
(config)# ip route 192.168.0.0 255.255.255.0 Vlan666
(config)# ip access-list extended Guest
(config-ext-nacl)# deny ip any any
(config-ext-nacl)# permit ip 192.168.0.0 0.0.0.255 host 10.10.0.2
(config-ext-nacl)# permit ip host 10.10.0.2 192.168.0.0 0.0.0.255
(config-ext-nacl)# exit
(config)# int vlan 666
(config-if)# ip access-group Guest out
(config-if)# ip access-group Guest in
Would that work? Any suggestions? Is there an easier way to do this? Thanks!
Semper Fidelis!
Andrew
If it is indeed the endpoint, then I believe your your deny ip any any will end up at the top of the ACL list which will block everything. You only need to apply this ACL in one direction.
Okay, this is probably something that is pretty easy but I have found very little documentation on best practices, how to, etc. This is pretty long but I want to make sure I am detailed in my explanation.
VLAN 110
- Subnet 10.10.10/24
- Protected business network
VLAN 777
- Subnet 10.10.0.0/24
- Contains WAN Stuff
- Internet Gateway 10.10.0.2
VLAN 666
- Subnet 192.168.0.0/24
- Guest Only VLAN
IP Routes
10.10.10.0 255.255.255.0 Vlan110
10.10.0.0 255.255.255.0 Vlan777
0.0.0.0 0.0.0.0 10.10.0.2
Now, with the routes and configuration above, VLAN 666 can talk amongst itself but can not route anywhere. I want to add a route so that 192.168.0.0 traffic is routed to 10.10.0.2. But, that is the only device on the network it can talk to. What route would I add? I am assuming the answer is adding the following:
(config)# ip route 192.168.0.0 255.255.255.0 Vlan666
(config)# ip access-list extended Guest
(config-ext-nacl)# deny ip any any
(config-ext-nacl)# permit ip 192.168.0.0 0.0.0.255 host 10.10.0.2
(config-ext-nacl)# permit ip host 10.10.0.2 192.168.0.0 0.0.0.255
(config-ext-nacl)# exit
(config)# int vlan 666
(config-if)# ip access-group Guest out
(config-if)# ip access-group Guest in
Would that work? Any suggestions? Is there an easier way to do this? Thanks!
Semper Fidelis!
Andrew