Switch>2 Nodes> 3 NICS - no access to switch interface

vuuduuz

Member
Feb 26, 2016
2
0
21
35
Hello.

I have 2 nodes and 1 switch, the config is like this :

Switch -> Node1
->Node2
-on node1 two NICs are connected through Switch - > eth2 which have main ip (bridged to vmbr0) & eth3 which have subnet ip for route all VMs (vmbr2)
-on node2 one NIC is connected through Switch, -> eth0 which have a subnet ip routed by eth2 from node1(vmbr3)

I attached a vmbr3 to node 2 with 192.168.1.77 ip to see the switch (NIC is connected on switch and switch is with management ,ip is : 192.168.1.1)
Few weeks ago worked like charm to acces the switch on, now i even cant ping it (after i rebooted the node2)

When i try to ping it shows :
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.77 icmp_seq=3 Destination Host Unreachable

Can you give me some ideas? Thank you very much!

Node 2 config:
# network interface settings
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual



auto vmbr0
iface vmbr0 inet static
address 82.x.x.140
netmask 255.255.255.128
gateway 82.x.x.129
bridge_ports eth0
bridge_stp off
bridge_fd 0



auto vmbr1
iface vmbr1 inet static
address 192.168.1.77
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0



# network interface settings
auto lo
iface lo inet loopback

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual




auto vmbr0
iface vmbr0 inet static
address 82.x.x129 (subnet class, just one...same like on node2)
netmask 255.255.255.128
bridge_ports eth2
bridge_stp off
bridge_fd 0


auto vmbr1
iface vmbr1 inet static
address 5.x.x.186 (main IP which needs to be routed)
netmask 255.255.248.0
gateway 5.x.x.181
bridge_ports eth3
bridge_stp off
bridge_fd 0
 
Last edited:
I have 2 nodes and 1 switch, the config is like this :

Switch -> Node1
->Node2
-on node1 two NICs are connected through Switch - > eth2 which have main ip (bridged to vmbr0) & eth3 which have subnet ip for route all VMs (vmbr2)
-on node2 one NIC is connected through Switch, -> eth0 which have a subnet ip routed by eth2 from node1(vmbr3)

I attached a vmbr3 to node 2 with 192.168.1.77 ip to see the switch (NIC is connected on switch and switch is with management ,ip is : 192.168.1.1)



Node 2 config:
auto vmbr1
iface vmbr1 inet static
address 192.168.1.77
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0

Maybe there is a typo? It is vmbr1 but not vmbr3 which has 192.168.1.77 assigned.

An how should it ever work when there is no physical NIC attached to it? 192.168.1.1 is assumed to be in the same subnet as vmbr1, but it is (AFAIU) the hardware switch and can only be reached via a physical NIC ....
 
I understand. So i cannot attach an eth2.x? Thank you very much.

Do you mean attach a vlan to a NIC in a VM?

In this case configure as follows:

- the bridge itself contains just ethx (i.e. all vlans)

- for the VM specify the requested vlan tag (via GUI: <VM-id> -> Hardware -> Network Device -> Edit)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!