Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k

802.1x guest-vlan gateway with multiple switches

Hello,

My question is simple. How do you handle default gateway assignment in DHCP to guest vlan when multiple switches are in place. Lets say Microsoft DHCP server configured, ip helper-address configured in switches, SW1 has a guest vlan interface IP of 172.16.20.1 and SW2 has 172.16.20.2. How can we make DHCP assign 20.2 as default gateway to any dot1x disabled PCs in SW2 and 20.1 to ones in SW1?

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: 802.1x guest-vlan gateway with multiple switches

I think what you are asking is how you assign default gateway to PC/host depending on which switch/router they are connected to? The answer is it does not matter which switch they are connected to, as long as the default gateway is reachable from either switch. Just pick one, or better yet, do HSRP, that way you would not have both routers/switches backing each other up. Or if this is not what you are asking then maybe it's better to have to separate guest vlan one for each switch.

Does that make sense?

2 REPLIES

Re: 802.1x guest-vlan gateway with multiple switches

I think what you are asking is how you assign default gateway to PC/host depending on which switch/router they are connected to? The answer is it does not matter which switch they are connected to, as long as the default gateway is reachable from either switch. Just pick one, or better yet, do HSRP, that way you would not have both routers/switches backing each other up. Or if this is not what you are asking then maybe it's better to have to separate guest vlan one for each switch.

Does that make sense?

Re: 802.1x guest-vlan gateway with multiple switches

Hello Roberto,

Thanks for your response, perfectly makes sense.

Regards

124
Views
0
Helpful
2
Replies
CreatePlease to create content