Question:
How to change Default Gateway?
Ajju
2009-05-23 03:03:22 UTC
Hi,

Actually I am using two connections of different company because in future if one is not working second will be there, so that the work will not effect. And certainly both have different Default gateway and different DHCP server address (as I previously mentioned one is 192.168.0.1 and second is 192.168.0.1. I have more than one question regarding this issue, because I already tried to put one both PC on same default gateway manually. But it is not working, and both PC are not present on each other network (View Network Connections). So what steps I have to follow to change Default gateway of one of both PCs.

Thank you………
Six answers:
5p00ky
2009-05-23 03:08:59 UTC
i only read the title but, try right clicking your connection then properties, then find something called like tcp/ip then properties
?
2016-11-09 05:22:28 UTC
Change Default Gateway
2015-08-07 03:04:18 UTC
This Site Might Help You.



RE:

How to change Default Gateway?

Hi,



Actually I am using two connections of different company because in future if one is not working second will be there, so that the work will not effect. And certainly both have different Default gateway and different DHCP server address (as I previously mentioned one is 192.168.0.1 and...
2009-05-23 03:23:10 UTC
I think you meant to type a different IP address for the second gateway. You wrote that both are 192.168.0.1 above.



Anyway... easiest solution would be:



a) assign a unique address on the same subnet to each of the routers.



b) disable DHCP on the second router. Make sure the first router's DHCP knows that the second router owns the IP address you gave it, and will never hand it out to, say, your PC.



c) add static routes on the first router, using it as a second default gateway. In other words, route 0.0.0.0/0 through the second router, but with a high metric, so the normal default route is used in preference.



d) Route traffic for the second company's DNS servers through the second connection. Otherwise, their DNS servers won't let you access them.



e) Make sure your router and/or computers will use the secondary connection's DNS if the first connection's DNS isn't available.



You've given WAY too little information (router make/model, internet companies, operating systems, computers in use, etc.) for a truly step by step guide, but hopefully this will get you going quickly.





p.s.: if you're going to pay for two broadband connections, you should look into getting them bonded. You'd be much better off with a router like a Draytek Vigor. You can plug a 3g USB modem into these, and if the broadband goes down, they'll dial in over the mobile connection instead.
GTB
2009-05-23 05:17:42 UTC
Let's try to clarify first so I describe what I believe you wish to do - and then answer the questions. I believe the following is true:



1. You have two different Internet feeds from different service providers.



2. You want to have a redundant back up in the event of loss of Internet from one of the feeds.



3. You are having trouble with the LAN configuration due to different LAN subnets and different default gateway IP addresses so automatic fail over does not work.



4. You are looking for a solution for this.



My suggested solution:



1. The low end routers are not the solution for an automatic fail over system as you have indicated.



2. Due to the apparent cost of downtime on your organization, you should be willing to spend more on your router.



3. There are routers made by Cisco, Adtran, and probably also Nortel and 3Com that will do the job. These units have dual WAN ports. One Wan port is configured for the first ISP; the second WAN port is configured for the second ISP. You program the router to periodically ping the ISP DNS on both WAN ports (to the respective DNS of the proper ISP of course). A failed reply from ISP # 1 triggers the router to fail over to ISP # 2 and vice versa. Please note the LAN side has one subnet, one default gateway, one DHCP pool, etc so your current concern on the LAN side is resolved. These units, as far as I recall, do not have the ability to load balance between the two different WAN ports (It would be nice if they did, but this is not the case as I recall), so usually ISP # 1 is used, ISP # 2 is for fail over; many who do this make ISP # 1 the fast connection and then ISP # 2 is less costly and slower unit.



Keep in mind that for this to work properly, the Internet feeds must be carefully selected for probability of independence and therefore probability of availability. If you have two DSL feeds from the same ILEC into your building and the phone company line that is mutual to both fails, you have both feeds dead and no back up. If one feed is a cable TV, and the other DSL, you probably have the best option as the feeds are markedly different.



Best of luck
GearAz
2009-05-23 03:27:04 UTC
Well If both companies are using DHCP servers to automatically assign IP address you should have no problem.



If you have one company that does and other company that doesn't then you can configure IP address on the Alternate Configuration tab on the network connection. So you have one auto and one preconfigured.



Or else use a software to create network profiles, Like toshiba config free. and seamlessly switch between networks with one click.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...