cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
0
Helpful
1
Replies

DHCP not working on L3 Switch

julienhache
Level 1
Level 1

Hello Cisco Community !

I'm currently in school working on a project. To summarize it, I need to connect DHCP Clients on two Catalyst 2960 on a Vlan. These 2960s are connected to a 3560-E (Layer 3 Switch) by a trunk connection. This L3 is connected to a Router 1921.

 

I think that my configs are OK, but I'm scrathing my head still because when I connect in SHCP on my access switches, I get an address but I can't get internet, I can ping the Core Switch but not the Router.

 

I will link my config files after this.

 

The router is connected to internet by 192.168.40.167

The router is connected to core switch by 172.17.2.254

The core is connected to router by 172.17.2.253

The core in trunking 4 VLANS :

VLAN2 = "Vlan_Interne" with 172.17.2.253 /24

VLAN10 = "Serveur_Web" with 172.17.10.14 /28

VLAN20 = "Serveur_Minux" with 172.17.20.14 /28

VLAN50 = "Vlan_Clients" with 172.17.51.254 /23

 

If anyone has any ideas, it would be so nice !

Thx !

1 Reply 1

luis_cordova
VIP Alumni
VIP Alumni

Hi @julienhache 

 

The router must have a route marked to return to the internal networks, either by static routing or by dynamic routing.

Another detail is that the ip configured in the DHCP pool is not the same as the one configured in the inetrface vlan:

33628AB8-5317-459E-9499-D5F1B05C4B46.jpeg57AFE229-BE83-47D6-9929-1C2B6482925C.jpeg

 

Regards

Review Cisco Networking for a $25 gift card