 | IP address constantly changing? I'm a little stumped at this problem:
I have two different devices connected to my DSL modem, both obviously get IP addresses via DHCP. One device maintains the same address for weeks or months at a time, the second device changes IP addresses every 2 hours. I'm curious as to why that's happening. |
|
|
|
 | With a linux gateway/firewall behind an ALU I see lease times of a little under an hour, IP remains constant. You don't even bother to give information about the model of your modem or the device. What do the logs say? |
|
 | reply to annoyingrob
The modem is a Thompson speedtouch, connected to a watchguard firebox x550e running Ubuntu 12.04. The WAN interface has been set up with two mac addresses ( The second device being a MACVLAN off of the first ). There are two instances of dhclient running, one for each of the interfaces, which I will refer to as eth0 and eth4.
The logs show that eth0 sends a DHCPREQUEST out once an hour for its existing IP address, and receives it. This behavior is pretty normal.
eth4 will send out a DHCPREQUEST, get a lease (of 3000 seconds), will send a few more requests out near the end of lease time and receive a DHCPACK once or twice, then will receive absolutely nothing back from the DHCP server the third or so time it tries. The interface will switch to sending DHCPDISCOVER broadcasts out for about 5 minutes and then will go to sleep. The interface will try another discover in a few minutes, and will get a new ip address back, which it will use and repeats this process. |
|
 | You know what? After looking a little deeper at the logs, I might have found the problem.......
I think that my local DHCP server is responding back for some reason to that interface once in a while, and NACKing the initial request, which resets everything. I modified the firewall to prevent that, and we'll see if that fixes the problems. |
|
 jtl999CEO of Team Classified join:2012-11-24 | What router and plan on you on? Just curious. |
|
 | I was way off base, the DHCP NAK's are coming from Telus, not my DHCP.....
jtl999: I'm on a Telus 15mbit plan, I run a Thompson Speedtouch, which is a stand-alone DSL modem, and my router is an old commercial router »www.watchguard.com/products/core···view.asp which I've wiped the factory firmware and installed linux on instead. |
|
 | Slightly off topic:
I seem to remember "Way back when", Telus would register the MAC addresses of the devices it saw on the modem, and after 2 or 3, you would get redirected to a page saying "Hey, you can only have two devices, please chose one to remove".
I thought maybe there was something like that going on, so I tried logging onto my account to register a new device. When I click on the "register device" link under my internet services page, I'm directed to a login page with my internet account username and password (As opposed to the email address and password I used to log on to my account showing all of my services). I can't log into it. If I select "Forgot Password", it tells me that my username is invalid, even though i'm entering the (3-8 character) account username specified on the internet services page, the same username that makes up my telus email, the same username I was given when I signed up. Grr, why do I have to log on multiple times with different user names and passwords all over this site. Looks like I might need to call Telus tomorrow about not being able to get to some of my account pages. |
|