EFW Support

Support => General Support => Topic started by: erikgee on Sunday 24 June 2012, 09:45:13 am



Title: DHCP lease on WAN cable modem (EFW 2.5.1)
Post by: erikgee on Sunday 24 June 2012, 09:45:13 am
Today I had a problem that I was not able to access the internet from the GREEN zone. After investigation I found that the Cable modem had changed IP address. I tried almost everything to renew the DHCP lease from within the administrator webconsole, but it kept coming back with the old IP address.  In desperation I loaded a factory default to reconfigure the EFW and that resolved things.

Now I would like to know how to renew the lease on the cable modem if it happens again, not willing to reconfigure when it happens again. Is there a way to renew the ip address of the RED interface from the command line?


Title: Re: DHCP lease on WAN cable modem (EFW 2.5.1)
Post by: fqureshi on Sunday 24 June 2012, 03:37:58 pm
You can setup a fixed lease on your cable modem for your red interface. Then each time it will get the same IP.

Does it make sense?


Title: Re: DHCP lease on WAN cable modem (EFW 2.5.1)
Post by: kashifmax on Sunday 24 June 2012, 08:06:49 pm
Quote
I tried almost everything to renew the DHCP lease from within the administrator webconsole, but it kept coming back with the old IP address.  In desperation I loaded a factory default to reconfigure the EFW and that resolved things.
This is a common issue and I assume your talking about EFW's DHCP lease issue ?

Quote
Now I would like to know how to renew the lease on the cable modem if it happens again, not willing to reconfigure when it happens again.
See all of the options on cable modem as there might be a DHCP section with lease details.

Quote
Is there a way to renew the ip address of the RED interface from the command line?
To refresh the current lease on EFW, login via ssh and type,
Code:
dhclient -r
To obtain new IP from cable modem type,
Code:
dhclient
There is no need to restart the system, above command should work but if you still face this issue than perhaps restart is needed.

If none worked for you than kill the dhcp process (EFW)...
Code:
killall -9 dhcpd