Re: Switches with Dynamips!

From: Anbu <ksanpu_at_gmail.com>
Date: Mon, 11 May 2009 14:59:04 +0530

i am testing the " Real switches connected with Dynamip server". i have set
up according the advice in this mail chain.

Here the problem i am facing is i can see all the routers in the Dynamip
Server from the brackout Switch , from the Routers on the Dynamip Server i
cannot see any Switches including the Breakout switch.

I have one doubt , do i want to configure the pc nic as trunk ? if so....
how can i configure the PC ( Dynamip Server) NIC as trunk port ?

here with i am attaching the netfile below

##################################################
#
# Define global router parameters for instance 1
#
##################################################

autostart=false
[localhost:7200]

workingdir = D:\NEW.DYNAMIPS\working

[[3640]]
 #
 # Specify 3640 IOS image on Windows here:
 image = C:\Program Files\Dynamips\images\c3640-ik9o3s-mz.124-13a.bin
 #
 # Specify 3640 IOS image on Linux here:
  #image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
 #
 ram = 128
 disk0 = 0
 disk1 = 0
 # Choose an idlepc value from the below
  idlepc = 0x60530870
 # idlepc = 0x60530890
 # idlepc = 0x60530a58
 # idlepc = 0x60530abc
 # idlepc = 0x605310c4
 # idlepc = 0x605e92e8
 # idlepc = 0x605e9364
 # idlepc = 0x60531394
 # idlepc = 0x605313d0
 # idlepc = 0x605313ec
 mmap = true
# ghostios = true

###########################
#
# Define router instances
#
###########################

 [[Router R1]]
  model = 3640
  autostart = false
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  F0/0 = SW1 1
  S1/0 = FRSW 1
  #cnfg = D:\NEW.DYNAMIPS\initial.configs\R1.initial.config.txt

 [[Router R2]]
  model = 3640
  autostart = false
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  F0/0 = SW1 2
  S1/0 = FRSW 2
  #cnfg = D:\NEW.DYNAMIPS\initial.configs\R2.initial.config.txt

 [[Router R3]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  S1/0 = FRSW 3
  S1/1 = FRSW 13
  S1/2 = R1 S1/1
  S1/3 = R2 S1/1
  E0/0 = SW1 3
  E0/1 = SW1 9
  #cnfg = D:\NEW.DYNAMIPS\initial.configs\R3.initial.config.txt

 [[Router R4]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW1 4
  E0/1 = SW1 10
  S1/0 = FRSW 4
  S1/1 = R5 S1/1
 # cnfg = D:\NEW.DYNAMIPS\initial.configs\R4.initial.config.txt

 [[Router R5]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW1 5
  E0/1 = SW1 11
  S1/0 = FRSW 5
 # cnfg = D:\NEW.DYNAMIPS\initial.configs\R5.initial.config.txt

 [[Router R6]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW1 6
  E0/1 = SW1 12
  S1/0 = FRSW 6
  #cnfg = D:\NEW.DYNAMIPS\initial.configs\R6.initial.config.txt

 [[ETHSW SW1]]
 1 = access 101
 2 = access 102
 3 = access 103
 4 = access 104
 5 = access 105
 6 = access 106
 #7 = access 201
 #8 = access 202
 9 = access 203
 10 = access 204
 11 = access 205
 12 = access 206
 13 = access 224
 14 = access 124
 15 = dot1q 1 NIO_gen_eth:\Device\NPF_{273C79F8-685A-4A54-BB0D-E49B1171CD3B}

##################################################
#
# Define global router parameters for instance 2
#
##################################################

[localhost:7201] # Talk to the 2nd dynamips process on port 7201
 udp = 11000 # Change the base udp port to 11000 (the default is 10000)

 workingdir = D:\NEW.DYNAMIPS\working

 [[3640]]
 #
 # Specify 3640 IOS image on Windows here:
image = C:\Program Files\Dynamips\images\c3640-ik9o3s-mz.124-13a.bin
 #
 # Specify 3640 IOS image on Linux here:
#image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
 #
 ram = 128
 disk0 = 0
 disk1 = 0
 # Choose an idlepc value from the below
  idlepc = 0x60530870
 # idlepc = 0x60530890
 # idlepc = 0x60530a58
 # idlepc = 0x60530abc
 # idlepc = 0x605310c4
 # idlepc = 0x605e92e8
 # idlepc = 0x605e9364
 # idlepc = 0x60531394
 # idlepc = 0x605313d0
 # idlepc = 0x605313ec
 mmap = true
# ghostios = true

###########################
#
# Define router instances
#
###########################

 [[Router BB1]]
  model = 3640
  console = 2008
  autostart = false
  slot1 = NM-4T
  S1/0 = BB3 S1/0
  S1/1 = FRSW 21
  #cnfg = D:\NEW.DYNAMIPS\initial.configs/BB1.initial.config.txt

 [[Router BB2]]
  model = 3640
  console = 2009
  autostart = false
  slot0 = NM-4E
  E0/0 = SW1 13
 # cnfg = D:\NEW.DYNAMIPS\initial.configs/BB2.initial.config.txt

 [[Router BB3]]
  model = 3640
  console = 2010
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW1 14
  #cnfg = D:\NEW.DYNAMIPS\initial.configs/BB3.initial.config.txt

 [[FRSW FRSW]]

  # R1 to FRSW
  1:102 = 2:201
  1:103 = 3:301
  1:113 = 13:311
  1:104 = 4:401
  1:105 = 5:501

  # R2 to FRSW
  2:203 = 3:302
  2:213 = 13:312
  2:204 = 4:402
  2:205 = 5:502

  # R3 to FRSW
  3:304 = 4:403
  3:305 = 5:503
  13:314 = 4:413
  13:315 = 5:513

  # R4 to FRSW
  4:405 = 5:504

  # R6 to FRSW
  6:51 = 21:51
  6:100 = 21:100
  6:101 = 21:101
  6:201 = 21:201
  6:301 = 21:301
  6:401 = 21:401

I have configured the breackout switch with the following port vlan
assignment.

fa 0/1 = switchport access101

 fa 0/2 =switchport access 102

 fa 0/3 =switchport access 103

 fa 0/4 = switchport access104

 fa 0/5 = switchport access105

 fa 0/6 = switchport access106

 fa 0/7 =switchport access 201

 fa 0/8 =switchport access 202

 fa 0/9 =switchport access 203

 fa 0/10 =switchport access 204

 fa 0/11 =switchport access 205

 fa 0/12 = switchport access206

 fa 0/13 = switchport access224

 fa 0/14 = switchport access124

Regards,
Anbu

Blogs and organic groups at http://www.ccie.net
Received on Mon May 11 2009 - 14:59:04 ART

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:42 ART