Hi,
last time my boss decided to buy /29 for next vm's. Im a bit without experiences with that "advanced things" like networking so i need some help/advice. Generally i tried with these tutorial ( https://docs.hetzner.com/robot/dedicated-server/network/net-config-debian-ubuntu#routed-brouter ) and i started created ENI in our host and its looks like:
informations from Hetzner i have:
Gateway: xxx.xxx.134.92 #MAIN IP
Netmask: 255.255.255.248
Broadcast: zzz.zzz.29.63
usable IP zzz.zzz.29.57-63
and here config in vm's
but it doesnt work. Anyone have any idea what mistake i did? Maybe i shouldnt mixed these things and send ticket to Hetzner about hwaddress for /29? Thanks for any help in this thread
Now i have this config and works well
last time my boss decided to buy /29 for next vm's. Im a bit without experiences with that "advanced things" like networking so i need some help/advice. Generally i tried with these tutorial ( https://docs.hetzner.com/robot/dedicated-server/network/net-config-debian-ubuntu#routed-brouter ) and i started created ENI in our host and its looks like:
Code:
auto lo
iface lo inet loopback
auto enp8s0
iface enp8s0 inet manual
address xxx.xxx.134.92 #MAIN IP
netmask 255.255.255.255
gateway xxx.xxx.134.65
pointopoint xxx.xxx.134.65
auto vmbr0
iface vmbr0 inet static
address xxx.xxx.134.92 #MAIN IP
netmask 255.255.255.255
gateway xxx.xxx.134.65
bridge-ports none
bridge-stp off
bridge-fd 0
pre-up brctl addbr vmbr0
up ip route add xxx.xxx.134.89/26 dev vmbr0 # ADDITIONAL IP
down ip route del xxx.xxx.134.89/26 dev vmbr0
#hosting
auto vmbr5
iface vmbr5 inet static
address 10.10.90.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
#private lan
auto vmbr2
iface vmbr2 inet static
address xxx.xxx.134.92 # MAIN IP
netmask 255.255.255.255
bridge-ports none
bridge-stp off
bridge-fd 0
pre-up brctl addbr vmbr2
up ip route add zzz.zzz.29.57 dev vmbr2 #IP from /29 subnet
down ip route del zzz.zzz.29.57 dev vmbr2
#public vms
informations from Hetzner i have:
Gateway: xxx.xxx.134.92 #MAIN IP
Netmask: 255.255.255.248
Broadcast: zzz.zzz.29.63
usable IP zzz.zzz.29.57-63
and here config in vm's
Code:
auto ens18
iface ens18 inet static
address zzz.zzz.29.57
netmask 255.255.255.248
gateway xxx.xxx.134.92 #MAIN IP
pointopoint xxx.xxx.134.92 #MAIN IP
dns-nameservers 1.1.1.1 213.133.106.251
auto ens19
iface ens19 inet static
address 10.10.90.5/24
but it doesnt work. Anyone have any idea what mistake i did? Maybe i shouldnt mixed these things and send ticket to Hetzner about hwaddress for /29? Thanks for any help in this thread
Now i have this config and works well
Code:
auto lo
iface lo inet loopback
iface enp8s0 inet manual
auto vmbr0
iface vmbr0 inet static
address xxx.xxx.134.92/26 #MAIN IP
gateway xxx.xxx.134.65
bridge-ports enp8s0
bridge-stp off
bridge-fd 1
bridge-vlan-aware yes
bridge-vids 2-4094
pointopoint xxx.xxx.134.65
up ip route add xxx.xxx.134.89/26 dev vmbr0 #ADDITIONAL IP
auto vmbr5
iface vmbr5 inet static
address 10.10.90.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
#private vlan