VLAN Trunking

Pada post sebelumnya saya sudah menjelaskan konsep vlan secara sederhana dengan satu switch. Lalu bagaimana bila terdapat dua switch dan masing-masing pc di switch tersebut harus ada dalam satu vlan? Lab kali ini akan membahas trunking vlan secara sederhana.

Topologi

Screenshot_11e

Penyelesaian

Pada Switch 1:

vlan 10
name IDN-VLAN10

vlan 20
name IDN-VLAN20

int fa0/1switchport mode trunk
int fa0/2switchport access vlan 10
int fa0/3switchport access vlan 20

Pada Switch 2:

vlan 10
name IDN-VLAN10

vlan 20
name IDN-VLAN20

int fa0/1
switchport mode trunk

int fa0/2
switchport access vlan 10

int fa0/3
switchport access vlan 20

Pengujian

Pada PC1:

PC>ping 10.10.10.2

Pinging 10.10.10.2 with 32 bytes of data:

Reply from 10.10.10.2: bytes=32 time=0ms TTL=128
Reply from 10.10.10.2: bytes=32 time=0ms TTL=128
Reply from 10.10.10.2: bytes=32 time=0ms TTL=128
Reply from 10.10.10.2: bytes=32 time=1ms TTL=128

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

PC>ping 20.20.20.1

Pinging 20.20.20.1 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 20.20.20.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC>ping 20.20.20.2

Pinging 20.20.20.2 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 20.20.20.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

 

Pada PC2:

PC>ping 10.10.10.1

Pinging 10.10.10.1 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 10.10.10.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC>ping 10.10.10.2

Pinging 10.10.10.2 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 10.10.10.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC>ping 20.20.20.2

Pinging 20.20.20.2 with 32 bytes of data:

Reply from 20.20.20.2: bytes=32 time=1ms TTL=128
Reply from 20.20.20.2: bytes=32 time=0ms TTL=128
Reply from 20.20.20.2: bytes=32 time=0ms TTL=128
Reply from 20.20.20.2: bytes=32 time=1ms TTL=128

Ping statistics for 20.20.20.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, 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