I'd like to add some more IPs to my single ESXi server that I have through a hosting provider. When the server was set it up, I was given a /29 and was left with five IPs to use. But, there's something baffling me on how I would add more IPs.
My server only has one NIC, and from what I understand, one NIC can only be assigned one gateway at a time (the new IPs would have a different gateway). I asked my data center on how this would work, and they simply responded that the new IPs would be on the same private VLAN that I am on right now and I could set it up in the OS config. But, how does having the new IPs in the same VLAN make a difference? I set up pfSense (which is a virtual machine and all the VMs route through it using NAT 1:1) to have the gateway on my first range of IPs. So wouldn't pfSesne need a whole new interface/WAN to even add these IPs?
I'm obviously missing something but I have no idea what it is...
pfSense config for the static WAN interface (the IP is a public IP, so I blanked it out):
It'll probably help to mention that then to assign signle IPs off to my VMs, all I do is add in the IP as an alias, and it works. But I see that it allows me to add an IP in a completely different subnet, so maybe all I need to do is just add in the new IPs here and not even touch anything else as it's all on the same VLAN?
You do not need more than one default gateway since a default gateway by definition is where you go when you do not have a route for your destination. All your IPs being on the same VLAN means you do not need to tag VLANs on your interface (or if you do, it's all the same one).
Assign the new IPs to your interface and you should be good to go.