07-03-2019 10:29 PM
I have a cat 3850 as core switch. And 1 cat3850 and 1 cat 9300 as access switches. Any client that gets plugged into an access switch I need it to pull an ip via dhcp from the core switch.
So, how do you make this happen. I believe I may be missing something.
-SVI are created on core
-Vlans are created and access ports are configured with the respective vlans on the access switches.
- the links connecting the core switch to each access switches are configured as trunks.
-I created 3 dhcp pools for my 3 on the core switch.
-used network command
-used default-router command which is gateway of each SVI.
There are no SVIs on the access switches, just the access ports and the trunk link.
Solved! Go to Solution.
07-04-2019 11:23 AM
Hi @richard.abeyta ,
Your settings look ok.
Just to discard, check this:
-In your switch core must exist the vlan associated with the SVIs
-In the trunk links, try entering the command switchport trunk encapsulation dot1q
Regards
07-03-2019 11:08 PM - edited 07-03-2019 11:20 PM
07-04-2019 02:18 AM
07-04-2019 02:21 AM
Hello
Can you share you core switch configuration (including the dhcp pools)
Just to confirm, do you ip routing enabled on the core switch and disabled on the access switches?
07-04-2019 08:49 AM
07-04-2019 03:47 AM
Hello,
just to add, make sure you have 'spanning-tree portfast' configured on the access ports, and excluded the ip addresses of the SVIs from the DHCP pools:
interface GigabitEthernet0/0
switchport mode access
switchport access vlan X
spanning-tree portfast
!
ip dhcp excluded-address 192.168.10.1
!
ip dhcp pool VLAN10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4
!
interface Vlan10
ip address 192.168.10.1
07-04-2019 08:50 AM
07-04-2019 08:59 AM
07-04-2019 11:23 AM
Hi @richard.abeyta ,
Your settings look ok.
Just to discard, check this:
-In your switch core must exist the vlan associated with the SVIs
-In the trunk links, try entering the command switchport trunk encapsulation dot1q
Regards
07-04-2019 02:41 PM
07-04-2019 03:18 PM
Hi @richard.abeyta ,
Could you compress your PT exercise (winzip) and attach it to review your settings?
Regards
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