02-17-2022 10:06 AM - edited 02-17-2022 10:06 AM
Josh here and I am new to networking and I am setting up a Catalyst 1000 48 port switch and need help. I know the basics of networking and have learned a lot, but I am not sure what to do here. I am going from a Ubiquiti Edgerouter to the G1/01 port on the Cisco switch. If the Edge router had an uplink port I would have used a direct attach cable because I know that is preferred. I have it set up on the cisco switch as an access port and the internet is working but I am not getting DHCP from the Router. We have static IP addresses for our computers that the previous IT guy had setup along with DHCP but he had a dumb switch installed and I am replacing them with Managed switches. My question is should that port be set as a trunk port? Thanks in advance for your help!
Solved! Go to Solution.
02-17-2022 11:38 AM
If you are using the switch as a layer-2 device only, you don't need to set up any helper-address on it. There should already be a helper-address configured on the router if this was working fine with the dumb hub in the past. Is that the case?
If yes, then all you need on the switch is to create vlan 32 and add this vlan to the port connecting to the router as well as the end device trying to get an IP address
config t
vlan 32
description CameraDVR
exit
If the end device is connected to port 10, the config should look like this
config t
inter 1/0/10
switchport
switchport mode accsss
switchport vlan 32
same config for port G1/01
exit
Now see is the device can get an IP from the router.
HTH
02-17-2022 10:31 AM - edited 02-17-2022 10:32 AM
Hi Josh,
If you are carrying more than one vlan from Ubiquiti Edgerouter to the Cisco switch port G1/01, the switch, as well as the router's port needs to be configured as a trunk. If you only have one vlan then the access port is just fine.
HTH
02-17-2022 11:02 AM
Thanks for your help. Right now I just have an interface called LAN on port eth1 type ethernet coming off the Edgerouter going to the cisco switch and I created a VLAN 32 off of eth1 called CameraDVR and setup a DHCP range as a test but I am not getting DHCP from either the LAN or VLAN32 on the cisco switch. Do I need to setup IP helper on each VLAN as well? I was under the impression I don't have to use IP helper on the vlan the router is connected to. G1/01 is set to VLAN1. I apologize in advance if I sound dumb, this is just all new to me
02-17-2022 11:38 AM
If you are using the switch as a layer-2 device only, you don't need to set up any helper-address on it. There should already be a helper-address configured on the router if this was working fine with the dumb hub in the past. Is that the case?
If yes, then all you need on the switch is to create vlan 32 and add this vlan to the port connecting to the router as well as the end device trying to get an IP address
config t
vlan 32
description CameraDVR
exit
If the end device is connected to port 10, the config should look like this
config t
inter 1/0/10
switchport
switchport mode accsss
switchport vlan 32
same config for port G1/01
exit
Now see is the device can get an IP from the router.
HTH
02-17-2022 01:12 PM
I am going tomorrow to the branch to see if that worked. Thanks for all your help.
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