Ch 6 Labs

download Ch 6 Labs

of 9

Transcript of Ch 6 Labs

  • 7/28/2019 Ch 6 Labs

    1/9

    6.2.2.4

    S2config t!

    vlan 10!vlan 30!exit!show vlan brief!end

    Router 1

    config t

    !ip address 172.17.10.1 255.255.255.0!no shut!int fa0/1!ip address 172.17.30.1 255.255.255.0!no shut

    *Ping between PC1 and PC3 (should be successful)

    6.2.2.5

    *Ping between PC1 and PC3 (it will no work because no VLAN routing)

    *Simulation mode, click capture forward

    S1:

    config t!

    vlan 10!vlan 30!end!show vlan brief!config t

  • 7/28/2019 Ch 6 Labs

    2/9

    !int fa0/11!switchport mode access!switchport access vlan 10!int fa0/6!switchport mode access!switchport access vlan 30!int fa0/5!switchport mode trunk!

    *Ping PC1 and PC3 (won't work)

    Router 1:

    config t!int fa0/1.10!encapsulation dot 1Q 10!ip address 172.17.10.1 255.255.255.0!int fa0/1.30!encapsulation dot 1Q 30!ip address 172.17.30.1 255.255.255.0!

    *Ping between PC1 and PC3

    *Simulation mode, click capture forward follow until done.

    6.3.3

    *Simple PDU between PC1 and R1, PC3 and R1, and PC1 and PC3 (Bad default gateway

    address for PC3)

    Check IP addresses, subnet masks, and default gateways.

    On S1:Check ports assigned to VLANs (show vlan and running-config)Ports configured for correct mode (Fa0/5 port on S1 should shows to be an access port butshould be trunking)

  • 7/28/2019 Ch 6 Labs

    3/9

    int fa0/1!switchport mode trunk!switchport trunk native vlan 99

    Ports connected to correct device

    On Router 1:Check IP addresses, Interface statuses, Encapsulation and VLAN assignment.(Port Fa0/1.10 isadministratively shut down. Enable port Fa0/1.10 on R1)Router:

    config t!int Fa0/1.10!ip address 172.17.10.1 255.255.255.0

    !no shut!

    *Ping PC1 and R1, PC3 and R1, then PC1 and PC3 (all will work out fine)

    6.4.1

    S1:

    enable

    !config t!hostname S1!enable secret class!no ip domain-lookup!ip default-gateway 172.17.99.1!line console 0!password cisco!login!line vty 0 15!password cisco!login!

  • 7/28/2019 Ch 6 Labs

    4/9

    end!copy running-config startup-config

    S2:

    int fa0/6!switchport mode access!no shut!int fa0/11!switchport mode access!no shut!int fa0/18

    !switchport mode access!no shut

    S1:config t!vtp mode server!vtp domain lab6!vtp password cisco!end!

    S2:

    config t!vtp mode client!vtp domain Lab6!

    vtp password cisco!end

    S3:

    config t!

  • 7/28/2019 Ch 6 Labs

    5/9

    vtp mode client!vtp domain Lab6!vtp password cisco!end

    S1:

    int fa0/1!switchport mode trunk!switchport trunk native vlan 99!no shut!end

    S2:

    int fa0/1!switchport mode trunk!switchport trunk native vlan 99!no shut!end

    S3:int fa0/1!switchport mode trunk!switchport trunk native vlan 99!no shut!end

    S1:

    config t!vlan 99!name management!vlan 10!

  • 7/28/2019 Ch 6 Labs

    6/9

    name faculty-staff!vlan 20!name students!vlan 30!name guest!end

    S2:

    show vlan brief

    S3:

    show vlan brief

    S1:

    config t!int vlan 99!ip address 172.17.99.11 255.255.255.0!

    S2:config t!int vlan 99!ip address 172.17.99.12 255.255.255.0!

    S3:config t!ip address 172.17.99.13 255.255.255.0

    Pings successful

    S2:

    int fa0/6!switchport access vlan 30!

  • 7/28/2019 Ch 6 Labs

    7/9

    int fa0/11!switchport access vlan 10!int fa0/18!switchport access vlan 20!end!copy running-config startup-config

    Ping PC1 to (172.17.20.22)Ping PC2 to (172.17.30.23)Ping PC3 to (172.17.30.21)

    Pings are successful.

    R1:

    config t!int fa0/0.0!no shut!int fa0/0.1!encapsulation dot1q 1!ip address 172.17.1.1 255.255.255.0

    !int fa0/0.10!encapsulation dot1q 10!ip address ip address 172.17.10.1 255.255.255.0!int fa0/0.20!encapsulation dot1q 20!ip address ip address 172.17.20.1 255.255.255.0!

    int fa0/0.30!encapsulation dot1q 30!ip address ip address 172.17.30.1 255.255.255.0!int fa0/0.99!encapsulation dot1q 99 native!

  • 7/28/2019 Ch 6 Labs

    8/9

    ip address ip address 172.17.99.1 255.255.255.0!

    R1:

    config t!int fa0/1!ip address ip address 172.17.50.1 255.255.255.0!description server interface!no shut!end!show ip route

    *Ping PC1 to ip address 172.17.50.254Ping PC1 to ip address 172.17.20.22Ping PC1 to ip address 172.17.30.23

  • 7/28/2019 Ch 6 Labs

    9/9