(How to) Sending Packets Between Different VLANs

  • Thread starter Thread starter WWGD
  • Start date Start date
AI Thread Summary
Understanding packet transmission between VLANs involves several key concepts. Packets are sent within VLANs using switches, which maintain a MAC address table to direct traffic. When the destination IP address is unknown, the switch broadcasts the packet. For inter-VLAN communication, three primary methods are identified: trunking, which uses a physical link to encapsulate VLAN information; layer-3 switches that facilitate direct connections between VLANs; and traditional routers that can manage VLAN traffic through a single interface. The process is generally straightforward, as routers and managed switches allow for the configuration of VLANs and the rules for packet routing between them. For practical implementation, consulting the manual of a compatible router is recommended.
WWGD
Science Advisor
Homework Helper
Messages
7,679
Reaction score
12,406
Hi all,
Please critique my attempt to understand the n
I'm trying to understadand the process of sending packets between different VLAns
My understanding is that packets are sent within Vlans by using switches. Packet is sent to switch , which has a
table listing pairings of MAC addresses with their assigned IPaddresses. If the IP address of the recipient is not known,
the switch will issue a broadcast.

But, how are these packets sent between VLAns?
From my reading, I gather the main options are:
1) Trunking . This consists of a physical link between the VLAns.
VLAn 1 will then encapsulate additional information in the packets, which will be stripped away by the trunk,
and relayed to VLAn 2

2) By using some special layer-3( Re OSI model) switch that is able to
connect different VLAns .

3) Using regular old routers, with a single interface?

Is this accurate?

Maybe @Svein would know?
 
Last edited:
Computer science news on Phys.org
Your quesition seems to span both the physical and functional aspects. This tutorial seems pretty popular. It might be a good match for your questions.

 
I'm puzzled by the question - are you trying to do this? Your router/managed switch let's you - or should let you - define VLANS and the rules for passing packets between them.
 
Vanadium 50 said:
I'm puzzled by the question - are you trying to do this? Your router/managed switch let's you - or should let you - define VLANS and the rules for passing packets between them.
I'm just curious.
 
Probably best then is to download a manual for a router that supports it. It's preety straightforward - VLANs get routed more or less like other packets.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top