Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4814

Français • Re: Configuration d'un VLAN privé sur un Raspberry Pi avec un switch Cisco

$
0
0
Getting a Pi configured for VLAN trunking to a Cisco is pretty easy:

Config on the Cisco:

Code:

interface GigabitEthernet5 switchport mode trunk switchport trunk native vlan 50!
View port VLAN config on the Cisco with:

Code:

show interfaces switchport GE5
On the Pi:

Code:

nmcli connection add ifname Connection-name type vlan dev eth0 id 55
That's assuming RPi OS 12/Bookworm, using NetworkManager. That will give you untagged VLAN 50 for the Pi's default traffic, and a second interface on tagged VLAN 55; for simple a VLAN config, and repeat for as many VLANs as you need. I've not played around with Cisco's Private VLAN feature, but I think you'll also need the Pi's port (GE5, in my example above) to be configured as a promiscuous port, so that it can talk to the isolated ports.

Statistics: Posted by Murph9000 — Mon Sep 16, 2024 1:16 am



Viewing all articles
Browse latest Browse all 4814

Trending Articles