Page 1 of 1

DHCP not working

Posted: Wed Apr 25, 2012 12:23 am
by lyle
Hello. I just unwrapped my new routerboad 435g yesterday. I have managed to get everything working except the dhcp server. Not on eth2 or wlan1. I have read the manual and this does not seem to work for me. Please help, I have spent all afternoon trying to figure what I have done wrong.
Thanks

Re: DHCP not working

Posted: Wed Apr 25, 2012 12:30 am
by cbrown
Are the ports in a bridge? If they are you don't apply the server to the ports but to the bridge. Same applies to your IP address.

Re: DHCP not working

Posted: Wed Apr 25, 2012 12:36 am
by lyle
I had them bridged at first and applied the server to the bridge. When this did not work I did a complete reset and tried eth2 and wlan1 with dchp server and no bridges. Right now there are no ports in the bridge. Is there an easy way to send you my configuration. I still have a lot to learn. I usually use ddwrt. This is a much better system if i can get it running.

Re: DHCP not working

Posted: Wed Apr 25, 2012 1:21 am
by acim
Reset configuration, put interfaces in bridge, give IP to the new interface and run

/ip dhcp-server setup

Re: DHCP not working

Posted: Wed Apr 25, 2012 1:52 am
by lyle
I am having a lot of trouble with this. My router is has default ip of 192.168.88.1 . I have eth2 and wlan1 bridged on bridge1. I am setting up dhcp server on bridge1. What should I set DHCP Address Space to? Gateway for DHCP Network? DHCP Relay? Obviously I am doing something wrong. Thanks


"give IP to the new interface and run" Am I missing a step here?

DHCP not working

Posted: Wed Apr 25, 2012 2:45 am
by cbrown
Use the dhcp setup wizard.

Re: DHCP not working

Posted: Wed Apr 25, 2012 3:11 am
by lyle
I am using the setup wizard. Ip>Dhcp sercer>dhcp setup. Using webfig v5.2 . There are no defaults showing up. DHCP Address Space shows 0.0.0.0/0. I input 192.168.0.0/24 for this. and 192.168.0.1 for gateway and relay show up. 192.168.0.2-192.168.0.254 shows up as well. Still no dhcp on eth2 and wlan1.
Lyle

Re: DHCP not working

Posted: Wed Apr 25, 2012 3:23 am
by lyle
I am guessing I need addresses in ip>addresses. I only see the default on eth1 of 192.168.88.1 and cannot figure out or find the documentation on this.

Re: DHCP not working

Posted: Wed Apr 25, 2012 11:25 am
by acim

Re: DHCP not working

Posted: Wed Apr 25, 2012 3:15 pm
by cbrown
Correct, you will need an IP address on whatever interface you are trying to use the dhcp server. Once you have that, the wizard will automatically fill in the information for you. You shouldn't really have to change any information in the dhcp setup wizard.

Re: DHCP not working

Posted: Fri Apr 27, 2012 4:02 am
by lyle
Sorry for the late reply. I got it up and running and posted that it worked. For some reason my post never showed up on the forum.
Thanks
Lyle