Step 1: Connect the equipment
a. Connect PC1 to the switch with a console cable.
b. Connect PC1 to switch port Fast Ethernet 0/4 with a straight-through Ethernet cable.
c. Connect PC2 to switch port Fast Ethernet 0/5 with a straight-through Ethernet cable.
d. Connect PC3 to switch port Fast Ethernet 0/7 with a straight-through Ethernet cable.
Use this table to configure addressing on the PCs.
Step 3: Configure Switch 1
a. Configure Switch 1 with a hostname and console, Telnet, and privileged passwords.
b. Configure Switch 1 with the VLAN 1 IP address of 172.16.1.2/24.
Switch1(config)#interface vlan1
Switch1(config-if)#ip address 172.16.1.2 255.255.255.0
Switch1(config-if)#no shutdown
Switch1(config-if)#exit
c. Create VLAN 10, named Faculty, and VLAN 20, named Students.
Switch1(config)#vlan 10
Switch1(config-vlan)#name Faculty
Switch1(config-v exit lan)#
Switch1(config)#vlan 20
Switch1(config-vlan)#name Students
Switch1(config-vlan)#exit
d. Configure Switch 1 with the default gateway address of 172.16.1.1.
Switch1(config)#ip default-gateway 172.16.1.1
e. Configure Switch 1 to place interfaces Fa0/5 and Fa0/6 in VLAN 10.
Switch1(config)#interface Fa0/5
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 10
Switch1(config-if)#interface Fa0/6
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 10
Switch1(config-if)#exit
f. Configure Switch 1 to place interfaces Fa0/7 and Fa0/8 in VLAN 20.
Switch1(config)#interface Fa0/7
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 20
Switch1(config-if)#interface Fa0/8
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 20
Switch1(config-if)#end
Switch1#
g. Save the configuration.
Switch1#copy running-config startup-config
h. By default, there is only a single VLAN for all ports. You cannot rename or delete VLAN 1. Therefore, no further configuration is necessary to assign the rest of the ports to VLAN 1. To prove this, issue the command show vlan brief.
i. Are all other switch ports in VLAN 1?
Jawaban : ya semua ports berada pada VLAN 1
j. Which switch ports are in VLAN 10?
Jawaban : Fa0/5 – Fa0/6
k. Which switch ports are in VLAN 20?
Jawaban : Fa0/7 – Fa0/8
l. Issue the command show vlan. What difference is noticed between the two commandsshow vlan brief and show vlan?
Jawaban : perbedaan antara command show vlan brief dan show vlan ialah pada show vlan brief hanya sedikit sekali informasi yagn diberikan, jika pada show vlan tiap – tiap port pada switch dirincinya.
Step 4: Verify connectivity
a. Ping from each PC to Switch1 address of 172.16.1.2.
Are PC1 pings successful? Ya , berhasil
Are PC2 pings successful? Ya, berhasil
Are PC3 pings successful?ya, berhasil
b. Ping from PC1 to PC2 and PC3.
Can PC1 ping PC2? Tidak berhasil
Can PC1 ping PC3? Tidak berhasil.
Step 5: Reflection
a. Why can PC1 ping Switch1 when PC2 and PC3 cannot?
Jawaban : karena PC1 memiliki alamat IP address 172.16.1.1 subnet bitnya langsung termasuk yang dipakai sebagai gateway. Sedangkan PC2 dan PC3 tidak.
b. The PCs cannot ping each other. Why?
Jawaban : karena masing masing PC berada pada kelas yang berbeda, yaitu PC1 =172.16.1.1 . Pc2= 176.16.10.1 sedangkan PC3 = 172.16.30.
Lab 3.3.2 Configuring, Verifying, and Troubleshooting VLANs
Step 1: Connect the equipment
a. Connect the router Fa0/0 interface with a straight-through cable to Switch 1 Fa0/8 interface.
b. Connect the Host 1a Ethernet interface with a straight-through cable to Switch 1 Fa0/2 interface.
c. Connect the Host 1b Ethernet interface with a straight-through cable to Switch 1 Fa0/3 interface.
d. Connect a PC with a console cable to perform configurations on the router and switches.
Step 2: Perform basic configuration on the router
a. Connect a PC to the console port of the router to perform configurations using a terminal emulation program.
b. Configure Router 1 with a hostname and console, Telnet, and privileged passwords according to the table diagram.
Step 3: Configure Switch 1
a. Configure S1 hostname and passwords.
b. Configure Switch 1 with a hostname and console, Telnet, and privileged passwords according to the
addressing table.
c. Configure S1 with an IP address and default gateway.
S1(config)#interface vlan1
S1(config-if)#ip address 172.16.1.2 255.255.255.0
S1(config-if)#no shutdown
S1(config-if)#exit
S1(config)#ip default-gateway 172.16.1.1
S1(config)#end
Step 4: Verify connectivity and default VLAN configuration
a. Verify LAN connectivity by pinging from the router to the switch and the hosts. Also verify that you can ping from host to host.
b. Verify default VLAN configuration with the show vlan command on S1.
S1#show vlan
Are all switch ports assigned to VLAN 1? Ya, VLAN 1 port switchnya memang pada S1
Step 5: Configure VLANs on S1
a. Create and name two additional VLANs on S1.
S1(config)#vlan 20
S1(config-vlan)#name fred
S1(config-vlan)#exit
S1(config)#vlan 30
S1(config-vlan)#name wilma
S1(config-vlan)#exit
b. Verify the creation of the new VLANs with the show vlan command.
S1#show vlan
Do the new VLANs appear in the output? ya
What interfaces belong to the new VLANs? R1 yaitu FA0/0
c. Assign interfaces to VLANs. Assign S1 port Fa0/2 to VLAN 20 and ports Fa0/3 – Fa0/8 to VLAN 30.
S1(config)#int Fa0/2
S1(config-if)#switchport access vlan 20
S1(config-if)#exit
S1(config-)#interface range Fa0/3 – 8
S1(config-if-range)#switchport access vlan 30
S1(config-if-range)#end
S1#show running-config
Observe that the switchport access command was applied to ports Fa0/2 – Fa0/8.
d. Verify the port assignments of the new VLANs with the show vlan command.
S1#show vlan
Which interfaces now belong to VLAN 1? R1
Which interfaces belong to VLAN 20? S1
Which interfaces belong to VLAN 30? 1b
e. Other commands can be used to show different amounts of information or specific pieces of
information. Enter the following commands on S1 and observe the output:
S1#show vlan brief
Is all of the basic VLAN membership information shown?
Jawaban : Tidak semuanya ditampilkan pada command show VLAN brief
S1#show vlan id 30
What information is shown?
Jawaban : hanya IP address
S1#show vlan name fred
What information is shown?
Jawaban : Nama – nama port yang terhubung.
Step 6: Verify VLAN segmentation
In the previous step, the ports connected to R1 and Host 1b were placed in one VLAN and Host 1a was
placed in another. Even though these hosts are connected to one switch, it appears as if there are two
separate switches. Connectivity tests will prove this.
a. Ping from Host 1b to R1.
Were the pings successful?
Jawaban : Ya berhasil
b. Ping from Host 1b to Host 1a.
Were the pings successful?
Jawaban : berhasil
c. Ping from Host 1b to R1.
Were the pings successful?
Jawaban : tidak
Why were some pings successful and others not?
Jawaban : Karena beberapa ada yang perlu dilakukan VLAN agar dapat berkomunikasi sedangkan yang lain hanya perlu switch agar dapat berkomunikasi.
How could Host 1b communicate with Host 1a in different VLAN?
Jawaban : Menggunakan interface dari R1
Step 7: Change and delete VLAN configurations
a. Reassign S1 port Fa0/3 to VLAN 20.
S1(config)#interface Fa0/3
S1(config-if)#switchport access vlan 20
S1(config)#end
S1#show vlan
Does the output reflect the VLAN membership change?
Jawaban : Ya
b. Remove VLAN 30.
Which two commands would be used to delete all VLAN configuration and return to the default
configuration?
Step 8: Reflection
a. Why would VLANs be configured in a network?
Jawaban : vlan dapat digunakan untuk menghubungkan dan membatasi dan juga bias memferivikasi ports ports yagn bisa terkoneksi.
b. What must be set up to communicate between VLANS?
Jawaban : Yang harus diatur ialah menentukan VLAN 1 berserta IP address dan Gateway
c. With no configuration, what VLAN are all ports a member of?
Jawaban : VLAN1
Tidak ada komentar:
Posting Komentar