Recommended Posts

Every once in a while my computer will lose the default gateway (blank, not 0,0,0,0) but releasing and renewing seems to fix it reliably every time it happens. I just can't seem to figure out the root cause of it. I'm using dhcp to acquire my settings. I'm not a complete novice but I'm also not a CISCO pro. Any help would be appreciated.

so your saying it loses just the gateway?  Or it changes from the IP it should have say 192.168.A.X with gateway 192.168.A.Y to say an IP that starts with 169.254.x.x ?

 

If your saying it still shows its 192.168.A.X address but the gateway is blank - than that would be weird!!  Can you post the output of your ipconfig /all when its working and then when you have this gateway issue.  My guess is your dhcp lease is just expiring and you end up with a APIPA or 169.254 address until you force a renewal/get of dhcp address again.

 

You can see here the lease info, when I got it, how long its for - who the dhcp server was, etc.

dhcpleaseinfo.thumb.png.c021ae5f27e05070b19172466c0aef94.png

 

So you posting this info when your good, and then when you have your problem - before you fix would be very helpful in determining your problem

Hi all! I can't post a screenshot of it working but I'll put one up of what it's at now. I haven't tried setting a static address as I've never had a problem with it till now. I've flushed dns, released and renewed my address a few times which fixed it temporarily but now I get and error when renewing an address. Also I've got Win10 Pro version 1703 build: 15063.413 7f2401d4aa9612ed30ae7740321dab5a.png

 

I've got a garbage built-in wireless receiver connected to a POS router which is connected to a modem. I've had dns troubles in the past but I reset my router a few times and they haven't returned.

It has ZERO to do with your gateway being gone - look you do not have an IP, you have APIPA (Automatic Private IP Addressing)  169.254.x.x --> Its a link local, no its not going to have a gateway.

 

You have a problem with your dhcp server.. Windows will give itself this address when set to be dhcp, and the dhcp server does not answer.

 

 

 

 

It has ZERO to do with your gateway being gone - look you do not have an IP, you have APIPA (Automatic Private IP Addressing)  169.254.x.x --> Its a link local, no its not going to have a gateway.
 
You have a problem with your dhcp server.. Windows will give itself this address when set to be dhcp, and the dhcp server does not answer.
 
 
 
 

Alright..so how do I identify the problem with my dhcp server? Or will creating a static ip fix it?

Well for starters what is your dhcp server?  I assume your router - what router is this? Make and model, what firmware is it running?

 

Do any other devices have issues with dhcp when your having issues, you state release renew currently not working, etc.  So no devices on your network are able to get an IP?  Points to dhcp server being down.. If just this 1 client and all other devices working then points more to problem with device itself and not the dhcp server.

 

A simple sniff on the device will help  you determine if the dhcp server is answering or not..

 

Dchp is pretty basic to troubleshoot.  I am going to take a guess that its not something you could do (no offense) or you wouldn't be here in the first place.

dhcp.thumb.png.402d30705248a1ca89113dbccbd2701e.png

 

I would suggest you just reboot your router to see if that fixes it.  Or restart its dhcp server.  But if you can manage to download wireshark and get a sniff and then post it we can run through troubleshooting dhcp for you..  See above is typical discover process with offer, request and then ack of a client getting a lease from a dhcp server.

 

If creating a static doesn't get your client online - then points to something else going on with your network that is preventing dhcp from working, like just no connectivity at all.  But setting static would be just a step troubleshooting not really a fix of the root cause to your problem.

 

This seems to be limited to wifi - maybe your wifi is not working at all, even if shows connected.  Have you rebooted the wifi router?

Well for starters what is your dhcp server?  I assume your router - what router is this? Make and model, what firmware is it running?
 
Do any other devices have issues with dhcp when your having issues, you state release renew currently not working, etc.  So no devices on your network are able to get an IP?  Points to dhcp server being down.. If just this 1 client and all other devices working then points more to problem with device itself and not the dhcp server.
 
A simple sniff on the device will help  you determine if the dhcp server is answering or not..
 
Dchp is pretty basic to troubleshoot.  I am going to take a guess that its not something you could do (no offense) or you wouldn't be here in the first place.
dhcp.thumb.png.402d30705248a1ca89113dbccbd2701e.png
 
I would suggest you just reboot your router to see if that fixes it.  Or restart its dhcp server.  But if you can manage to download wireshark and get a sniff and then post it we can run through troubleshooting dhcp for you..  See above is typical discover process with offer, request and then ack of a client getting a lease from a dhcp server.
 
If creating a static doesn't get your client online - then points to something else going on with your network that is preventing dhcp from working, like just no connectivity at all.  But setting static would be just a step troubleshooting not really a fix of the root cause to your problem.
 
This seems to be limited to wifi - maybe your wifi is not working at all, even if shows connected.  Have you rebooted the wifi router?


This computer is the only one having trouble connecting. Every other device has internet (phones, laptops, tablets). I'll get a sniff from the trouble PC and get back to you.

Does it work if you plug it in with a wire?  It shows you connected to wifi?

 

But yeah a sniff will be most helpful in showing if your seeing any other traffic, ie broadcast from other devices on the network which would show that connectivity is working.. And then should see your discover go out when you do the renew, etc.

Personally I would disable tunnel adapter, unless its the only way you can get ipv6 and you want IPv6.. It can be a security issue since your tunneling ipv6 traffic through ipv4 and your router firewall would not block that, etc.  Looks like you have ipv6 disabled on your actual interface.. So you want the teredo working?

