Hi everyone,
Need help. I can not find a solution for few days.
I have installed Proxmox VE 5.2.8. The Proxmox host can not connect to an external IP but reaches all containers.
I have 3 available VLAN in my network 10,30,40. My host is in VLAN 40 (IP 192.168.2.70).
- I can connect to any container on this host and also to other containers in the same network (another proxmox host version 4.2 ).
- Containers in this host can connect to external network.
Debian 9 interfaces config:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond_miimon 100
bond_mode active-backup
# <- Management
auto bond0.40
iface bond0.40 inet manual
vlan-raw-device bond0
auto vmbr40
iface vmbr40 inet static
address 192.168.2.70
netmask 255.255.255.192
gateway 192.168.2.65
dns-nameserver 8.8.8.8
bridge_ports bond0.40
bridge_maxwait 10
# ->
auto bond0.10
iface bond0.10 inet manual
vlan-raw-device bond0
auto vmbr10
iface vmbr10 inet static
address 192.168.2.2
netmask 255.255.255.192
gateway 192.168.2.1
bridge_ports bond0.10
bridge_maxwait 10
auto bond0.30
iface bond0.30 inet manual
vlan-raw-device bond0
auto vmbr30
iface vmbr30 inet static
address 192.168.2.130
netmask 255.255.255.192
gateway 192.168.2.129
bridge_ports bond0.30
bridge_maxwait 10
dpkg -l | grep network
ii ifenslave 2.9 all
ii ifupdown 0.8.19 amd64
ii iproute2 4.15.0-5 amd64
ii iputils-ping 3:20161105-1 amd64
ii libnet1:amd64 1.1.6+dfsg-3 amd64
ii net-tools 1.60+git20161116.90da8a0-1 amd64
ii netbase 5.4 all
ii traceroute 1:2.1.0-2 amd64
brctl show
bridge name bridge id STP enabled interfaces
vmbr10 8000.6894a51ca58d no bond0.10
vmbr30 8000.6894a51ca58d no bond0.30
vmbr40 8000.6894a51ca58d no bond0.40
veth183i0
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
Vlan 40
# ping 192.168.2.83
PING 192.168.2.83 (192.168.2.83) 56(84) bytes of data.
64 bytes from 192.168.2.83: icmp_seq=1 ttl=64 time=0.063 ms
64 bytes from 192.168.2.83: icmp_seq=2 ttl=64 time=0.035 ms
^C
--- 192.168.2.83 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1027ms
Vlan 30
# ping 192.168.2.140
PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data.
64 bytes from 192.168.2.140: icmp_seq=1 ttl=64 time=0.169 ms
64 bytes from 192.168.2.140: icmp_seq=2 ttl=64 time=0.126 ms
64 bytes from 192.168.2.140: icmp_seq=3 ttl=64 time=0.142 ms
^C
--- 192.168.2.140 ping statistics ---
I will be grateful for any your help. Thanks in advance!
Need help. I can not find a solution for few days.
I have installed Proxmox VE 5.2.8. The Proxmox host can not connect to an external IP but reaches all containers.
I have 3 available VLAN in my network 10,30,40. My host is in VLAN 40 (IP 192.168.2.70).
- I can connect to any container on this host and also to other containers in the same network (another proxmox host version 4.2 ).
- Containers in this host can connect to external network.
Debian 9 interfaces config:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond_miimon 100
bond_mode active-backup
# <- Management
auto bond0.40
iface bond0.40 inet manual
vlan-raw-device bond0
auto vmbr40
iface vmbr40 inet static
address 192.168.2.70
netmask 255.255.255.192
gateway 192.168.2.65
dns-nameserver 8.8.8.8
bridge_ports bond0.40
bridge_maxwait 10
# ->
auto bond0.10
iface bond0.10 inet manual
vlan-raw-device bond0
auto vmbr10
iface vmbr10 inet static
address 192.168.2.2
netmask 255.255.255.192
gateway 192.168.2.1
bridge_ports bond0.10
bridge_maxwait 10
auto bond0.30
iface bond0.30 inet manual
vlan-raw-device bond0
auto vmbr30
iface vmbr30 inet static
address 192.168.2.130
netmask 255.255.255.192
gateway 192.168.2.129
bridge_ports bond0.30
bridge_maxwait 10
dpkg -l | grep network
ii ifenslave 2.9 all
ii ifupdown 0.8.19 amd64
ii iproute2 4.15.0-5 amd64
ii iputils-ping 3:20161105-1 amd64
ii libnet1:amd64 1.1.6+dfsg-3 amd64
ii net-tools 1.60+git20161116.90da8a0-1 amd64
ii netbase 5.4 all
ii traceroute 1:2.1.0-2 amd64
brctl show
bridge name bridge id STP enabled interfaces
vmbr10 8000.6894a51ca58d no bond0.10
vmbr30 8000.6894a51ca58d no bond0.30
vmbr40 8000.6894a51ca58d no bond0.40
veth183i0
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
Vlan 40
# ping 192.168.2.83
PING 192.168.2.83 (192.168.2.83) 56(84) bytes of data.
64 bytes from 192.168.2.83: icmp_seq=1 ttl=64 time=0.063 ms
64 bytes from 192.168.2.83: icmp_seq=2 ttl=64 time=0.035 ms
^C
--- 192.168.2.83 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1027ms
Vlan 30
# ping 192.168.2.140
PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data.
64 bytes from 192.168.2.140: icmp_seq=1 ttl=64 time=0.169 ms
64 bytes from 192.168.2.140: icmp_seq=2 ttl=64 time=0.126 ms
64 bytes from 192.168.2.140: icmp_seq=3 ttl=64 time=0.142 ms
^C
--- 192.168.2.140 ping statistics ---
I will be grateful for any your help. Thanks in advance!