New topics: Your Pet, IOU, Baby IQ, The Poisons, Birther II, Games, Future Power

Welcome to the Tech Space!

Virtualization Solutions

Skip to end of metadata
Go to start of metadata
One of my servers just became inaccessible on it's static IP connection, the gateway is missing from that connection, it is now only accessible through the dynamic IP connection. I was just able to fix the problem by adding a route entry. See

How do you setup a Windows Server 2003 box to have multiple public IPs, for example on a Comcast Cable internet setup? Comcast can allow you to establish up to 5 public IPs if you pay extra for this service.

What I've done is buy multiple 802.11b wireless routers, such as Linksys, to the cable modem. The LAN side of each is connected to different computers which are setup as the DMZ for the given router. This gives a lot more flexibility than hooking computers directly to the cable internet.

Comcast broadband is likely to give your routers addresses on similar or widely differing subnets. Once they are assigned a public IP, I've had the IPs stay stable for several months.

But what if you want to have those different IP addresses come into a single box, for example one running a virtualization solution such as VMWARE?

The first solution might appear to be setting up multi-homing on a single adapter with multiple gateways. It's possible to ignore the warnings that Windows 2003 gives, and this setup may appear to work for a while. But you'll eventually encounter the "dropped default gateway", or "lost default gateway", where the default gateway disappears after some days of operation.

A better solution is to setup a router. But a physical router that allows for multiple WAN interfaces, such as a SonicWall TZ170, TZ180, etc. can cost about $600. And these only allow for two.

pfsense is a free open source router package that can easily be used within a VMWARE Server session to create a router that can handle a wide variety of needs.

How to create a virtual router within VMWARE
Here's a quick run down of how to set up pfsense:
  • Setup VMWARE Server
  • Dedicate one NIC for the exclusive use of pfsense. Setup one of the vmware networks, such as VMNET1, to be bridged to that NIC. Disable all Windows drivers for that NIC, leaving only the VMWARE driver attached to that NIC.
  • Setup a VM for PFSENSE with two virtual ethernet adapters
  • Assign the first ethernet adapter to VMNET1. This will be the WAN adapter for pfsense
  • Assign the second ethernet adapter to the private host only VMWARE network
  • Install PFSENSE in the VM. Setup the first enet adapter as WAN, second as LAN. Enable pfsense DHCP on LAN
  • Connect other VMs, or even the host windows box itself, via the private host only VMWARE network.

Some notes for pfsense says that you must setup firewall rules between the LAN and WAN, but my experience was the virtual machines picking up DHCP from the PFSENSE LAN (on the host interface), automatically established connectivity with the net without any special PFSENSE configuration.

Other hints:

  • If you are replacing a physical router that was hooked up to a system like Comcast broadband internet where semi-static (long term) DHCP leases are given, you can reclaim that IP for pfsense to use for PFSENSE's WAN connection by having PFSENSE spoof the MAC address of the WAN interface of the replaced router.
  • I haven't setup multiple public IPs yet, but it should be as simple as creating additional virtual ethernet adapters for the PFSENSE VM assigned to the VMNET1 adapter. They should be able to replace existing physical router WAN interfaces, or request new IPs for themselves if you haven't reached the limit of allowed IP addresses on the network.

Things to do:

  • Figure out how to assign a specific VM on the private host only network to be the DMZ for each of PFSENSE WAN interface. This will involve setting up firewall rules.

Related:

Google searches

  • "windows 2003" "lost default gateway"
  • "windows 2003" "default gateway disappeared" - did not match any documents.

Misspellings:

  • rotuer
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.