New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Nested virtual machine proxmox (BuyVM)
GroomGroom
Member
Trying to configure virtual machines inside of my BuyVM VPS but due to them having MAC filtering I can't get it to work.
I have tried the following:
/etc/network/interfaces
auto lo
iface lo inet loopback
iface ens3 inet manual
auto vmbr0
iface vmbr0 inet static
address 107.189.30.xxx/32
gateway 107.189.30.1
pre-up ifconfig vmbr0 hw ether 00:16:cd:0b:1e:7c
bridge_ports ens3
bridge_stp off
bridge_fd 0
post-up ip route add 104.244.74.xxx/32 dev vmbr0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
inside the virtual machine
IP: 104.244.74.xxx
Mask: 255.255.255.255
GW: 10.0.10.1
Edit 107.189.30.xxx works as Gateway
What should the network settings look like?
Comments
If I am remembering correctly this is against their TOS. or not allowed.
Pinging @Francisco
I dont think this is true. Back when I asked if they allowed free hosting on their reseller plans, they basically told me that I was free to do whatever I wanted as long as it abides the law of land and doesn't cause trouble to your neighbours. They also advised me to save on headaches
I haven't read anything specific on nested virt on their TOS/AUP.
Perfectly fine.
You would have to make the vm use the “node side” as its gateway and configure the vm in point-to-point mode.
Francisco
Seems like this was working already actually. LXC works fine, how do you get point-to-point working in CentOS? connection drops after a few pings https://i.gyazo.com/53d692566678a86ba3ee298c0268b1a8.png
Ah, well I stand corrected. My bad.
Made some progress but it seems to only temporarily work.
When it's working the following is returned:
arp
Address HWtype HWaddress Flags Mask Iface
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth
But then about 10 minutes later it comes and goes. The following is returned.
arp
Address HWtype HWaddress Flags Mask Iface
104.244.72.1 ether 0c:81:26:30:b8:78 C eth0
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth0
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth0
It also swaps to the following (outbound works but no inbound during this)
arp
Address HWtype HWaddress Flags Mask Iface
104.244.72.1 ether 0c:81:26:30:b8:78 C eth0
107.189.30.1 ether 0c:81:26:30:b8:78 C eth0
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth0
/etc/network/interfaces
/etc/network/interfaces (Proxmox node)