Hi,
I am trying to setup network through bridge on my hetnzer server, but it doesnt work and internet stoped working on host. However, according to the guides and other examples of configurations, my config should work(Guide, Forum answer).
Thank you.
Bridge config attempt:
Working default config:
I am trying to setup network through bridge on my hetnzer server, but it doesnt work and internet stoped working on host. However, according to the guides and other examples of configurations, my config should work(Guide, Forum answer).
Thank you.
Bridge config attempt:
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
iface ens4 inet manual
auto vmbr0
iface vmbr0 inet static
address 173.2.1.98/27
gateway 173.2.1.97
bridge_ports ens4
bridge_stp off
bridge_fd 1
up route add -net 173.2.1.96 netmask 255.255.255.224 gw 173.2.1.97 dev ens4
# route 173.2.1.96/27 via 173.2.1.97
iface ens4 inet6 static
address 2a01:4f8:141:5058::2/64
gateway fe80::1
Working default config:
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto ens4
iface ens4 inet static
address 173.2.1.98/27
gateway 173.2.1.97
up route add -net 173.2.1.96 netmask 255.255.255.224 gw 173.2.1.97 dev ens4
# route 173.2.1.96/27 via 173.2.1.97
iface ens4 inet6 static
address 2a01:4f8:141:5058::2/64
gateway fe80::1