| Author |
Message |
trueman
Guest
|
Posted:
Wed Nov 02, 2005 1:50 pm Post subject:
Multiple defalut gateways error while changing IP address |
|
|
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 |
|
| Back to top |
|
 |
trueman
Guest
|
Posted:
Wed Nov 02, 2005 1:50 pm Post subject:
Re: Multiple defalut gateways error while changing IP addres |
|
|
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 |
|
| Back to top |
|
 |
Miha Pihler [MVP]
Guest
|
Posted:
Wed Nov 02, 2005 1:50 pm Post subject:
Re: Multiple defalut gateways error while changing IP addres |
|
|
Another question. Is this computer member of domain?
--
Mike
Microsoft MVP - Windows Security
"trueman" <the_trueman@hotmail.com> wrote in message news:%23$R%23Cw63FHA.1188@TK2MSFTNGP12.phx.gbl...
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 |
|
| Back to top |
|
 |
Miha Pihler [MVP]
Guest
|
Posted:
Wed Nov 02, 2005 1:50 pm Post subject:
Re: Multiple defalut gateways error while changing IP addres |
|
|
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" <the_trueman@hotmail.com> wrote in message news:eB5blh63FHA.3628@TK2MSFTNGP12.phx.gbl...
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 |
|
| Back to top |
|
 |
trueman
Guest
|
Posted:
Wed Nov 02, 2005 5:50 pm Post subject:
No, it is in a workgroup |
|
|
|
|
| Back to top |
|
 |
Miha Pihler [MVP]
Guest
|
Posted:
Wed Nov 02, 2005 9:50 pm Post subject:
Re: No, it is in a workgroup |
|
|
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" <the_trueman@hotmail.com> wrote in message news:uk7YhV73FHA.2640@TK2MSFTNGP09.phx.gbl... |
|
| Back to top |
|
 |
Trueman
Guest
|
Posted:
Thu Nov 03, 2005 8:43 am Post subject:
Re: No, it is in a workgroup |
|
|
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! |
|
| Back to top |
|
 |
Miha Pihler [MVP]
Guest
|
Posted:
Thu Nov 03, 2005 9:50 am Post subject:
Re: No, it is in a workgroup |
|
|
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" <the_trueman@hotmail.com> wrote in message news:ebmF$iC4FHA.3292@tk2msftngp13.phx.gbl...
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! |
|
| Back to top |
|
 |
|
|
|
|