Sunday, April 12, 2020

Cisco Next Step


Previous | Cisco Next Step | Next



Return to Cisco Basics (CCNA level)
Return to Hackingcisco (miscellaneous labs)

Building Routing and Switching Playground

I love discovering how stuff works. I love tinkering with computers and cars in particular. This one here, is about Cisco network devices, which are a form of specialized computers. I

I have this virtual lab I can try to put in good use. The following physical topology can be used to create an unlimited variations of L2/L3 labs.

LAB - LAYER 1 Topology

*********************** Router 1 Physical Connections ***********************
R1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            167             R S   Linux Uni Eth 0/0
SW1              Eth 0/0            164             R S   Linux Uni Eth 0/0
SW2              Eth 0/1            165             R S   Linux Uni Eth 0/0
SW3              Eth 0/2            166             R S   Linux Uni Eth 0/0


*********************** Router 2 Physical Connections ***********************

R2#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            163             R S   Linux Uni Eth 0/1
SW1              Eth 0/0            160             R S   Linux Uni Eth 0/1
SW2              Eth 0/1            161             R S   Linux Uni Eth 0/1
SW3              Eth 0/2            162             R S   Linux Uni Eth 0/1


*********************** Router 3 Physical Connections ***********************

R3#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            162             R S   Linux Uni Eth 0/2
SW1              Eth 0/0            159             R S   Linux Uni Eth 0/2
SW2              Eth 0/1            160             R S   Linux Uni Eth 0/2
SW3              Eth 0/2            161             R S   Linux Uni Eth 0/2
R3#


*********************** Router 4 Physical Connections ***********************

R4#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            137             R S   Linux Uni Eth 0/3
SW1              Eth 0/0            134             R S   Linux Uni Eth 0/3
SW2              Eth 0/1            135             R S   Linux Uni Eth 0/3
SW3              Eth 0/2            136             R S   Linux Uni Eth 0/3


*********************** Router 5 Physical Connections ***********************

R5#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            138             R S   Linux Uni Eth 1/0
SW1              Eth 0/0            135             R S   Linux Uni Eth 1/0
SW2              Eth 0/1            136             R S   Linux Uni Eth 1/0
SW3              Eth 0/2            137             R S   Linux Uni Eth 1/0


*********************** Router 6 Physical Connections ***********************

R6#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            170             R S   Linux Uni Eth 1/1
SW1              Eth 0/0            167             R S   Linux Uni Eth 1/1
SW2              Eth 0/1            168             R S   Linux Uni Eth 1/1
SW3              Eth 0/2            169             R S   Linux Uni Eth 1/1


*********************** Router 7 Physical Connections ***********************

R7#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            137             R S   Linux Uni Eth 1/2
SW1              Eth 0/0            134             R S   Linux Uni Eth 1/2
SW2              Eth 0/1            135             R S   Linux Uni Eth 1/2
SW3              Eth 0/2            136             R S   Linux Uni Eth 1/2


*********************** Router 8 Physical Connections ***********************
R8#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            141             R S   Linux Uni Eth 1/3
SW1              Eth 0/0            138             R S   Linux Uni Eth 1/3
SW2              Eth 0/1            139             R S   Linux Uni Eth 1/3
SW3              Eth 0/2            140             R S   Linux Uni Eth 1/3


*********************** Router 9 Physical Connections ***********************
R9#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3            151             R S   Linux Uni Eth 2/0
SW1              Eth 0/0            148             R S   Linux Uni Eth 2/0
SW2              Eth 0/1            149             R S   Linux Uni Eth 2/0
SW3              Eth 0/2            150             R S   Linux Uni Eth 2/0


*********************** Switch 1 Physical Connections ***********************

SW1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 5/0           155              R S   Linux Uni Eth 5/0
SW4              Eth 5/1           155              R S   Linux Uni Eth 5/1
SW2              Eth 4/0           153              R S   Linux Uni Eth 4/0
SW2              Eth 4/1           153              R S   Linux Uni Eth 4/1
SW3              Eth 4/2           154              R S   Linux Uni Eth 4/2
SW3              Eth 4/3           154              R S   Linux Uni Eth 4/3
R2               Eth 0/1           154               R    Linux Uni Eth 0/0
R3               Eth 0/2           150               R    Linux Uni Eth 0/0
R1               Eth 0/0           151               R    Linux Uni Eth 0/0
R6               Eth 1/1           176               R    Linux Uni Eth 0/0
R7               Eth 1/2           170               R    Linux Uni Eth 0/0
R4               Eth 0/3           154               R    Linux Uni Eth 0/0
R5               Eth 1/0           161               R    Linux Uni Eth 0/0
R8               Eth 1/3           172               R    Linux Uni Eth 0/0
R9               Eth 2/0           166               R    Linux Uni Eth 0/0


*********************** Switch 2 Physical Connections ***********************

