Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCST & CCNA (Entry-level & Associate)
What is the purpose of segregating layer 2 and layer 3 traffic in a distribution swi
dppagc
tch?
Scenario 1:
Int fa0/1
switchport mode access
switchport access vlan 2
! Default Gateway
int vlan 2
ip address 10.10.10.1 255.255.255.0
Scenario 2:
Int fa0/1
no switchport
ip address 10.10.10.1 255.255.255.0
In both scenarios, the host 10.10.10.2 can ping the default gateway of the switch at 10.10.10.1. However, what is the advantage of having an additional vlan in the configuration?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
oli356
By using the SVI it allows multiple hosts on the network to use interface vlan 2 as the gateway. By using a L3 switch port then only the host connected can access that gateway ip.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS