(How to) Sending Packets Between Different VLANs

  • Thread starter Thread starter WWGD
  • Start date Start date
Click For 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,745
Reaction score
12,951
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.
 
A new phenomenon is AI-generated news videos pretending to be by well-known professors Jeffery Sachs and John Mearsheimer. The amazing thing is that they both seem very tolerant of this. Youtube will block these if they request it but this has been going on for months and such blocks never seem to happen. The other surprise is that while they may be visually ugly or even grotesque the news analysis is quite good. If given the sound alone I don't believe I could tell it from the real...

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
13
Views
2K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
7K
  • · Replies 4 ·
Replies
4
Views
32K
Replies
6
Views
2K