Advanced Search
Welcome to Omgili,
Omgili (Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.

This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.

O2 Forum :: View topic - Netgear DG834 does not renew WAN IP lease

Netgear DG834 does not renew WAN IP lease by Oliver341 on Fri Jan 30, 2009 8:51 pm I've noticed a problem with my Netgear DG834(v4) modem/router when used on O2 and I wondered if anyone else has seen this.

This only affects dynamic IP users who are not on O2 Access. Every 6 hours the DG834 is supposed to renew the WAN IP lease via DHCP from O2, just as the O2 Box (TG585v7) does.

However, my router doesn't renew the IP lease.

The affect this has is that every 12 hours the internet connection is briefly dropped, meaning all active TCP connections are lost. Have any other non-Access dynamic IP users seen this?

Perhaps it happens on other versions of the DG834 too?

One easy way to check this is to click this link: http://192.168.0.1/setup.cgi?next_file=st_dhcp.htm - there should never be less than 6 hours to go before the IP lease expires.

By Terminator on Sat Jan 31, 2009 12:06 am I use a Netgear router and that didn't renew either.

It did however disconnect occasionally but not regularly.

I've got LLU with dynamic IP. If you plug the O2 box in, it does disconnect and renew the lease (often with the same IP) if you look at the logs.

I could be wrong but looking at the user.ini file, it's to do with the cwmp (remote management) settings in the user.ini file.

When it disconnects to renew, it leaves an entry in the logs relating to TR069 - or similar, but in the Netgear router (or any other non O2 supplied unit) there will be no remote access permitted for the O2 server to connect and renew.

By Oliver341 on Sat Jan 31, 2009 8:02 am As long as the router renews the IP lease every 6 hours then there are no disconnections as the IP lease is extended well in advance of the IP address expiring.

This is what the O2 Box does.

The entry in the O2 Box refers to "DHCC" when the IP address renews I think. For some reason the DG834 fails to renew the IP lease every 6 hours.

It is 08:02 now and the IP lease expires at 12:42.

The router should have got a renewed IP lease at 06:42.

The DHCP specification says that the IP address should be renewed half-way through the IP lease.

The DG834 doesn't need to permit remote access from O2's server as it is the DHCP client inside the router does the communication, although there is a possibility that the router's internal firewall is disrupting communication with the DHCP server. It is good to know that your router is not renewing every 6 hours too, this is definitely a common problem with Netgears.

By Terminator on Sat Jan 31, 2009 1:18 pm I know what you are saying about the renewing of the IP renewing and the internal DHCP client. I have been into the Netgear router (DG834GT) and manually released the IP, left it for a few minutes and renewed it, I still get the same IP even after 6 hours.

I don't think it's a problem as such with Netgear routers - it would be interesting to hear from anyone else using a different make of router to confirm though. With the O2 router - well with mine anyway, it does disconnect and reconnect leaving an entry in the log file with TR-69 and an IP address from an O2 server.

By Oliver341 on Sat Jan 31, 2009 3:04 pm Quote: : I have been into the Netgear router (DG834GT) and manually released the IP, left it for a few minutes and renewed it, I still get the same IP even after 6 hours.

I don't think it's a problem as such with Netgear routers - it would be interesting to hear from anyone else using a different make of router to confirm though. Yeah, the IP doesn't change when the IP expires, it's just that active TCP connections are dropped. Quote: : With the O2 router - well with mine anyway, it does disconnect and reconnect leaving an entry in the log file with TR-69 and an IP address from an O2 server. The O2 router's log shows "DHCC" (Dynamic Host Control Client) in the logs every 6 hours.

The "TR-69" entries relate to something else.

When the O2 router renews the IP lease there is no disconnection involved, that's the whole reason the IP is renewed before it expires. Sadly, the DG834 doesn't manage to renew the lease before it expires.

By Oliver341 on Sun Feb 01, 2009 11:18 am It looks like the firewall inside the DG834 is blocking incoming packets from the O2 DHCP server which in turn is preventing the WAN IP lease from renewing every 6 hours.

I'm working with Netgear to resolve it.

By GRUMPY on Sun Feb 01, 2009 11:20 pm Same here on a DG834GT.

However, it's better that the o2 router (I refuse to call it a 'Wireless Box') which would drop the connection every few hours at random.

At least with the Netgear router I know and when it's going to happen and by renewing the lease manually at a particular time I can set it to happen when I'm least likely to be doing anything important.

By Oliver341 on Wed Feb 04, 2009 2:34 pm Here's the best solution I've found so far (until Netgear release new firmware). Visit: http://192.168.0.1/setup.cgi?todo=debug Then open a command prompt and type: Code: telnet 192.168.0.1 Then at the busybox prompt type: Code: iptables -A INPUT -p udp -s 82.132.253.0/24 --dport 68 -j ACCEPT What this does is open up the firewall so that it accepts DHCP traffic on the range of IP's the O2 DHCP server sits on.

The IP lease should now start to renew via DHCP every 6 hours.

If the router is rebooted then you will have to repeat this.

By Oliver341 on Sat Mar 07, 2009 12:25 pm The new best solution for now is to create the following inbound firewall rule: Service: BOOTP_CLIENT Action: ALLOW always Send to LAN Server: 192.168.0.1 WAN Users: 82.132.253.0 - 82.132.253.254 Log: Always This method will survive a router reboot.

By Oliver341 on Thu Mar 12, 2009 12:59 pm I've had it confirmed from Netgear that they will not be resolving this issue in firmware.

The firewall rule in this thread is the long-term fix.

By candygirl on Fri May 08, 2009 10:11 am I have set my router to block internet connection by time of day to stop the kids staying up half the night on it, but this means the lease can not renew if it needs to overnight.

Does anyone know if i should setup this same rule on the outbound, or would it need to be different for example a bootp_server rule?

By Oliver341 on Fri May 08, 2009 10:39 am On my router, I can set the inbound BOOTP_CLIENT rule to "ALLOW always" which means it is not affected by the Schedule.

Can you do this? If you are blocking outbound connections, and you want to try an outbound rule, BOOTP_SERVER would be the correct rule to add.

Use the same port range as I gave for BOOTP_CLIENT.

Assuming both rules are set to "ALLOW always" you should be ok.

By Oliver341 on Wed Sep 02, 2009 10:55 pm Happily, as of 2 September 2009, my WAN IP has started to renew every 6 hours without my firewall rule in place.

It's still early days, but it looks like this might finally be fixed.

Discussion Title: Netgear DG834 does not renew WAN IP lease
Title Keywords: Forum  View  topic  Netgear  DG834  does  renew  lease