  TilhasBB Formally Goden99 Premium join:2000-08-05 canada
| Weird Tomato DHCP Issue
I am having a DHCP problem thats driving me crazy. I seem to be missing something. If you guys can take a look i'd be grateful.
When a computer LAN or WIFI tries to log into the internet, It would not work. It would be assigned an IP and can access the router and local network but NOT the internet.
If you look at the Device list, Under ethe1, its assigned an IP but the Name is blank and Lease is Blank. Rebooting the machine or router several times does not help. The machine must manually be assigned a different ip, then set to automatic to get internet access. Problem still happens after that's been done a few days later and the same procedure must be repeated.
Here's what i've tried. - Erase all data in NVRAM memory (thorough). - Reput the Tomato/MLPPP Version 1.22-mp3alpha5er1 firmware. - Changed SSID - Formatted and reinstalled windows 7 (7100) on XPS M1330 Laptop. - Formatted and reinstalled windows xp on Inspiron 6400 - Changed DHCP Range to what automatically initially assigning to 192.168.1.51 to 192.168.1.100 - Changed SSID and put only basic configuration (PPPOE MLPPP On with SSID wireless, disabled Bandwidth monitoring)
2 DSL Links running Dual MLPPP on WRT54GL. Not Overclocked and wifi running on default 42mw running in ventilated area away from anything electronic. |
|
  An_Onymous
@teksavvy.com | You might want to look at the CPU loads for your mlppp 2 lines and wireless configuration. I remember reading about CPU usage might be too much for that. |
|
 loginatnine
join:2009-05-24 Montreal, QC
1 edit | reply to TilhasBB Hey there
I'm having the EXACT same problem, I've even ordered another wrt54gl and the same thing happen!!! When friends come over, they can connect fine like 1 time out of 4 I would say. I have to give them a static DHCP lease in order for it to work. Basically, my DHCP range is from 192.168.1.100 to 192.168.1.149 and almost each time someone try to connect, it gives them an address like 192.168.1.7 or .4, they can access the LAN and the router config page fine but no internet... Glad to know I'm not the only one with this problem, however, I haven't found a solution yet...I'm on velcom with a single DSL line, mlppp activated.
EDIT: these commands solved the problem for a few days but it didn't last...Feel free to try it though »www.linksysinfo.org/forums/showt···?t=60509 |
|
 paulwye
