Article 4VAJQ Configure double VLAN tags (802.1ad) on Linux machine

Configure double VLAN tags (802.1ad) on Linux machine

by
beziabdelkarim
from LinuxQuestions.org on (#4VAJQ)
Hello,

I'm trying to configure a linux machine as a bridge between 2 different networks.
The machine has 2 real network interfaces eth0 and eth1.
The first network interface (eth0.10) receives packets tagged using VLAN ID 10
After routing, I need to add an extra VLAN header (802.1ad) for outgoing packets from second network interface. (VLAN id 30) ==> eth1.30

So outgoing traffic will have S-tag added i.e. : 2x VLAN headers (VLAN 10 and VLAN 30)

Is it any easy way / example to follow in order to make this setup?
Linux networking configuration commands would be helpful

Thanks in advancelatest?d=yIl2AUoC8zA latest?i=xlUShKR2UdI:JyE9KLLjvhA:F7zBnMy latest?i=xlUShKR2UdI:JyE9KLLjvhA:V_sGLiP latest?d=qj6IDK7rITs latest?i=xlUShKR2UdI:JyE9KLLjvhA:gIN9vFwxlUShKR2UdI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments