VLAN: LAB: SVI INTER-VLAN COMMUNICATION


SCENARIO:

L3 SWITCH CONNECTED TO TWO HOSTS, (int f0/1)HOST 1 &   (int f0/2)HOST 2

Host 1 belongs to VLAN10, 192.168.10.0/24

Host 2 belongs to VLAN20, 10.10.10.0/24

Requirement is to allow INTER-VLAN ROUTING

INTER-VLAN

STEPS TO BE FOLLOWED

  • Assign IP address and Default Gateways to Host 1 and Host 2
  • Create SVI’s on L3 switch
  • Apply command : “ip routing” on switch to allow communication between two VLAN’s
  • Create L2 path to allow communication between SVI’s and assign concerned ports to L2 VLAN’s

Assign IP address and Default Gateways to Host 1 and Host 2

Host 1

ip: 192.168.10.10  255.255.255.0

Default Gateway:  192.168.10.1

Host 2

ip:10.10.10.10   255.255.255.0

Default Gateway:  10.10.10.1

Create SVI’s on L3 switch

interface Vlan10

ip address 192.168.10.1 255.255.255.0

!

interface Vlan20

ip address 10.10.10.1 255.255.255.0

Apply command : “ip routing” on switch to allow communication between two VLAN’s

Switch#conf t

Switch(config)#ip routing

Create L2 path to allow communication between SVI’s and assign concerned ports to L2 VLAN’s

CREATING L2 VLAN’S

Switch#sh vlan br

10   VLAN0010                         active    Fa0/1

20   VLAN0020                         active    Fa0/2

ASSIGNING HOST CONNECTED PORTS TO ABOVE CREATED L2 VLAN’S

Switch#sh running-config

interface FastEthernet0/1

switchport access vlan 10

RESULT

Host 1>ping 10.10.10.10

Pinging 10.10.10.10 with 32 bytes of data:

Reply from 10.10.10.10: bytes=32 time=1ms TTL=127 Reply from 10.10.10.10: bytes=32 time=0ms TTL=127 Reply from 10.10.10.10: bytes=32 time=0ms TTL=127 Reply from 10.10.10.10: bytes=32 time=0ms TTL=127

Ping statistics for 10.10.10.10:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 0ms, Maximum = 1ms, Average = 0ms

Host 2>ping 192.168.10.10

Pinging 192.168.10.10 with 32 bytes of data:

Reply from 192.168.10.10: bytes=32 time=0ms TTL=127 Reply from 192.168.10.10: bytes=32 time=0ms TTL=127 Reply from 192.168.10.10: bytes=32 time=0ms TTL=127 Reply from 192.168.10.10: bytes=32 time=0ms TTL=127

Ping statistics for 192.168.10.10:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 0ms, Maximum = 0ms, Average = 0ms

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s