Howdy, Stranger!

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


[$5] What am I doing wrong with Proxmox Networking (Hetzner)
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.

[$5] What am I doing wrong with Proxmox Networking (Hetzner)

stefemanstefeman Member
edited May 2018 in Help

I cant get networking for my VMs for some reason.

Server IP: 95.216.36.235


Extra IPs:

Subnet: 95.216.82.176
Netmask:    255.255.255.240
Broadcast:  95.216.82.191

Usable IP addresses:

95.216.82.177 to 95.216.82.190

My current config on Proxmox machine:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp0s31f6
iface enp0s31f6 inet static
        address  95.216.36.235
        netmask  255.255.255.192
        gateway  95.216.36.193
        up route add -net 95.216.36.192 netmask 255.255.255.192 gw 95.216.36.193 dev enp0s31f6
# route 95.216.36.192/26 via 95.216.36.193

iface enp0s31f6 inet6 static
        address  2a01:4f9:2a:2514::2
        netmask  64
        gateway  fe80::1

auto vmbr1
iface vmbr1 inet static
        address  95.216.82.176
        netmask  255.255.255.240
        broadcast  95.216.82.191
        bridge_ports none
        bridge_stp off
        bridge_fd 0

Comments

  • hzrhzr Member

    Are you natting them in, not bridging? DId you add Fake V Macs ?

  • stefemanstefeman Member
    edited May 2018

    @hzr said:
    Are you natting them in, not bridging? DId you add Fake V Macs ?

    I wish to give public IP to my VM. I'm using bridging I guess.

    Been trying to follow this guide:

    https://wiki.hetzner.de/index.php/Proxmox_VE/en

    Under: Network configuration host system KVM/Routed

    5 USD Price to whoever solves this.

  • hzrhzr Member

    I use Bridged instead of Routed. It's easier for single IP in VM.

    Just pick bridged, add mac address to robot, and add the standard inet eth0 within the VM. Nothing else to do on host.

  • @hzr said:
    I use Bridged instead of Routed. It's easier for single IP in VM.

    Just pick bridged, add mac address to robot, and add the standard inet eth0 within the VM. Nothing else to do on host.

    I wish to use routed similar to hetzner guides :(

    Besides, I cant see any place to add mac addresses in robot for individual IPs.

  • ClouviderClouvider Member, Patron Provider
    edited May 2018

    You cannot use routed setup when the subnet is not routed to you... that’s self explanatory.

  • msg7086msg7086 Member
    address  95.216.82.176
    

    Try 177?

  • hzrhzr Member

    It looks like little computer icon in IP list.

  • stefemanstefeman Member
    edited May 2018

    @Basil solved it.

    net.ipv4.ip_forward=1 was the issue lol

    He wins the 5 USD price. (Yes im an idiot).

    Thanked by 1Basil
  • hostfavhostfav Member, Host Rep

    Yes, you can't use 95.216.82.176 which is your subnet ID.

  • msg7086msg7086 Member
    edited May 2018

    I was actually very surprised net.ipv4.ip_forward was not enabled....lol good job Basil.

    Yet I think you should change the IP. 176 is your subnet address, not an IP.

Sign In or Register to comment.