2

I get a default gateway of 192.168.178.2 whenever I connect to my router, but I want 192.168.178.1.

Every time I connect to the Wi-Fi I have to delete and then re-add the default gateway. How can I solve this problem permanently?

----edit---
The router's IP address is 192.168.178.2 but for some reason I need the gateway to be 192.168.178.1 for the internet to work.

----edit---
My router at 192.168.178.2 has a static routes page where I can add new static IP routes. Can I use this? If it helps, my router is a FRITZ!Box 7710. I can't seem to find its default gateway setting.

Spiff
  • 110,156
epsilon8
  • 730
  • 3
  • 12
  • 22

2 Answers2

3

Simply, Yes. You will need to change the settings for the DHCP scope on the device that is giving out the IP addresses via DHCP.

Usually when you are setting up the scope initially everyone tends to leave this default, however. Sounds like you are using your Wi-Fi router to dish out addresses, before going through your modem.

Try this:

  1. Log into your Wi-Fi router and add a default gateway setting there. (The most common places to find this in the UI would be under "basic setup" or "LAN settings".)

    or

  2. Add a static route to your PC (not recommended)

Side Note: Your gateway address will always be your internet modem's IP address in your network.

onxx
  • 398
1

The router's DHCP service is misconfigured and giving you the wrong gateway. I presume the router is .1? It should be giving out its own IP address as the gateway.

Spiff
  • 110,156
pjc50
  • 6,186