Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Nested virtual machine proxmox (BuyVM)
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.

Nested virtual machine proxmox (BuyVM)

GroomGroomGroomGroom Member
edited August 2021 in Help

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

  • DataIdeas-JoshDataIdeas-Josh Member, Patron Provider
    edited August 2021

    If I am remembering correctly this is against their TOS. or not allowed.
    Pinging @Francisco

  • PixelsPixels Member
    edited August 2021

    @DataIdeas-Josh said:
    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 :smile:

    I haven't read anything specific on nested virt on their TOS/AUP.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    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

  • DataIdeas-JoshDataIdeas-Josh Member, Patron Provider

    @Francisco said:
    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

    Ah, well I stand corrected. My bad. :/

  • GroomGroomGroomGroom Member
    edited August 2021

    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

    auto lo
    iface lo inet loopback
        dns-nameservers 107.189.0.68
    
    auto eth0
    iface eth0 inet static
    address 104.244.72.xxx/32
    gateway 107.189.30.xxx
    pointopoint 107.189.30.xxx
    netmask 255.255.255.255
    

    /etc/network/interfaces (Proxmox node)

    auto lo
    iface lo inet loopback
    
    iface ens3 inet manual
    
    auto vmbr0
    iface vmbr0 inet static
            address 107.189.30.xxx/24
            gateway 107.189.30.1
            bridge-ports ens3
            bridge-stp off
            bridge-fd 0
    post-up ip route add 104.244.72.xxx/32 dev vmbr0
    post-up echo 1 > /proc/sys/net/ipv4/ip_forward
    post-up echo 1 > /proc/sys/net/ipv4/conf/ens3/proxy_arp
    
Sign In or Register to comment.