OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • vmware esxi 5.5 routing and natng
« previous next »
  • Print
Pages: [1]

Author Topic: vmware esxi 5.5 routing and natng  (Read 2833 times)

Blake

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
vmware esxi 5.5 routing and natng
« on: August 02, 2017, 04:26:42 pm »
Hello, I have a home lab running VMware 5.5.  Where can I find documentation on how to configure routing and setting up NAT.  My 192 network can access the internet my 10. network also known as Playground cannot access the internet.  How can I configure a route from the 10. netowrk to the 192. netowrk.  In addition how can I NAT 10. network to a 192 network.  By NATing the 10. network to a 192. network I should be able access the internet.
 

I have attached an image that shows what I'm trying to do. 
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: vmware esxi 5.5 routing and natng
« Reply #1 on: August 02, 2017, 07:12:27 pm »
The VMware vSwitches are completely separate, you will need to create a VM that routes between them.

You may not need NAT, if the internet router is able to learn the route to the 10. network; either through a routing discovery protocol or through a static route that you configure on it.

Said router would have one leg on the 192 network, and use the ISP router as a default gateway, and one leg in the 10. network where it is the default gateway. You can use pretty much any recent OS on the router VM, including OPNsense.

Bart...
Logged

Blake

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: vmware esxi 5.5 routing and natng
« Reply #2 on: August 02, 2017, 10:01:47 pm »
Thank you, Bart,

I'm trying to learn opensense firewall.  How should I configure Opensense firewall to achieve routing and NATing.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: vmware esxi 5.5 routing and natng
« Reply #3 on: August 02, 2017, 10:16:24 pm »
It's pretty easy with OPNsense; make the interface on the 192 subnet the WAN and the 10 subnet the LAN. Adjust for DHCP where required. Routing with NAT will work out of the box.

Remember to allow Private networks on the WAN interface and install the os-vmware plugin for best performance.

Bart...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • vmware esxi 5.5 routing and natng
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2