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

DHCP Relay Agent w/ 1 router & 2 switches

dannyromine
Level 1
Level 1

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

 

 

2 Replies 2

Hi,

are u able to get ip address from DHCP, when using a loptop/PC on Server switch connected to fa0/0 ??

Vivek

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