03-20-2015 04:53 PM
Hey guys,
I am not at the equipment right now, but working with an 1800 series router and two cisco switches. I am also running a Windows Server 2008 setup with two DHCP pools for the two switches. Switch one right now is just the server and one printer, switch two has multiple PCs. I am trying to set up the router as a relay agent to get the DHCP information from the server. Here is my current configuration and to the best I could find/follow should be correct but DHCP does not work at all. If I hook everything into just 1 switch, DHCP does work.
Like I said I am not at the equipment right now, but this is racking my brain as to why it its not working and hopefully someone has some insight :).
enable
service dhcp
ip dhcp relay information option
config t
interface fastethernet 0/0
ip address 192.168.XXX.XXX 255.255.255.192 (First subnet w/ just the server and printer)
ip helper-address 192.168.1.7
no shutdown
exit
interface fastethernet 0/1
ip address 192.168.XXX.XXX 255.255.255.192 (Second subnet w/ all the PCs)
ip helper-address 192.168.1.7
no shutdown
05-08-2015 01:50 AM
Hi,
are u able to get ip address from DHCP, when using a loptop/PC on Server switch connected to fa0/0 ??
Vivek
05-08-2015 11:04 PM
Hi, To me it looks like a Vlan problem. How are the switches connected from the router? does switch 1 connect to fa0/0 and switch 2 connect to fa0/1? how do you connect to 192.168.1.7?
regards
Richard
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