🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.internet.wireless
Article #45

Re: Haldbridge modem & DD-WRT DHCP problem

#45
From: Jeff Liebermann
Date: Fri, 27 Jun 2008 16:26
67 lines
3981 bytes
On Thu, 26 Jun 2008 15:14:29 -0700 (PDT), BigAl.NZ@gmail.com wrote:

>Hi All,
>
>Hope someone here can help. I am having a problem with the following
>setup:
>
><Internet>----<Dlink 502G ADSL modem>-----<DD-WRT router>-----<Windows
>XP PC>
>
>Dlink 502G : in half bridge mode, so as I understand it, it should
>terminate my PPPoA connection, but pass on the real world IP to the DD-
>WRT. Address to access setup pages is 10.1.1.1. Is being assigned
>dynamic IP's by ISP.
>
>DD-WRT : Getting the real world IP from the Dlink 502G ok. Setup pages
>is 192.168.1.1. Assigns IP's to clients in the range 192.168.1.100.
>
>Now the problem is that when the Dlink 502G resynchs, for whatever
>reason, the new IP is not being passed on to the DD-WRT. I can fix
>this by manually going into the DD-WRT setup pages and clicking on
>DHCP renew, but I am assuming it shoud be updating the IP after a
>resynch automatically?
>
>Anyone have any suggestions?
>
>I will try to post some links to screen shots of the setup later.
>
>Cheers
>
>-Al
>PS: DD-WRT running on Linksys v1, V24 stable.

I see that going from v23 to v24 didn't help.
The 192.168.1.xxx IP's are not involved.  Those are the LAN side IP's
that are assigned by the DHCP server in the DD-WRT router.  That's
working.

What's apparently not working is the WAN side DHCP client (not
server).  A few problems.
1.  When you power cycle the DSL modem, there should be no change in
IP address.
2.  If your ISP uses an ATM disconnect (from the modem) to issue a new
IP address, the DHCP client (in DD-WRT) will not notice until it's
time to renew the DHCP lease.  The only way that's going to happen is
if you power cycle BOTH devices or force a renewal from the setup
pages.
3.  There is no mechanism for the DHCP server to inform the client
that it's time to renew BEFORE the lease expires.  For example, if the
DHCP server issued a lease for 24 hours, the client will try to renew
at 12 hours and will not request a new IP until the full 24 hours are
up.
4.  There are kludges to solve this problem.  One is a simple shell
script that tests for connectivity to the ISP gateway.  If it fails,
it forces at a WAN side disconnect:
  ifconfig vlan1 down
followed by a reconnect:
  ifconfig vlan1 up
which I think (not sure) initiates a new DHCP negotiation.  I can try
it here, but not for a few days.  Bizzzzeeeee.


-- 
Jeff Liebermann     jeffl@cruzio.com
150 Felker St #D    http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann     AE6KS    831-336-2558
Technical Details
Message-ID: <8r3a649gger5v6u8hj9ijgme5vaua8h1qu@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
References: <0d11a378-6e97-4bdd-9c1f-1a61800b6e9c@s21g2000prm.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 104fd2,396ccc4f2596477e
X-Google-Thread: faa3c,396ccc4f2596477e
X-Google-Attributes: gid104fd2,gidfaa3c,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 27 Jun 2008 11:26:15 -0500
From: Jeff Liebermann <jeffl@cruzio.com>
Newsgroups: alt.internet.wireless,24hoursupport.helpdesk
Subject: Re: Haldbridge modem & DD-WRT DHCP problem
Date: Fri, 27 Jun 2008 09:26:14 -0700
Message-ID: <8r3a649gger5v6u8hj9ijgme5vaua8h1qu@4ax.com>
References: <0d11a378-6e97-4bdd-9c1f-1a61800b6e9c@s21g2000prm.googlegroups.com>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 67
X-Trace: sv3-gyk27rbyJz5qc9fLRHnUN5NjibBkE3J31mDA0Tr3a361xVAGao/WrK1lEvYmT+zErktJtFuBxKghX1f!XSligUeRdjdPSh10Dc9e3COjhZNMOS90y3QxJW3iwLE49P1tN5/N7u+kjtmmUr2NPqsC0/HctxKn!EeC60A==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39