Objective
- To configure routing between VLANS on a layer 3 switch
Topology
Basic setting
Layer 3 switchRequirments
- Configure routing between VLANs
- Set Fa0/2 to VLAN2
- Set up VLAN1
- Set up VLAN2
Steps
ON Multilayer Switch0
Switch(config)#ip routing // enable routingSwitch(config)#vlan 2
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport access vlan 2
Switch(config-if)#
Switch(config-vlan)#exit
Switch(config)#interface vlan 1
Switch(config-if)#ip address 10.0.0.1 255.0.0.0
Switch(config-if)#int vlan 2
Switch(config-if)#ip address 11.0.0.1 255.0.0.0
On PC1, test connectivity to PC0
PC>ping 10.0.0.2Pinging 10.0.0.2 with 32 bytes of data:
Request timed out.
Reply from 10.0.0.2: bytes=32 time=8ms TTL=127
Reply from 10.0.0.2: bytes=32 time=10ms TTL=127
Reply from 10.0.0.2: bytes=32 time=5ms TTL=127
Ping statistics for 10.0.0.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 5ms, Maximum = 10ms, Average = 7ms
PC>
No comments :
Post a Comment