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.
[$5] What am I doing wrong with Proxmox Networking (Hetzner)
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
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.
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.
You cannot use routed setup when the subnet is not routed to you... that’s self explanatory.
Try 177?
It looks like little computer icon in IP list.
@Basil solved it.
net.ipv4.ip_forward=1 was the issue lol
He wins the 5 USD price. (Yes im an idiot).
Yes, you can't use 95.216.82.176 which is your subnet ID.
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.