Personally I would disable tunnel adapter, unless its the only way you can get ipv6 and you want IPv6.. It can be a security issue since your tunneling ipv6 traffic through ipv4 and your router firewall would not block that, etc.  Looks like you have ipv6 disabled on your actual interface.. So you want the teredo working?


I would like IPv6 to disappear entirely. I'm not sure how to disable the tunnel adapter. It seems to only appear when I have a working connection though.

well yeah its only going to be able to get a tunnel address when it can tunnel through a working ipv4..

 

To disable ipv6 completely you can do from cmd prompt (elevated to admin)

reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 255

 

Reboot.. To put it back like it was out of the box then

reg delete hklm\system\currentcontrolset\services\tcpip6\parameters\ /v DisabledComponents /f

 

Reboot

 

To just delete the teredo you should be able to do from netsh command via admin cmd prompt

netsh interface teredo set state disable

 

edit: if all you want is dhcp then you could filter on udp port 67.

 

edit2:  As you can see I normally just have all ipv6 disabled - but clickity clickity I can have it back with full ipv6 access.

ipv6.thumb.png.8ba01fba6a9195721d692eff7a51978d.png

none of that is dhcp..  You seem to be talking to steam though..

 

Capture filter would be a simple udp port 67 filter..  Here is screenshot

 

capturefilter.thumb.png.4f00c38c474424a65457f0e6a0af6db7.png

 

If you don't filter it and your working with valve for example that is using udp, than there is going to be way too much noise to make it easy to work with.  Also your prob going to want to save that file and attach it if you want anyone to look at it for you vs just screen shot so can get the details of the packets.. But since your clearly working now - not sure what you expect to see?

 

When you said your other devices were working - did you actually RELEASE their ips.. A dhcp lease can last for quite some time, depending on what you set it for..  So even if the dhcp server if off you client would still work with their currently lease - only when the lease actually expires would you have problems getting a new one..

 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Those are some popular multiplayer games. But hardly "all". Just those that don't work on Linux currently due to specific anti-cheat implementations. I think it's also fair to point out the literally thousands of games that don't work on the PS5. And it's not locked at 1080p. That's the default, which you can change.
    • Ubuntu Livepatch arrives on Arm64 to eliminate system reboots for kernel updates by Paul Hill Canonical has just announced that its Livepatch service now supports computers with Arm64 processors. For those who are not familiar, Livepatch allows users to apply important kernel updates without any service interruption or rebooting. While home users will benefit from this, it’s even more important for critical machines that absolutely should not be going offline at all. The feature is available as part of Ubuntu Core 26 for Arm64 and Ubuntu Core 20 and onwards for AMD64. According to Canonical, this will improve the security of systems that aren’t security-maintained daily or weekly, and it helps organizations work towards Cyber Resilience Act (CRA) compliance. If you are familiar with Ubuntu, you probably know that most packages can be updated without having to restart the system. There is one big exception to this, and that’s the kernel; it typically requires you to reload the system to boot into the new kernel. With Livepatch, Canonical has done something so that you don’t need to restart to begin using the new kernel. Aside from Ubuntu Core 26, users with Arm64 chips running Ubuntu 26.04 LTS can also use Livepatch. If you want to learn more about Livepatch, check out its product page. There, you can also find a button to join Ubuntu Pro (it’s free for several home devices) so that you can enable Livepatch. By linking your computer to Ubuntu Pro, you will also extend the life of your Ubuntu install from five years to ten years. If you are running Ubuntu, let us know in the comments if you have been looking forward to this feature on your ARM-based computer. If you’ve had a compatible AMD64 machine for a while and never used this feature, let us know why in the comments!
    • Meta announces a major leadership change at WhatsApp by Pradeep Viswanathan Meta has announced a major leadership change at WhatsApp, with Will Cathcart stepping down after seven years of leading the world's largest messaging platform. CRED CEO and founder Kunal Shah will take over as the next global head of WhatsApp. CRED is an Indian fintech company focused on creditworthy consumers. As part of the transition, Meta is also making a minority investment in CRED through its Series H funding round. Meta CEO Mark Zuckerberg said Will Cathcart will remain at Meta and move into a new role focused on building new products from the ground up. Cathcart led WhatsApp during a major growth phase, helping the app reach more than 3 billion users worldwide. He also played a key role in expanding WhatsApp’s business offerings while keeping privacy and end-to-end encryption central to the product. Meta’s Chief Product Officer, Chris Cox, said Kunal Shah was selected after a search for a leader who understands WhatsApp’s global scale and future potential. In a leaked internal memo, Cox described Shah as a “serial founder” and one of India’s most respected entrepreneurs, adding that he brings “entrepreneurial energy” and a strong product mindset to the role. As part of the Series H funding round, CRED is raising ₹8,550 crore, or about $900 million, in a round led by Meta. The funding values CRED at ₹43,239 crore, or about $4.5 billion, on a post-money basis. It is important to note that this investment will not give Meta access to CRED customer information. Kunal posted the following on X regarding his new role at Meta: Although Kunal Shah will be stepping away from his operating role as CRED CEO, he will retain his personal shareholding in the company.
    • It wouldn't be hard for me to turn off my TV, if I had one. For one thing, I never scroll Instagram. The only reason I have an account is because Meta created one when it merged the account systems for its various services.
  • Recent Achievements

    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
    • Dedicated
      tuben earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      207
    3. 3
      PsYcHoKiLLa
      98
    4. 4
      Michael Scrip
      89
    5. 5
      neufuse
      71
  • Tell a friend

    Love Neowin? Tell a friend!