cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1567
Views
0
Helpful
2
Replies

(DHCP, DHCP Relay & InterVlan)

baba_yaga
Level 1
Level 1

I didnt get ip address for my Client PC & the error message is "dhcp failed apipa being used" I try to make DHCP server on Router, DHCP Relay on Multilayer Switch & Vlan on Switch.

This is the topologyDHCP, DHCP Relay & InterVlanDHCP, DHCP Relay & InterVlan

 

 

https://drive.google.com/file/d/1HCKjW13ZRWCPj8VsEdNwnmzbDyk6J7cA/view

What I missed for configuration, thanks

1 Accepted Solution

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

I found some misconfigurations on devices as:

 

Router:

a. Remove the subinterface (Gig0/0.10) for VLAN 10 because L3 routing is configured on Multilayer switch. 

   Run the following command

   "no interface gig0/0.10

B. Add a route toward to inside network (VLAN 10)

   Run the following command

    "IP route 192.168.1.0 255.255.255.0 10.10.10.2"

 

Switch

a. Make trunk to interface GigabitEthernet0/2

   Run the following command

   "Switchport  encapsulation dot1q"

   "Switchport mode trunk"

 

Don't forget to vote, If your query will be resolved.

 

Thanks,

Deepak Kumar

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

2 Replies 2

Deepak Kumar
VIP Alumni
VIP Alumni

I found some misconfigurations on devices as:

 

Router:

a. Remove the subinterface (Gig0/0.10) for VLAN 10 because L3 routing is configured on Multilayer switch. 

   Run the following command

   "no interface gig0/0.10

B. Add a route toward to inside network (VLAN 10)

   Run the following command

    "IP route 192.168.1.0 255.255.255.0 10.10.10.2"

 

Switch

a. Make trunk to interface GigabitEthernet0/2

   Run the following command

   "Switchport  encapsulation dot1q"

   "Switchport mode trunk"

 

Don't forget to vote, If your query will be resolved.

 

Thanks,

Deepak Kumar

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!


@Deepak Kumar wrote:

I found some misconfigurations on devices as:

 

Router:

a. Remove the subinterface (Gig0/0.10) for VLAN 10 because L3 routing is configured on Multilayer switch. 

   Run the following command

   "no interface gig0/0.10

B. Add a route toward to inside network (VLAN 10)

   Run the following command

    "IP route 192.168.1.0 255.255.255.0 10.10.10.2"

 

Switch

a. Make trunk to interface GigabitEthernet0/2

   Run the following command

   "Switchport  encapsulation dot1q"

   "Switchport mode trunk"

 

Don't forget to vote, If your query will be resolved.

 

Thanks,

Deepak Kumar

 

 


Thanks man it works, Ok correct me if I wrong.
So in router do not add subinterface (Gig0/0.10) again for VLAN?
Must Add a route toward to inside network (VLAN 10) and use "IP route 192.168.1.0 255.255.255.0 10.10.10.2" like that or can I add any route dynamic?
And if I don't use Router just Multilayer switc(as DHCP server too) directly connect to switch must add too ip route?

pkt file : https://drive.google.com/file/d/1GbMmN9cDQFKzL2BuGS9irJzWZOB3PvkF/view
Sorry if add my question in this thread