Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-20-2017, 06:56 PM   #1
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Connecting a Linux system to a trunk port and NOT using VLANing?

Linux sysadmin here, but ignorant of network switch configuration.

Currently my physical Linux (RHEL 5+, SLES 10+) systems are connected to access ports, and working well. Soon they are all moving to another site, so I will need to change all their IPs. I have hundreds of systems and they don't all fit on one VLAN. My question is about the physical hookup and what switch configuration to request at the destination.

Ideally I do not want to have to deal with exactly matching systems to access ports, because there will be more than two VLANs.

If at the destination, the switch ports are trunk ports configured to allow all of the VLANs set up for us, do I need to do anything on the Linux systems besides changing the IP, netmask, and gateway? Or will I have to enable 802.11q on the operating system and configure it to tag traffic?
Old 06-21-2017, 06:56 AM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 3,319

Rep: Reputation: Disabled
A trunk port can accept two types of traffic:
  1. Frames with 802.1q VLAN tags will be sent to the VLAN specified by the tag (as long as the VLAN in question is defined as valid for the port)
  2. Untagged frames will be sent to the trunk port's "native" VLAN (the trunk port basically acts as an access port)
In other words, you either have to configure each switch port as belonging to a specific access VLANs depending on which host will be using the port, or you have to configure a VLAN interface on each host and connect them to trunk ports.

Last edited by Ser Olmy; 06-24-2017 at 03:41 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
To Trunk or not to Trunk... kernel version craziness Seemoi Debian 7 04-09-2010 04:30 PM
Tracing Intruders connecting to our system in Redhat Linux operating system vkunasani Linux - Software 4 02-15-2010 07:23 AM
FreeBSD - need help making vlan for multi-port trunk.. BrianK *BSD 1 06-13-2006 02:48 PM
Need help sending a 4-port trunk to my linux box BrianK Linux - Networking 3 06-12-2006 11:47 PM
trunk port in switch czezz Linux - Hardware 1 07-21-2005 03:34 AM > Forums > Linux Forums > Linux - Networking

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

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