i figured that out and i got that working now i just cant access the internet over my server and i have my router in bridge mode and 2 nic cards installed eth1 is the world and eth0 is my local net... [by DarkWrath]
on 07/29/2009 – Made popular on 07/29/2009
I have installed Windows Server 2012 on a VM (ESXi) for testing/learning purpose and I also like to install DHCP Server as well but this will conflict with my ISP router and I don't want to disable DHCP from my router.
How do I create a separate network but still have access to internet?
I have two Ethernet ports on my server, Eth0 is connected to a switch via ISP router.
I'm trying to setup a working connection between my local network and the internet.
First I setup a bridge (br0, has an IP address where the other interfaces don't) between eth0 (LAN) and eth1 (internet), and created a nat rule in iptables to masquerade the source ip of the local ip's in the LAN.
Everything works great and I can access the internet from subnet 192.168.1.0.