SW2#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 4/2           164              R S   Linux Uni Eth 4/2
SW4              Eth 4/3           164              R S   Linux Uni Eth 4/3
SW1              Eth 4/0           161              R S   Linux Uni Eth 4/0
SW1              Eth 4/1           161              R S   Linux Uni Eth 4/1
SW3              Eth 5/1           163              R S   Linux Uni Eth 5/1
SW3              Eth 5/0           163              R S   Linux Uni Eth 5/0
R2               Eth 0/1           149               R    Linux Uni Eth 0/1
R3               Eth 0/2           124               R    Linux Uni Eth 0/1
R1               Eth 0/0           161               R    Linux Uni Eth 0/1
R6               Eth 1/1           152               R    Linux Uni Eth 0/1
R7               Eth 1/2           152               R    Linux Uni Eth 0/1
R4               Eth 0/3           130               R    Linux Uni Eth 0/1
R5               Eth 1/0           130               R    Linux Uni Eth 0/1
R8               Eth 1/3           126               R    Linux Uni Eth 0/1
R9               Eth 2/0           147               R    Linux Uni Eth 0/1


*********************** Switch 3 Physical Connections ***********************

SW3#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 4/0           133              R S   Linux Uni Eth 4/0
SW4              Eth 4/1           133              R S   Linux Uni Eth 4/1
SW1              Eth 4/2           130              R S   Linux Uni Eth 4/2
SW1              Eth 4/3           130              R S   Linux Uni Eth 4/3
SW2              Eth 5/0           131              R S   Linux Uni Eth 5/0
SW2              Eth 5/1           131              R S   Linux Uni Eth 5/1
R2               Eth 0/1           165               R    Linux Uni Eth 0/2
R3               Eth 0/2           171               R    Linux Uni Eth 0/2
R1               Eth 0/0           163               R    Linux Uni Eth 0/2
R6               Eth 1/1           158               R    Linux Uni Eth 0/2
R7               Eth 1/2           131               R    Linux Uni Eth 0/2
R4               Eth 0/3           151               R    Linux Uni Eth 0/2
R5               Eth 1/0           160               R    Linux Uni Eth 0/2
R8               Eth 1/3           178               R    Linux Uni Eth 0/2
R9               Eth 2/0           178               R    Linux Uni Eth 0/2


*********************** Switch 4 Physical Connections ***********************

SW4#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW1              Eth 5/1           152              R S   Linux Uni Eth 5/1
SW1              Eth 5/0           152              R S   Linux Uni Eth 5/0
SW2              Eth 4/2           153              R S   Linux Uni Eth 4/2
SW2              Eth 4/3           153              R S   Linux Uni Eth 4/3
SW3              Eth 4/1           154              R S   Linux Uni Eth 4/1
SW3              Eth 4/0           154              R S   Linux Uni Eth 4/0
R2               Eth 0/1           150               R    Linux Uni Eth 0/3
R3               Eth 0/2           141               R    Linux Uni Eth 0/3
R1               Eth 0/0           147               R    Linux Uni Eth 0/3
R6               Eth 1/1           163               R    Linux Uni Eth 0/3
R7               Eth 1/2           135               R    Linux Uni Eth 0/3
R4               Eth 0/3           137               R    Linux Uni Eth 0/3
R5               Eth 1/0           164               R    Linux Uni Eth 0/3
R8               Eth 1/3           158               R    Linux Uni Eth 0/3
R9               Eth 2/0           149               R    Linux Uni Eth 0/3


We are off to a good start now.

Previous | Cisco Next Level | Next

Building Routing and Switching Playground


Previous | Cisco Next Level | Next



Return to Cisco Basics (CCNA level)
Return to Hackingcisco (miscellaneous labs)

Building The Lab Topology

So, given the physical topology here's the first topology that will be my playground:



Pic1-1: Topology (Vlans)

Now, let's configure layer 2 and IP addressing and start experimenting.
The physical layer (layer 1 from previous post) will be the guide on how to accomplish the above Layer3 connectivity (point-to-point for now).


Initially, I wanted port-channels between the switches but guess what? Ain't working properly (buggy software). Have to settle on this switch-to-switch connectivity for now:

Pic. 1-2: Switch-to-switch Connectivity

Finally, IP addressing and I am good to go.



Pic. 1.3: IP Addressing

Also, below are the Loopback0 IP addresses of all the nodes:

Loopback0 Interface IP Addresses:

R1      10.1.1.1/32
R2      10.2.2.2/32
R3      10.3.3.3/32
R4      10.4.4.4/32
R5      10.5.5.5/32
R6      10.6.6.6/32
R7      10.7.7.7/32
R8      10.8.8.8/32
R9      10.9.9.9/32
R10     10.10.10.10/32
SW1     10.11.11.11/32
SW2     10.12.12.12/32
SW3     10.13.13.13/32
SW4     10.14.14.14/32

Topology 1 Initial Configuration Download

Previous | Cisco Next Level | Next

Cisco Is Easy - Main

  Cisco Basics (CCNA level)  Lessons: Watch Video Tutorials on Youtube 01 - Connecting to Cisco Console Port with MINICOM 02 - Navigatin...