Networking Forums

Networking Forums > Computer Networking > Windows Networking > Multiple defalut gateways error while changing IP address

Reply
Thread Tools Display Modes

Multiple defalut gateways error while changing IP address

 
 
trueman
Guest
Posts: n/a

 
      11-02-2005, 11:24 AM
There is a computer with two netcards, the IP is 192.168.0.1 and 10.2.200.2. The netcard(netcard1) which IP is 192.168.0.1 will communicate with a hardware, and the other one (netcard2:10.2.200.2) will be connected to LAN.

I want to change IP address of the netcard2(10.2.200.2) to 10.2.200.3, one error window popup and the error message is:
Warning - Multiple default gateways are intended to provide redundancy to a single network (such as an intranet or the Internet). They will not function properly when the gateways are on two separate, disjoint networks (such as one on your intranet and one on the Internet). Do you want to save this configuration?
I can ping this computer using IP address on the other computers, but can not ping this computer using computer name.
If I using the following command, the computer name just be returned correctly.
ping -a 10.2.200.2
 
Reply With Quote
 
 
 
 
Miha Pihler [MVP]
Guest
Posts: n/a

 
      11-02-2005, 11:28 AM
Hi,

In most cases you should have only one default gateway set on Windows computers with more then one NIC. If your 10.2.200.2 NIC is your link to the internet then you should remove default gateway on the other NIC and only set appropriate static routes on the server for 192.168.0.0 (and any other) subnets.

E.g. you will probably need to add the following route on the server

route add -p 192.168.0.1 mask 255.255.0.0 192.168.0.250

Note: I am guessing what you are using for your subnet mask. If you are using something other then 255.255.0.0 then you should replace 255.255.0.0 with what you are using. Also replace 192.168.0.250 above with IP address of your gateway on 192.168.0.0 subnet.

--
Mike
Microsoft MVP - Windows Security

"trueman" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
There is a computer with two netcards, the IP is 192.168.0.1 and 10.2.200.2. The netcard(netcard1) which IP is 192.168.0.1 will communicate with a hardware, and the other one (netcard2:10.2.200.2) will be connected to LAN.

I want to change IP address of the netcard2(10.2.200.2) to 10.2.200.3, one error window popup and the error message is:
Warning - Multiple default gateways are intended to provide redundancy to a single network (such as an intranet or the Internet). They will not function properly when the gateways are on two separate, disjoint networks (such as one on your intranet and one on the Internet). Do you want to save this configuration?
I can ping this computer using IP address on the other computers, but can not ping this computer using computer name.
If I using the following command, the computer name just be returned correctly.
ping -a 10.2.200.2
 
Reply With Quote
 
trueman
Guest
Posts: n/a

 
      11-02-2005, 11:50 AM
Thank you for you help!

netcard1:
192.168.0.1
255.255.255.0
no gateway
no DNS
net card2:
10.2.200.2
255.255.255.0
GateWay: 10.2.200.1
no DNS
 
Reply With Quote
 
Miha Pihler [MVP]
Guest
Posts: n/a

 
      11-02-2005, 12:10 PM
Another question. Is this computer member of domain?

--
Mike
Microsoft MVP - Windows Security
"trueman" <(E-Mail Removed)> wrote in message news:%23$R%(E-Mail Removed)...
Thank you for you help!

netcard1:
192.168.0.1
255.255.255.0
no gateway
no DNS
net card2:
10.2.200.2
255.255.255.0
GateWay: 10.2.200.1
no DNS
 
Reply With Quote
 
Miha Pihler [MVP]
Guest
Posts: n/a

 
      11-02-2005, 07:00 PM
How about the client that you use to ping your server by name? What DNS does it use?

If I understand you main question is currently why you can't ping this server by name? If so -- you will need to manually add (add an A record) for this server to your DNS that other computers use.

--
Mike
Microsoft MVP - Windows Security

"trueman" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...

 
Reply With Quote
 
Trueman
Guest
Posts: n/a

 
      11-03-2005, 01:43 AM
1. We are not using DNS in this LAN, it just enable NetBIOS over TCP/IP.
It return "Unknown host test01" if I ping this computer by name. ("test01" is the name of this computer)

2. Yes, the question is just that I can not ping this computer by name, and I considered that it maybe casued by "Multiple default gateways" error.

Thank you!
 
Reply With Quote
 
Miha Pihler [MVP]
Guest
Posts: n/a

 
      11-03-2005, 08:01 AM
No, this is not caused by Multiple default gateways error. The problem is in lack of resolution. Beside using DNS you could use other methods -- e.g. using hosts file...

--
Mike
Microsoft MVP - Windows Security
"Trueman" <(E-Mail Removed)> wrote in message news:ebmF$(E-Mail Removed)...
1. We are not using DNS in this LAN, it just enable NetBIOS over TCP/IP.
It return "Unknown host test01" if I ping this computer by name. ("test01" is the name of this computer)

2. Yes, the question is just that I can not ping this computer by name, and I considered that it maybe casued by "Multiple default gateways" error.

Thank you!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple gateways? Troy Windows Networking 3 02-04-2009 05:09 PM
TCP/IP Multiple gateways (different gateways) Windows (NT, 98, 2000, 2003, XP) goonmunster Windows Networking 1 02-26-2007 08:39 AM
TCP/IP Multiple gateways (different gateways) Windows (NT, 98, 2000, 2003, XP) goonmunster Windows Networking 1 02-26-2007 08:39 AM
Multiple Gateways on 1 Lan mike.brydon@gmail.com Windows Networking 6 10-05-2006 11:10 PM
multiple gateways Colonel Flagg Linux Networking 0 07-09-2003 06:09 AM



1 2 3 4 5 6 7 8 9 10 11