I've Been BREAKING MY HEAD and can't seem to get it working on my Guest VMs.
I've Tried everything I just can't route my /29 to my Guest VMs
What a Headache ~
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.ipv6.conf.all.forwarding=1
vmbr0 is forwarded to LXC via guest net0 and it is pingable on guest side not on host side :`(
what am im doing wrong?
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug eth1
iface eth1 inet static
address 173.XXX.185.106 <- Main IPs 173.XXX.185.106/29
netmask 255.255.255.248
gateway 173.XXX.185.105
broadcast 173.XXX.185.111
network 173.XXX.185.104
dns-nameservers 8.8.8.8 8.8.4.4
dns-search 32097.net
post-up echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp
# dns-* options are implemented by the resolvconf package, if installed
iface eth0 inet manual
//IP Aliasing does work
auto eth1:0
iface eth1:0 inet static
address 173.XXX.185.108
netmask 255.255.255.248
Scenarios
//Works(Pingable Host & Guest) but does not have any internet access.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet static
address 173.XXX.185.106 <- I've tried putting main Public IP
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 173.XXX.185.107/32 dev vmbr0
down ip route del 173.XXX.185.107/32 dev vmbr0
//Works(Pingable Host & Guest) but does not have any internet access.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet static
address 173.XXX.185.105 <- I've tried putting my gateway
netmask 255.255.255.248
bridge_ports none <- I've tired eth0 eth1 All nothing
bridge_stp off
bridge_fd 0
up ip route add 173.XXX.185.107/32 dev vmbr0
down ip route del 173.XXX.185.107/32 dev vmbr0
//Works(Pingable Host & Guest) but does not have any internet access.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet static
address 173.XXX.185.105 <- I've tried putting my gateway
netmask 255.255.255.248
bridge_ports none <- I've tired eth0 eth1 All nothing
bridge_stp off
bridge_fd 0
//Works(Guest) but does not have any internet access even after configured on guest.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet manual
bridge_ports none <- I've tired eth0 eth1 .. nothing
bridge_stp off
bridge_fd 0
XXX is added to protect my identity
I've Tried everything I just can't route my /29 to my Guest VMs
What a Headache ~
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.ipv6.conf.all.forwarding=1
vmbr0 is forwarded to LXC via guest net0 and it is pingable on guest side not on host side :`(
what am im doing wrong?
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug eth1
iface eth1 inet static
address 173.XXX.185.106 <- Main IPs 173.XXX.185.106/29
netmask 255.255.255.248
gateway 173.XXX.185.105
broadcast 173.XXX.185.111
network 173.XXX.185.104
dns-nameservers 8.8.8.8 8.8.4.4
dns-search 32097.net
post-up echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp
# dns-* options are implemented by the resolvconf package, if installed
iface eth0 inet manual
//IP Aliasing does work
auto eth1:0
iface eth1:0 inet static
address 173.XXX.185.108
netmask 255.255.255.248
Scenarios
//Works(Pingable Host & Guest) but does not have any internet access.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet static
address 173.XXX.185.106 <- I've tried putting main Public IP
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 173.XXX.185.107/32 dev vmbr0
down ip route del 173.XXX.185.107/32 dev vmbr0
//Works(Pingable Host & Guest) but does not have any internet access.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet static
address 173.XXX.185.105 <- I've tried putting my gateway
netmask 255.255.255.248
bridge_ports none <- I've tired eth0 eth1 All nothing
bridge_stp off
bridge_fd 0
up ip route add 173.XXX.185.107/32 dev vmbr0
down ip route del 173.XXX.185.107/32 dev vmbr0
//Works(Pingable Host & Guest) but does not have any internet access.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet static
address 173.XXX.185.105 <- I've tried putting my gateway
netmask 255.255.255.248
bridge_ports none <- I've tired eth0 eth1 All nothing
bridge_stp off
bridge_fd 0
//Works(Guest) but does not have any internet access even after configured on guest.
//ping -I vmbr0 google.com => Destination Host Unreachable
auto vmbr0
iface vmbr0 inet manual
bridge_ports none <- I've tired eth0 eth1 .. nothing
bridge_stp off
bridge_fd 0
XXX is added to protect my identity
Last edited: