Tuesday, April 20, 2021

Proxmox, VLAN's and ZeroTier - InterVLAN Bridging

Hey there, Been stuck on this for a few days, I've got a few virtual machines with a provider, and they have setup a VLAN between them.. Am wanting to have all the associated VLANs on the other VMs have access to the ZeroTier network and GRE network that i've got attached to a single one.. i've got it in a normal linux bridge, and while yes they can communicate, they can only communicate directly to the VLAN'd IPs.

​

Anyway, some helpful guidance would me much appreciated.. yes the interface names are different, but yes it's connected to the same VLAN, using Debian 10.

​

Here are configs;

Main Server;

```

# Ethernet

allow-hotplug ens192

iface ens192 inet dhcp

​

# VLAN

auto ens224

iface ens224 inet manual

​

# Bridge

auto br0

iface br0 inet manual

bridge_stp off

bridge_fd 0

bridge_waitport 0

bridge_ports ens224 ztyxaw4yqx ztr2qs4e5q

up /bin/ip addr add 2407:xxxx:xx::xx:1/48 dev br0

up /bin/ip addr add 172.xx.xx.1/16 dev br0

```

​

Connected VM #1

```

# Ethernet

allow-hotplug ens192

iface ens192 inet dhcp

​

iface ens192:0 inet6 static

address 2a0a:xxx:xx::1

netmask 48

​

#VLAN

auto ens161

iface ens161 inet static

address 172.xx.xx.254

netmask 255.255.0.0

iface ens161 inet6 static

address 2407:xx:xx::xx:xx:54:1

netmask 48

```

Pinging Main Server & Another server via my ZeroTier from Connected VM #1: https://www.screenimg.xyz/DhXUXEs1Mt.png

Pinging Connected VM #1 and Another server via Zerotier from Main Server: https://www.screenimg.xyz/ygGv6XD1mb.png

​

Main Server brctl: https://www.screenimg.xyz/bYeVKAeF4U.png



No comments:

Post a Comment