Having issue on proxmox with hetzner

afidegnum

Active Member
Aug 18, 2017
6
0
41
45
i am trying to create a virtual container on my existing debian installation. while hosted on hetzner i followed their directives,

when i chose a bridged mode with the following configuration

Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eth0
iface eth0 inet static
  address 136.243.58.29
  netmask 255.255.255.192
  gateway 136.243.58.1
  # route 136.243.58.0/26 via 136.243.58.1
  up route add -net 136.243.58.0 netmask 255.255.255.192 gw 136.243.58.1 dev eth0

iface eth0 inet6 static
  address 2a01:4f8:212:191c::2
  netmask 64
  gateway fe80::1

I have 2 IP addresses one given by the hosting provider as configured here, and another ip address purchased purposely for the virtual machine which i m aware it's MAC address needs to be added from proxmox interface and static ip address from the virutal machine. can you please guide me further?

N.B after installation, i can't still have access to the interface via port 8006
 
as suggested in the documentation, i have run

Code:
modprobe kvm
modprobe kvm_intel

and

Code:
sysctl -w net.ipv4.ip_forward=1
but i still can't detect the virtual network interface
 
A minimal network setup looks like this below, Hetzner's is different from that, hence the documentation.

cat /etc/network/interfaces
Code:
auto lo
iface lo inet loopback

iface enp6s0 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports enp6s0
    bridge_stp off
    bridge_fd 0
 
thanks @Alvin for your reply, this is my current settings

Code:
### Hetzner Online GmbH installimage

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eth0
iface eth0 inet static
  address 136.243.58.29
  netmask 255.255.255.192
  gateway 136.243.58.1
  # route 136.243.58.0/26 via 136.243.58.1
  up route add -net 136.243.58.0 netmask 255.255.255.192 gw 136.243.58.1 dev eth0

iface eth0 inet6 static
  address 2a01:4f8:212:191c::2
  netmask 64
  gateway fe80::1
 
This settings did not work for me,

Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
        address  136.243.58.29
        netmask  255.255.255.192
        gateway  136.243.58.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

iface vmbr0 inet6 static
        address  2a01:4f8:212:191c::2
        netmask  64
        gateway  fe80::1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!