I'm trying to setup `vlan 33` with a single nic on my proxmox server. I have the below configuration on my `/etc/network/interfaces` file.
Once the above configuration applied, machine can not access anything.
IP address looks normal.
I tried every permutation on the switch TL-SG108E like below, this machine is connected to the port #3 of this switch. All other vlans (34,35,36) are functional.
Switch port #1 goes to my main router port #4. My main router vlan table is as below.
Port #2 goes to my slave router Port #1. Slave router table is like below.
Please let me know if you see anything wrong with above config. I really like to make use of Proxmox vlans.
Thank you in advance!!
Edits:
- Looks like tag icons are not retained in the tables above, replaced them with text
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0.33
iface vmbr0.33 inet static
address [redacted]/24
gateway [redacted]
auto vmbr0
iface vmbr0 inet static
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
Once the above configuration applied, machine can not access anything.
$ ping -c 2 [redacted]
PING [redacted] (10.24.0.1) 56(84) bytes of data.
From [redacted] icmp_seq=1 Destination Host Unreachable
From [redacted] icmp_seq=2 Destination Host Unreachable
IP address looks normal.
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 8c:89:a5:5d:9f:5a brd ff:ff:ff:ff:ff:ff
7: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 8c:89:a5:5d:9f:5a brd ff:ff:ff:ff:ff:ff
inet6 fe80::8e89:a5ff:fe5d:9f5a/64 scope link
valid_lft forever preferred_lft forever
8: vmbr0.33@vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 8c:89:a5:5d:9f:5a brd ff:ff:ff:ff:ff:ff
inet [redacted]/24 scope global vmbr0.33
valid_lft forever preferred_lft forever
inet6 fe80::8e89:a5ff:fe5d:9f5a/64 scope link
valid_lft forever preferred_lft forever
I tried every permutation on the switch TL-SG108E like below, this machine is connected to the port #3 of this switch. All other vlans (34,35,36) are functional.
VLAN ID | VLAN Name | Member Ports | Tagged Ports | Untagged Ports | Delete |
1 | Default | 1-4 | 1-4 | ||
33 | Dev | 1-3 | 1-3 | ||
34 | IoT | 1-2 | 1-2 | ||
35 | Guest | 1-2 | 1-2 | ||
36 | TVs | 1,5-8 | 1 | 5-8 |
Switch port #1 goes to my main router port #4. My main router vlan table is as below.
VLAN | VID | WAN | Tag WAN | 1 | Tag 1 | 2 | Tag 2 | 3 | Tag 3 | 4 | Tag 4 | Default VLAN | Ethernet to bridge mapping |
1 | 1 | Default | LAN0 (br0) | ||||||||||
2 | 2 | WAN0 bridge | |||||||||||
3 | 34 | Tagged | LAN1 (br1) | ||||||||||
4 | 35 | Tagged | LAN2 (br2) | ||||||||||
5 | 36 | Tagged | LAN3 (br3) | ||||||||||
6 | 33 | Tagged |
Port #2 goes to my slave router Port #1. Slave router table is like below.
VLAN | VID | WAN | Tag WAN | 1 | Tag 1 | 2 | Tag 2 | 3 | Tag 3 | 4 | Tag 4 | Default VLAN | Ethernet to bridge mapping |
1 | 1 | Default | LAN0 (br0) | ||||||||||
2 | 2 | WAN0 bridge | |||||||||||
3 | 34 | Tagged | LAN1 (br1) | ||||||||||
4 | 35 | Tagged | LAN2 (br2) | ||||||||||
5 | 33 | Tagged | Tagged |
Please let me know if you see anything wrong with above config. I really like to make use of Proxmox vlans.
Thank you in advance!!
Edits:
- Looks like tag icons are not retained in the tables above, replaced them with text
Last edited: