Hi All,
Apologies, in advance, if this has been answered in the past, but I can't find it.
I've got some guest VM's which aren't servers, so they don't need to accept incoming connections. So, for those, I can give them plain ol' NAT 10.???.???.??? addresses.
I've also got some servers which will need routable IP addresses, issued either:
And that gave me a system I could, at least, reach the web interface of. But all I can do it make NAT'd hosts. Any tips on how to achiever any of the 3 scenarios listed above?
Apologies, in advance, if this has been answered in the past, but I can't find it.
I've got some guest VM's which aren't servers, so they don't need to accept incoming connections. So, for those, I can give them plain ol' NAT 10.???.???.??? addresses.
I've also got some servers which will need routable IP addresses, issued either:
- statically in the OS config
- Through DHCP handled by PVE (meaning that our enterprise assigns a pool of IP's to PVE, and then PVE is able to be a DHCP server to the individual VM guests, giving them their assigned address. So, the guest VM is using DHCP, but our enterprise DHCP server never sees requests from the VM; PVE intercepts and handles them).
- Through DHCP handled by our enterprise (meaning that we register the VM's MAC address with our enterprise and the enterprise DHCP server gives out the address to the VM)
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
#auto vmbr0
iface vmbr0 inet dhcp
pre-up iptables-restore < /etc/iptables.rules
bridge_ports eth0
bridge_stp off
bridge_fd 0
allow-hotplug eth1
iface eth1 inet dhcp
#auto vmbr0
iface vmbr0 inet dhcp
pre-up iptables-restore < /etc/iptables.rules
bridge_ports eth0
bridge_stp off
bridge_fd 0
And that gave me a system I could, at least, reach the web interface of. But all I can do it make NAT'd hosts. Any tips on how to achiever any of the 3 scenarios listed above?