mxgong
asked on
IP Routing configuration in Vmware Environment
Hi All Expert
I am using VMware to build LAB environment.
Vmware 1.05 server
Machine1:
hostname: abcsyd
OS: Windows2003
Exchange 2003
Domain Name: abc.com.au
domain controller /schema
NC1:
ip address: 192.168.100.1 255.255.254.0
default gateway: 192.168.100.1
DNS: 127.0.0.1
Machine2:
hostname: abcusa
OS: Windows2003
Domain Name: abc.com
domain controller / schema
NC1:
ip address: 192.168.200.1 255.255.254.0
default gateway: 192.168.200.1
DNS: 127.0.0.1
Machine3:
hostname: abcusa2
OS: Windows2003
Domain Name: abc.com
BDC
NC1:
ip address: 192.168.200.10 255.255.254.0
default gateway: 192.168.200.1
DNS: 192.168.200.1
NC1:
ip address: 192.168.100.10 255.255.254.0
default gateway: 192.168.100.1
DNS: 192.168.100.1
Two forests, two domains, two subnets.
My question, how to set IP routing in windows 2003 server between 192.168.100.0 255.255.254.0 and 192.168.200.0 255.255.254.0? do I have to use two network card?
Cheers
I am using VMware to build LAB environment.
Vmware 1.05 server
Machine1:
hostname: abcsyd
OS: Windows2003
Exchange 2003
Domain Name: abc.com.au
domain controller /schema
NC1:
ip address: 192.168.100.1 255.255.254.0
default gateway: 192.168.100.1
DNS: 127.0.0.1
Machine2:
hostname: abcusa
OS: Windows2003
Domain Name: abc.com
domain controller / schema
NC1:
ip address: 192.168.200.1 255.255.254.0
default gateway: 192.168.200.1
DNS: 127.0.0.1
Machine3:
hostname: abcusa2
OS: Windows2003
Domain Name: abc.com
BDC
NC1:
ip address: 192.168.200.10 255.255.254.0
default gateway: 192.168.200.1
DNS: 192.168.200.1
NC1:
ip address: 192.168.100.10 255.255.254.0
default gateway: 192.168.100.1
DNS: 192.168.100.1
Two forests, two domains, two subnets.
My question, how to set IP routing in windows 2003 server between 192.168.100.0 255.255.254.0 and 192.168.200.0 255.255.254.0? do I have to use two network card?
Cheers
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks Lars and Heinoskov
Can you tell me how to manual add static route?
Can you tell me how to manual add static route?
ASKER
ok, like this
Machine2:
hostname: abcusa
OS: Windows2003
Domain Name: abc.com
domain controller / schema
NC1:
ip address: 192.168.200.1 255.255.254.0
default gateway: 192.168.200.1
DNS: 127.0.0.1
NC2
ip address: 192.168.100.1 255.255.254.0
default gateway 192.168.100.1
dns:192.168.100.1
and then, on this machine, i enable IP FORWARDING in regedit
after that, i tried ping from machine 1 (192.168.100.1) to machine 2 (192.168.200.1)
It was failed...
Machine2:
hostname: abcusa
OS: Windows2003
Domain Name: abc.com
domain controller / schema
NC1:
ip address: 192.168.200.1 255.255.254.0
default gateway: 192.168.200.1
DNS: 127.0.0.1
NC2
ip address: 192.168.100.1 255.255.254.0
default gateway 192.168.100.1
dns:192.168.100.1
and then, on this machine, i enable IP FORWARDING in regedit
after that, i tried ping from machine 1 (192.168.100.1) to machine 2 (192.168.200.1)
It was failed...
You have a machine with two nics now?
Machine1 has itself set as def gw and that is a problem. Your gw VM will need a nic in both networks with an ip address in each network.
Lars
Machine1 has itself set as def gw and that is a problem. Your gw VM will need a nic in both networks with an ip address in each network.
Lars
ASKER
machine 2 have 2 NICs, please see my comments on above.
ok, you mean i have to set these 2 NICs as gateway for two subnets?
and set machine 1's gw to point to machine2?
ok, you mean i have to set these 2 NICs as gateway for two subnets?
and set machine 1's gw to point to machine2?
hmm... You're trying to use Machine2 as a router machine?
Then do as follows:
1. Set machine2's local ip address as def gw for the other machines. For machine1 you will need to change ip address so they wont collide.
2. Machine2 should not have 2 default gws, and def gw should not point to one of it's own interfaces.
Then do as follows:
1. Set machine2's local ip address as def gw for the other machines. For machine1 you will need to change ip address so they wont collide.
2. Machine2 should not have 2 default gws, and def gw should not point to one of it's own interfaces.
ASKER
ok, like this
machine 1
ip: 192.168.100.10
gw: 192.168.100.1
dns: 192.168.100.10
machine 2
NC1: 192.168.100.1
gw: 192.168.100.1
dns:192.168.100.10
NC2:192.168.200.1
gw:192.168.200.1
dns:192.168.200.10
machine3
ip 192.168.200.10
gw:192.168.200.1
dns:192.168.200.20
right?
but i dont understand this "
. Machine2 should not have 2 default gws, and def gw should not point to one of it's own interfaces."\
if machine 2 only have one gw, like only have 192.168.100.1, so what's GW for the subnet 192.168.200.0???
Thanks
machine 1
ip: 192.168.100.10
gw: 192.168.100.1
dns: 192.168.100.10
machine 2
NC1: 192.168.100.1
gw: 192.168.100.1
dns:192.168.100.10
NC2:192.168.200.1
gw:192.168.200.1
dns:192.168.200.10
machine3
ip 192.168.200.10
gw:192.168.200.1
dns:192.168.200.20
right?
but i dont understand this "
. Machine2 should not have 2 default gws, and def gw should not point to one of it's own interfaces."\
if machine 2 only have one gw, like only have 192.168.100.1, so what's GW for the subnet 192.168.200.0???
Thanks
As machine2 has a leg in each network it doesn't need any routing to tell it how to talk to these networks. Machine2 only needs a def gw if it needs to talk to networks outside of it's local interfaces. By giving it two def gw's you will get in trouble, and by setting them to local interfaces you will probably be in even more trouble.
Lars
Lars
ASKER
in my case. i dont need to talk to ourside network...
so, what i need to change for my case?
remove 192.168.100.1 or 192.168.200.1 on machine2?
so, what i need to change for my case?
remove 192.168.100.1 or 192.168.200.1 on machine2?
ASKER
i catch your point
like this:
machine 1
ip: 192.168.100.10
gw: 192.168.100.1
dns: 192.168.100.10
machine 2
NC1: 192.168.100.1
NC2:192.168.200.1
gw: 192.168.1.1 -- go external network...
machine3
ip 192.168.200.10
gw:192.168.200.1
dns:192.168.200.20
right?
like this:
machine 1
ip: 192.168.100.10
gw: 192.168.100.1
dns: 192.168.100.10
machine 2
NC1: 192.168.100.1
NC2:192.168.200.1
gw: 192.168.1.1 -- go external network...
machine3
ip 192.168.200.10
gw:192.168.200.1
dns:192.168.200.20
right?
Almost.. The def gw needs to be on a local network; meaning that it will need to be in the same subnet as the nic.
ASKER
which def gw? the NC2 on machine2?
ASKER
I need fix this problem and then configure DNS server, then create forest trust....
Thanks