Hi, i have a server with debian 10 and pve at hetzner, therefor a ihave an additional subnet.
i've done it with this https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve/de
But it didn't work with my first lxc.
The networksettings in hostsystem is like:
in my lxc guest is this:
I started the lxc container, but i can't ping anyone.
So someone has a solution?
Regards Sebastian
i've done it with this https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve/de
But it didn't work with my first lxc.
The networksettings in hostsystem is like:
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto eno1
iface eno1 inet static
address 116.202.xxx.xxx Mainserver ip
netmask 255.255.255.192
gateway 116.202.xxx.xxx
pointopoint 116.202.xxx.xxx
up route add -net 116.202.165.64 netmask 255.255.255.192 gw 116.202.165.65 dev eno1
# für Einzel-IPs
auto vmbr0
iface vmbr0 inet static
address 116.202.xx.xxx
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 157.90.xx.xxx/32 dev vmbr0
up ip route add 157.90.xx.xxx/32 dev vmbr0
up ip route add 157.90.xx.xxx/32 dev vmbr0
up ip route add 157.90.xx.xxx/32 dev vmbr0
up ip route add 157.90.xx.xxx/32 dev vmbr0
up ip route add 157.90.xx.xxx/32 dev vmbr0
up ip route add 157.90.xx.xxx/32 dev vmbr0
in my lxc guest is this:
Code:
### Beispiel für Einzel-IP aus fremden Subnetz
# Loopback device:
auto lo
iface lo inet loopback
# device: eth0
auto eth0
iface eth0 inet static
address <Zusatz-IP> so 157.90.xxx.xxx
netmask 255.255.255.255
pointopoint <Haupt-IP>
gateway <Haupt-IP>
I started the lxc container, but i can't ping anyone.
So someone has a solution?
Regards Sebastian