join:2007-02-17 Toronto, ON
·TekSavvy Solutions..
1 edit | reply to TilhasBB The one thing I've noticed about tomato is that it seems to want to accomodate requests to assign the same IP that the client had previously. For example:
A machine (we'll say a laptop) is on a random network, and is assigned an IP address of 192.168.0.135. Then it comes home and is connected to your router running tomato. I believe that, with DHCP, the laptop will request 0.135 again, and as I say, Tomato seems to be willing to assign that, instead of going sequentially (0.100, 0.101, 0.102, etc.). Now, why it would be agreeing to assign IPs outside the DHCP range you've specified, I have no clue. But that may be a start.
EDIT: The link to the Linksys forum posted above points to a fix for a problem that I had (as it happens, I have two old machines with 2200BG cards). I thought it was specific to the Asus router, but it's actually to do with the Tomato ND firmware. The other thing to note here is that the connection wasn't stable until I updated the wireless drivers on the client computers, and on one of them, it wouldn't talk to the Internet with Windows managing the connection (like yours, it got an IP as I recall, but no communication). I had to use the Intel PRO/Wireless utility to manage the connection, and everything's been fine since... |
|
 loginatnine
join:2009-05-24 Montreal, QC
| I think that you're right, the computers who have problem always request the same IP over and over...
May I refer you to my old thread where one very helpful man pointed me to the commands I was referring in my earlier post. It worked at the beginning but the problem came back eventually...And it's not only with intel card I can confirm that my ipod touch and my friend's iphone have the same problem (unless a static dhcp is assigned to their mac address)
»www.linksysinfo.org/forums/showt···st343108 |
|
 paulwye
join:2007-02-17 Toronto, ON
·TekSavvy Solutions..
| Hrm. The only two thoughts that immediately come to mind are:
1. Have you double-checked your network config in Tomato? As I recall, the out-of-the-box settings are weird, but that could be because I changed it from 192.168.1.0/24 to 192.168.0.0/24....lease times were set really high, but it won't actually accept anything higher than 10080.
2. The other thing to try would be to put yourself on a different subnet...say...192.168.6.0/24...something not commonly used, like .0 (D-Link) .1 (Linksys) and .2 (Belkin, some Bell stuff) are...that way, even if the devices request an IP that's 1.xxx, the router should say "No way, Jose" and give it an IP on the new subnet...
Cheers,
-Paul |
|
 loginatnine
join:2009-05-24 Montreal, QC
| 1- Yea my network settings are fine in tomato, dhcp range is from 192.168.1.100 to 192.168.1.149. Does the lease times could have an effect?
2- Just to be sure I'm understanding what you say, you suggest I change the router gateway address to something less familiar like 192.168.2.1 so the dhcp range could be something like 192.168.2.100 to 192.168.2.149? If that's what you're trying to say, that's actually not a bad idea at all, it's pretty late around here and I manage like 6 laptops on my network so I don't want to try it right now but it's definitely worth a shot...
But damn, why the hell does tomato does that anyway??? Is that a bug I should report maybe?
Thanks for your help Paul, much appreciated! |
|
 paulwye
join:2007-02-17 Toronto, ON
·TekSavvy Solutions..
| It's hard to say...I don't actually mind, because I sort of like static IPs, and this is almost as good, without having to assign a DHCP reservation to the MAC address. As it happens, the places to which our laptops travel are all on .0 subnets, so I can't really tell you if my router screws up this way or not...I'll try to experiment this week if I can. |
|
  TilhasBB Formally Goden99 Premium join:2000-08-05 canada
| reply to loginatnine Thanks for the input guys. I just applied the fix on the linksys site and keep you posted if it helps.
The DHCP range isn't the program both laptops and iphone would magically want to go between 192.168.1.60 to 192.168.1.90 So I changed the range to 192.168.1.50 to 192.168.1.100 Even when the laptops connected with an ip in that range there is no internet....
I just changed the Router IP to 192.168.2.1 and range to 192.168.2.51 - 192.168.2.100 and lease time to 800minnutes. Nothing worked. rebooted both laptops, tried assigning ip in that range then set to automatic but reverted back to the 192.168.1.x range. |
|
  jfmezei Premium join:2007-01-03 Beaconsfield, QC
·ELECTRONICBOX
| If a client thinks its DHCP lease is still valid, it will request a "renew".
If a DHCP server accepts to renew an IPO lease that is outside of the range the DHCP server has been given, it should be considered a bug. It may agree to renew it if it is in the same subnet.
One thing to verify: does your client with a "foreign" lease get new coordinates for the default route (aka: gateway) as well as dns servers, or does it keep those from its old DHCP lease obtained from another location ? This might explain its inability to reach the internet if it doesn't know the Ip address of the local router. |
|
 loginatnine
join:2009-05-24 Montreal, QC
| reply to TilhasBB Is a lease under the 192.168.1.100 mark even valid? I mean, does anyone here has a valid setup and its dhcp range set up to 192.168.1.2 to 192.168.1.99? Because if tomato allow a dhcp request under the .100 mark and it's never working under that mark, this should definitely be considered as a bug...
I have yet to see a computer with this problem, everyone is gone for the day so I can't check what you're asking jfmezei but I'll try to get the answer asap! |
|
  TilhasBB Formally Goden99 Premium join:2000-08-05 canada | reply to jfmezei I will check next time i get booted off the net.
I had to go into the Tomato Basic Network Setting and set DHCP's range to 192.168.1.51 - 192.168.1.100 |
|
  Davesnothere
@teksavvy.com
| reply to jfmezei said by jfmezei :One thing to verify: does your client with a "foreign" lease get new coordinates for the default route (aka: gateway) as well as dns servers, or does it keep those from its old DHCP lease obtained from another location ? This might explain its inability to reach the internet if it doesn't know the Ip address of the local router. You may be onto something...
I have Zero experience with Tomato firmware, but in terms of generalities, the described symptoms smack of a DNS problem, IMHO.
Personally, I DO prefer to use Static IPs within my local network (makes port forwarding easier to setup, and most times when a router needs restarting, I have found that it was due to a DHCP problem, and using Static Local IPs usually also avoids that issue), and when you do this on PCs running XP, they then insist that you manually enter your DNS settings, which can be those which your ISP told you to use, OR, you can choose to enter the same IP address as your Gateway (local router).
While you're at it, the proper Gateway IP itself needs to be entered into each computer's network settings no matter whether or not you use Static Local IPs like me.
When I switched from Bell to TSI last year (insert cheer here), I originally forgot that I had previously manually entered Bell's DNS's into my XP PCs AND into my router's main setup screen, and sometime along the way, Bell had chosen to lock down their DNS servers, so that if I was not logged into THEIR service anymore (and I had just made my change), that the Bell DNS servers would ignore me most of the time, giving me no web pages but OK local net. - Changing them to TSI's DNS's solved that. (my Win98SE PC was set up as DHCP and was therefore not bothered by any of this)
One way to test whether you have a DNS problem is to enter the actual IP address of a website into your browser instead of the web address, if you know or can find out any beforehand, and if you only can access the web site THAT way, then DNS is your category of problem.
Another thing to try on any problem computer is to run WINIPCFG (on XP at least), and tell it to release all the settings it has gathered thru the DHCP of your router (as often even a computer restart will not clear these).
Hope there is some help in all of this...
Cheers ! |
|
  Davesnothere
@teksavvy.com
| reply to TilhasBB said by TilhasBB :I am having a DHCP problem thats driving me crazy. I seem to be missing something. If you guys can take a look i'd be grateful. When a computer LAN or WIFI tries to log into the internet, It would not work. It would be assigned an IP and can access the router and local network but NOT the internet. If you look at the Device list, Under ethe1, its assigned an IP but the Name is blank and Lease is Blank. Rebooting the machine or router several times does not help. The machine must manually be assigned a different ip, then set to automatic to get internet access. Problem still happens after that's been done a few days later and the same procedure must be repeated. Just one More Thing (Columbo humour) 
I have seen some routers (D-Link DI-524, for one) which can do something in between Static IP and DHCP.
Funny enough, D-Link calls this 'Static DHCP', and it's in the DHCP screen.
What happens is that one one line of the form, you specify to the router the MAC address if the network interface of a particular computer you will be using, and on another line, you specify what valid local IP address to assign to that particular MAC, so that any time the router sees that PC, it gives it that IP.
Maybe the Tomato system does something like that, but only when IT feels like it.
Just one more straw at which to grab... |
|
  TilhasBB Formally Goden99 Premium join:2000-08-05 canada
1 edit | It happened again...
Boot up NO Internet
Windows IP Configuration
Host Name . . . . . . . . . . . . : ACER-One Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Peer-Peer IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : lan
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : lan Description . . . . . . . . . . . : Atheros AR5007EG Wireless Network Ad apter Physical Address. . . . . . . . . : 00-22-69-84-5A-XX Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 192.168.1.68 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : 192.168.1.254 Lease Obtained. . . . . . . . . . : Wednesday, May 27, 2009 11:55:40 AM Lease Expires . . . . . . . . . . : Thursday, May 28, 2009 11:55:40 AM
Put Random Static IP in range. it gets static ip, then put it back to automatic. VOILA internet works...
Windows IP Configuration
Host Name . . . . . . . . . . . . : ACER-One Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Peer-Peer IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Atheros AR5007EG Wireless Network Ad apter Physical Address. . . . . . . . . : 00-22-69-84-5A-XX Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 192.168.1.60 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DNS Servers . . . . . . . . . . . : 192.168.1.1 Lease Obtained. . . . . . . . . . : Wednesday, May 27, 2009 11:58:22 AM Lease Expires . . . . . . . . . . : Thursday, May 28, 2009 1:18:22 AM
What i see that is wrong is Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : 192.168.1.254
Why is that??? |
|
  Davesnothere
@teksavvy.com
| said by TilhasBB :What i see that is wrong is : Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : 192.168.1.254 Why is that??? As I said earlier, I do not have any Tomato-specific experience, but let me ask...
Are the problem numbers all a part of 'status' screens, and does Tomato allow you to specify them somewhere on some other screen (as the original Linksys firmware did) ?
If yes to that, then what do you currently have entered in there ?
If blank, then enter the numbers which worked, to force it (hopefully) to use those numbers, and BTW, 192.168.1.1 coincidentally is the factory default IP for a WRT54 router with Linksys firmware.
Alternately, is there any reason why you should not just keep the static local IP (since it works) ?
(Besides, of course not letting the problem win.)
As mentioned earlier, I have always found static local IP's to be more stable, in a lot of ways, and especially when running a PC WIRELESS on a local net.
Hope that is of help... |
|
  TilhasBB Formally Goden99 Premium join:2000-08-05 canada
| Davesnothere> Thanks for the input. So your saying DISABLE DHCP and get every computer to get static IP? I'd rather not do that, when people come over I just want to give them my wireless password.
These are the only two pages with network settings. |
|
  derekm
join:2008-02-26
·TekSavvy Solutions..
·Rogers Hi-Speed
| reply to TilhasBB said by TilhasBB :What i see that is wrong is Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : 192.168.1.254 Why is that??? I'm coming into this thread a bit late, so forgive me if this has been covered, but *do* you have a second DHCP server somewhere, like another wireless access point or something on your network?
When you are assigned a working IP, can you ping 192.168.1.254? (If so, what kind of device is it?) |
|
 nigrunze
join:2009-02-14 Cote Saint-Luc, QC
1 edit | said by derekm :said by TilhasBB :What i see that is wrong is Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : 192.168.1.254 Why is that??? I'm coming into this thread a bit late, so forgive me if this has been covered, but *do* you have a second DHCP server somewhere, like another wireless access point or something on your network? When you are assigned a working IP, can you ping 192.168.1.254? (If so, what kind of device is it?) 192.168.1.254 is the IP address for a speedtouch modem. The ST modems have a built-in DHCP server, so you'll need to disable it.
EDIT: Assuming you're using an ST516, go to this link and uncheck "DHCP server". You may also need to uncheck "auto IP". |
|
  Davesnothere
@teksavvy.com
| said by nigrunze :said by derekm :said by TilhasBB :What i see that is wrong is Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DNS Servers . . . . . . . . . . . : 192.168.1.254 Why is that??? I'm coming into this thread a bit late, so forgive me if this has been covered, but *do* you have a second DHCP server somewhere, like another wireless access point or something on your network? When you are assigned a working IP, can you ping 192.168.1.254? (If so, what kind of device is it?) 192.168.1.254 is the IP address for a speedtouch modem. The ST modems have a built-in DHCP server, so you'll need to disable it. EDIT: Assuming you're using an ST516, go to this link and uncheck "DHCP server". You may also need to uncheck "auto IP". Good Point !
I did not think of that as I am from the 'vacuum tube' era of DSL modems, you know, back in the day when if you ASK for a modem, you GET just a modem. - I have 3 of the original Alcatel Speed Touch (spares in case one fails, but like that pink bunny...), and they have never given me an ounce of trouble (though other parts of my network sometimes have).
IMNSHO, those combo units are an extreme nuisance, and Bell often but inconsistently issues them to customers without explaining what they are sending in the dreaded 'Bell Kit'.
If you are correct about your analysis, then shouldn't the Tomato/Linksys Router have been set to a different subnet in the first place (or still could be), in which case, the problem might not happen because the two routers would be properly 'nested' ? (and the Tomato/Linksys itself would then become a DHCP client of the Modem-Router) ?
BTW, I use _._._.254 as a 'Black Hole' to which to forward TCP port #113 on my router, so that GRC.com's 'Shields Up' test cannot notice it. |
|