11-29-2023 04:24 AM
Hi
I have a simple setup that works with standard catalyst switches but on the 350 it doesn't. I have an access port connected to a firewall for guest on vlan 501, the firewall acts as dhcp server. The vlan is unrouted so no interface vlan 501 on switch, on a catalyst a client on vlan 501 sending a dhcp request to the firewall gets a dhcp address, on the 350 it doesn't work so wondering if there's some config I'm missing. My relevant 350 config is below:
vlan database
vlan 101,201,501
interface GigabitEthernet5
description Connected-to-Primary-FW-Port-Guest
switchport access vlan 501
no macro auto smartport
Thats it, the firewall is a dhcp server in this case. Any help welcome.
Regards
11-29-2023 04:47 AM
So the Gateway and DHCP confgured on the Firewall -
what device you using to get DHCP, what port on the switch its connected, what is the configuration on that Port- that port should also belong to VLAN 501 to get DHCP (by default all ports are on VLAN 1)
so make sure device connected port belong to VLAN 501.
Also you can configure manually PC same subnet as 501 IP address and see are you able to ping FW gateway ?
11-29-2023 05:29 AM - edited 11-29-2023 05:30 AM
Hello @ReadersUK
You Catalyst was a C29XX ? A traditionnal L2 Switch ?
CBS350 act as L3 Sw I think in your case and you need to relay the DHCP requestion to your Firewall.
Add SVI 501 on CBS 350 and add on it this command:
ip dhcp relay enable
Under config-terminal add this command also:
ip dhcp relay address x.x.x.x
With x.x.x.x IP on your Fw.
11-29-2023 06:25 AM
11-29-2023 06:45 AM - edited 11-29-2023 06:47 AM
Ok @ReadersUK
Thanks for that clarification!
On your Firewall, do you see the DCHP Demand from the client ?
11-29-2023 07:52 AM
11-29-2023 10:00 AM
what device you using to get DHCP, what port on the switch its connected, what is the configuration on that Port- that port should also belong to VLAN 501 to get DHCP (by default all ports are on VLAN 1)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide