04-18-2013 07:18 AM - edited 03-07-2019 12:54 PM
According to the diagram, i wanna make R3 a dhcp server and provide ip addresses to different vlans,
vlan 10 is on PC1 and PC4 and network address is 192.168.1.0
vlan 20 is on PC2 and PC5 and network address is 192.168.2.0
vlan 30 is on PC3 and PC6 and network address is 192.168.3.0
what should i do to pass the dhcp broadcast from R1 and R2 and reach R3 and R3 provide the ip addresses to vlan and their PCs?
Solved! Go to Solution.
04-19-2013 12:07 PM
Hi,
if you are doing this on PT then these debugs are not implemented but what you can do on R3 to see if it receives DHCP messages is this:
permit udp any bootpc any bootps
permit ip any any
on the serial interface of R3:
ip access-group debug_dhcp in
then on a client do a ipconfig/renew and then on R3: do sh access-list debug_dhcp and see if you got hit counts against the first entry.
if it is the case then your DHCP messages are relayed to R3.
next on the next-hop router towards your client, on the serial interface do the same but change the ACL like this:
permit udp any bootps any bootpc
permit ip any any
and again look at the hit count to see if you get replies from R3 and if it is ok then do the same on the last hop connected to the client to see if the server messages make it there.
Regards
Alain
Don't forget to rate helpful posts.
04-20-2013 06:33 AM
hello everyone!
my work is done after i remove nat from R3 and R1 and now PCs getting ip addresses , and i think due to nat dhcp broadcast was not reachable to the dhcp server and also not getting back..
and thanks everone for help me out
Regards Muhammad Awais
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