LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2019, 01:30 PM   #1
beziabdelkarim
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Rep: Reputation: Disabled
Question Configure double VLAN tags (802.1ad) on Linux machine


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 advance
 
Old 11-19-2019, 09:06 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Do some reading, then set it up how you wish.

Examples:
https://wiki.archlinux.org/index.php/Network_bridge
https://www.linuxsysadmins.com/how-t...etwork-bridge/
http://www.microhowto.info/howto/bri..._on_linux.html
 
Old 11-20-2019, 03:30 PM   #3
beziabdelkarim
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled

Thank you.
This answer only provide the bridge configuration (link the 2 etehrnet interfaces) but I need a howto about setting the doouble vlan tags for outgoing traffic through the bridge interface.
Any help is always welcome
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ctags,tags and TAGS ,different inode,different file name,but seems same file hereisanan Linux - Server 5 05-14-2018 06:54 PM
[SOLVED] mp3 tags inconsistency between Linux and Sansa Fuze (mp3 tags editing software?) Hungry ghost Linux - Software 3 12-17-2012 08:09 PM
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 08:20 AM
After Editing Tags with JuK - XMMS do not display tags correctly Artik Linux - Software 0 07-23-2005 05:55 AM
RedHat 8.0 with 802.11a 802.11b and 802.11g Bryanx Linux - Hardware 2 05-23-2003 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration