(How to) Sending Packets Between Different VLANs

  • Thread starter Thread starter WWGD
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
Science Advisor
Homework Helper
Messages
7,831
Reaction score
13,158
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:
Physics 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.

 
Reply
  • Like
Likes   Reactions: WWGD
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.