Tuesday, September 29, 2015

CCIE Routing and Switching GNS3 with breakout and real switch setup



Cisco CCIE Routing and switching v5.0 Configuration Practice GNS3 and real Switches (Breakout Switch) Setup



GNS3 Topology

 GNS3 Workstation ETH0 Sub interfaces

Hardware Lists:

2 X WS-C3750-48P (1 breakout and SW1)
3 X WS-C3560-24PS
C7200-AD.BIN image for 6 GNS3 routers

no rack, no cable management just put it on the top of the table. Insert the patch cables and power up.

 Cabling Guide

Hosts
Port
Breakout Switch
R1
Gi0/0
Fa1/0/1 (VLAN11)
Gi1/0
Fa1/0/2 (VLAN12)
R2
Gi0/0
Fa1/0/3 (VLAN13)
Gi1/0
Fa1/0/4 (VLAN14)
R3
Gi0/0
Fa1/0/5 (VLAN15)
Gi1/0
Fa1/0/6 (VLAN16)
R4
Gi0/0
Fa1/0/7 (VLAN17)
Gi1/0
Fa1/0/8 (VLAN18)
R5
Gi0/0
Fa1/0/9 (VLAN19)
Gi1/0
Fa1/0/10 (VLAN20)
R6
Gi0/0
Fa1/0/11 (VLAN21)
Gi1/0
Fa1/0/12 (VLAN22)
SW1
Fa1/0/31
Fa1/0/31 (VLAN401)
SW2
Fa0/12
Fa1/0/32 (VLAN402)
SW3
Fa0/13
Fa1/0/33 (VLAN403)
SW4
Fa0/14
Fa1/0/34 (VLAN404)
GNS3 workstation
ETH0
Fa1/0/48 (Trunk)

Router Breakout switch port configuration template:


( Routers R1 – R6, connected to ports 1 to 12)
interface FastEthernet1/0/1
 switchport access vlan 11
 switchport mode dot1q-tunnel
 l2protocol-tunnel cdp
 l2protocol-tunnel stp
 l2protocol-tunnel vtp
 no cdp enable

( Switches SW1 – SW4, connected to ports 31 to 34)
interface FastEthernet1/0/32
 switchport access vlan 402
 switchport mode dot1q-tunnel
 l2protocol-tunnel cdp
 l2protocol-tunnel stp
 l2protocol-tunnel vtp
 no cdp enable

(GNS3 Workstation eth0)
interface FastEthernet1/0/48
 switchport trunk encapsulation dot1q
 switchport mode trunk
 l2protocol-tunnel cdp
 l2protocol-tunnel stp
 l2protocol-tunnel vtp
 spanning-tree portfast

 
NOTE:
In my GNS3 workstation, the sub interfaces connected to gns3 routers R1 to R6 are gone after a restart. Hence before opening my project I have to issue the following commands in the terminal with root privilege or super user as I run “sudo su” and type all commands below:
 modprobe 8021q

vconfig add eth0 11
vconfig add eth0 12
vconfig add eth0 13
vconfig add eth0 14
vconfig add eth0 15
vconfig add eth0 16
vconfig add eth0 17
vconfig add eth0 18
vconfig add eth0 19
vconfig add eth0 20
vconfig add eth0 21
vconfig add eth0 22