Page 1 of 1

2 NIC's WAN and LAN help

Posted: 9. Oct 2013, 15:05
by XM
Hello!

i have a question about networking.I've installed 4x MS server 2008r2 (virtual machines)

and one of them have 2NIC's 1 is set as WAN(Bridged) and 1 is LAN(internal)


server1{
LAN - Internal have 10.0.0.1/24 ---what gw should be here??
WAN - 192.168.1.101/24 gateway 192.168.1.1
}
server2{
Lan 10.0.0.2/24 gw 10.0.0.1
}
server 3{

Lan 10.0.0.3/24 gw 10.0.0.1
}

i want to be able to share my WAN connection to other 3 servers via LAN of server1 how to do this.? i do not know even what def Gateway should have this 10.0.0.1... adress
i've try to add static route like
route add 0.0.0.0 mask 0.0.0.0 192.168.1.1
so i want to push all my traffic from 10.0.0.x network thru 192.168.1.1

i would be greatful for any adv.
thank you!

Re: 2 NIC's WAN and LAN help

Posted: 10. Oct 2013, 03:25
by BillG
That is really a straight networking problem. The fact that you are using virtual machines and virtual networks makes no difference at all.

Basically, you have to enable IP routing on the multihomed server. If you configure it as a NAT router, DHCP will configure the other machines on the private LAN for you. The default gateway on the private NIC of the router vm should be blank. Its default gateway is out to the Internet (configured on the WAN NIC).

Windows Server has RRAS built in to do that for you. If you have problems, post in a Windows networking forum. The fact that you are using vms is irrelevant.

Re: 2 NIC's WAN and LAN help

Posted: 10. Oct 2013, 16:13
by XM
Thank you!