Home
Certification Preparation
Cisco
CCNA & CCENT
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
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