related to a first question at the debian forum, i would like to know wether this howto is correct for Proxmox
https://wiki.hetzner.de/index.php/Proxmox_VE#Netzwerkkonfiguration_Hostsystem_Routed
The question is, why is the last IP of the subnet not working. I checked the MAC and the Ip more than twice
The configuration of the root:
Config of the not working VM
lxc config
https://wiki.hetzner.de/index.php/Proxmox_VE#Netzwerkkonfiguration_Hostsystem_Routed
The question is, why is the last IP of the subnet not working. I checked the MAC and the Ip more than twice
The configuration of the root:
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp6s0
iface enp6s0 inet static
address xx.yy.zz.18
netmask 255.255.255.192
gateway xx.yy.zz.1
pointopoint xx.yy.zz.1
iface enp6s0 inet6 static
address xxxx:yyyy:zzzz:516e::2
netmask 64
gateway xxxx::1
up sysctl -p
# ---------------------------:--- original ende --------------------
# --------------------- bridged config -------------
auto vmbr0
iface vmbr0 inet static
address xx.yy.zz.18
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add xx.yy.zz.32/32 dev vmbr0
up ip route add xx.yy.zz.55/32 dev vmbr0
up ip route add xx.yy.zz.57/32 dev vmbr0
up ip route add xx.yy.zz.59/32 dev vmbr0
up ip route add xx.yy.zz.60/32 dev vmbr0
up ip route add xx.yy.zz.62/32 dev vmbr0
auto vmbr111
iface vmbr111 inet static
address 10.8.0.1
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 10.8.0.110/32 dev vmbr111
up ip route add 10.8.0.111/32 dev vmbr111
up ip route add 10.8.0.112/32 dev vmbr111
up ip route add 10.8.0.113/32 dev vmbr111
up ip route add 10.8.0.114/32 dev vmbr111
up ip route add 10.8.0.115/32 dev vmbr111
up ip route add 10.8.0.116/32 dev vmbr111
Code:
etc/network/interfaces
# This configuration file is auto-generated.
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail
# will be at the very end of this file.
#
# Auto generated lo interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xx.yy.zz.62
netmask 255.255.255.192
gateway xx.yy.zz.18
pointopoint xx.yy.zz.18
Proxmox lxc conf file:
Code:
#LXV xxx.yyy.zzz.www
arch: amd64
cores: 4
cpulimit: 0.5
hostname: mail2.mydomain.com
memory: 1024
net0: name=eth0,bridge=vmbr0,gw=xx.yy.zz.18,hwaddr=00:50:56:00:1C:48,ip=xx.yy.zz.62/26,type=veth
onboot: 1
ostype: debian
rootfs: local:8102/vm-8102-disk-1.raw,size=50G
swap: 2048
tty: 2