News: This forum is now permanently frozen.
Pages: [1]
Topic: Help with WAN Bridging with m0n0 1.33 and ESXi 5  (Read 1535 times)
« on: July 27, 2012, 23:39:56 »
TwentyFourBit *
Posts: 1

Hey guys,

I have Googled around quite a bit here. And read the majority of the handbook. I also did some searching around these forums but nothing catered to my specific needs.

Pardon me if this is in the wrong spot.

I have multiple rack mounted servers. The one in particular I am trying to setup has 2 Xeon Quad-cores, 16GB of DDR2-ECC, 2 onboard Intel NICs, and an add-in PCI NIC that is a Realtek chipset. On this specific server, VMWare ESXi is loaded as the "operating system".
On my networking pane in vSphere I have two vSwitches or virtual switches. One is LAN, one is WAN. I have my m0n0wall VM attached to both cards and have successfully installed it and got the basics configured. However there is a problem.

On this server, the IP address of the network coming in from the router is a 10.0.1.1 gateway, which is what all my personal computers are connected to. I will have a few small web server VMs on here, which is why I am using m0n0wall. But, there will be a personal file server (Samba server) as a VM. I need this Samba server to be able to have the same gateway of 10.0.1.1 so that my personal computers can easily access all of my media, which is why I figured I needed a bridge to WAN.

I then added the third NIC (Realtek) to the networking pane in vSphere and added it to the m0n0wall VM settings. Loaded up m0n0wall VM and reassigned my interfaces. NIC 3 (Realtek) was given the OPT1 interface in m0n0wall. Then I logged into m0n0wall's webGUI and configured the bridge setup like section 13.3 in the m0n0wall handbook. Added all of my rules and restarted the system. I looked at the networking pane after this and noticed that there was no network card associated with that vSwitch in ESXi; which is weird as the Realtek NIC was assigned to that vSwitch.

I loaded up a fresh install of CentOS with the third vSwitch (Realtek NIC/OPT1 in m0n0). In CentOS I had a gateway IP of 192.168.1.1 which means I could not see my personal Samba server.

I feel like I am rambling here. Sorry for the long post. Just looking for some advice/to be pointed in the right direction to get this setup. It would be very much appreciated. Also, if further information is required, let me know.
Setup:
2x Xeon Quad-core
ESXi 5
NIC1 = Intel NIC as LAN
NIC2 = Intel NIC as WAN
NIC3 = Realtek NIC as Bridge-to-WAN
Router gateway = 10.0.1.1/DHCP
m0n0 gateway = 192.168.1.1
WAN setup in m0n0 = DHCP

Thanks for all help/advice!
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines