wildbill001
Weaksauce
- Joined
- Jun 2, 2012
- Messages
- 85
This scenario is for a home lab environment. So it does not have to be an "elegant" solution
I'm working with ESXi5.1 running on an AMD 8120 plugged into a Gigabyte 990FXA-UD3 mobo with 32g RAM. This board has a RealTek NIC and I have a dual-port Intel Pro 1000 plugged into one of the PCI-e slots.
What I want to end up with:
Network 1:
The problems start when I want to add Network 2.
Network 2:
I have tried creating a vswitch with no adapters, assigning 172.16.239.x to this segment. Then I created a small VM running RH with interfaces attached to both switches to act as a router. Turned on port forwarding. This sort of worked but was incredibly slow and somewhat unreliable. Then when I attempted to add DNS, it just fell on the floor and puked bits all over (i.e., it did not work).
I know I'm missing something and figure it is a "forest for the trees" kind of thing but just don't see what it is. Do I need to add another physical router, assign it the 172 net, assign an adapter to vswitch 2 and then bridge the two networks at the router level? Or am I over thinking this?
Pointers, suggestions, examples, etc. would be most welcome.
Bill W
I'm working with ESXi5.1 running on an AMD 8120 plugged into a Gigabyte 990FXA-UD3 mobo with 32g RAM. This board has a RealTek NIC and I have a dual-port Intel Pro 1000 plugged into one of the PCI-e slots.
What I want to end up with:
Network 1:
Let's say this is 10.0.0.0/24 (10.0.0.1 thru .254). This segment would be my "main" home network. That is, the router connected to the ISP will provide DHCP for any system or VM on this network. This would also be the network to the internet or outside world.This part is actually easy to do and I have been working this way for some time.I have created a vswitch, added one of the adapters, put my VMs on that switch and all is right with the world.
The problems start when I want to add Network 2.
Network 2:
This will be another network, say, 172.16.239.0/24. I would like this segment to have its own DHCP server as well as its own DNS server. Any VM placed on this segment will have a 172.16.239.x IP address. (Here's where I get lost) I need systems on this segment to be able to reach out to the internet and any system on Network 1.
I have tried creating a vswitch with no adapters, assigning 172.16.239.x to this segment. Then I created a small VM running RH with interfaces attached to both switches to act as a router. Turned on port forwarding. This sort of worked but was incredibly slow and somewhat unreliable. Then when I attempted to add DNS, it just fell on the floor and puked bits all over (i.e., it did not work).
I know I'm missing something and figure it is a "forest for the trees" kind of thing but just don't see what it is. Do I need to add another physical router, assign it the 172 net, assign an adapter to vswitch 2 and then bridge the two networks at the router level? Or am I over thinking this?
Pointers, suggestions, examples, etc. would be most welcome.
Bill W