Wandering's Blog » 日志 » Dynamips: Dynagen拓朴设计(.net)之以不变应万变 v1.5
Dynamips: Dynagen拓朴设计(.net)之以不变应万变 v1.5
Wandering 发表于 2008-03-27 15:02:54
.
这是我目前正在使用的 .net 文件,它应该可以满足相当一部分实验的需要了。(2008/04/07 最后更新)
#
#
#
# =======================[[[[ Super Topology v1.5 ]]]]=======================
#
#
#
# e2/0--------e2/1 e2/0--------e2/1
# ( R1 )-s0/0--------s0/1-( R2 )-s0/0--------s0/1-( R3 )-s1/2--------s1/3-( R7 )
# | | | | | |
# s0/1 e2/1 s0/0 e2/0 s1/2 a4/0
# | | | | | |
# | | | | | |
# | | | | | |
# | | | | | |
# s0/0 e2/0 s0/1 e2/1 s1/3 a4/0
# | | | | | |
# ( R6 )-s0/1--------s0/0-( R5 )-s0/1--------s0/0-( R4 )-s1/3--------s1/2-( R8 )
# e2/1--------e2/0 e2/1--------e2/0
#
#
# ( Rx )-s1/0--------x-( FR1 )
# ( Rx )-s1/1--------x-( FR2 )
# ( Rx )-e3/0--------f0/x-[ SW1 ]
# ( Rx )-e3/1--------f0/x-[ SW2 ]
# ( Rx )-e3/2--------x-[ ETH1 ]
# ( Rx )-e3/3--------x-[ ETH2 ]
#
#
# |-f0/13-----f0/13-|
# [ SW1 ]-|-f0/14-----f0/14-|-[ SW2 ]
# |-f0/15-----f0/15-|
#
#
# 3640: R1, R2, R3, R4, R5, R6, SW1, SW2
# 7200: R7, R8
#
#
#----------------------------------------------------------------------------
#
# Q. How to solve duplex mismatch problem which cause by router's ethernet
# interface (half duplex) with switch's fastethernet interface ?
# A. Execute commands below on switch:
# switch(config-if)# no shutdown
# switch(config-if)# speed auto
# switch(config-if)# duplex auto
# switch(config-if)# speed 10
# switch(config-if)# duplex auto
# Pay attention to the 1st pair of "speed auto" and "duplex auto", it
# ensures that the interface has cleanly duplex configuration.
#
# Tips: Never save switch's config, in other words keep the config cleanly.
#
#
#
autostart = false
ghostios = true
sparsemem = true
mmap = true
[localhost:7200]
workingdir = /data/Dynamips/wdy.super.topology/working
[[7200]]
image = /data/Dynamips/images/c7200-adventerprisek9-mz.124-11.T.img
ram = 128
idlepc = 0x60790ee4
slot1 = PA-8T
slot2 = PA-4E
slot3 = PA-4E
slot4 = PA-A1
[[3640]]
image = /data/Dynamips/images/c3640-jk9o3s-mz.124-10a.img
ram = 128
idlepc = 0x603dbe34
[[ROUTER R1]]
model = 3640
console = 3001
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R2 s0/1
s1/0 = FR1 1
s1/1 = FR2 1
e2/0 = R2 e2/1
e3/2 = ETH1 1
e3/3 = ETH2 1
cnfg = /data/Dynamips/wdy.super.topology/cfg/R1.cfg
[[ROUTER R2]]
model = 3640
console = 3002
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R3 s0/1
s1/0 = FR1 2
s1/1 = FR2 2
e2/0 = R3 e2/1
e3/2 = ETH1 2
e3/3 = ETH2 2
cnfg = /data/Dynamips/wdy.super.topology/cfg/R2.cfg
[[Router R3]]
model = 3640
console = 3003
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R4 s0/1
s1/0 = FR1 3
s1/1 = FR2 3
e2/0 = R4 e2/1
e3/2 = ETH1 3
e3/3 = ETH2 3
cnfg = /data/Dynamips/wdy.super.topology/cfg/R3.cfg
[[Router R4]]
model = 3640
console = 3004
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R5 s0/1
s1/0 = FR1 4
s1/1 = FR2 4
e2/0 = R5 e2/1
e3/2 = ETH1 4
e3/3 = ETH2 4
cnfg = /data/Dynamips/wdy.super.topology/cfg/R4.cfg
[[Router R5]]
model = 3640
console = 3005
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R6 s0/1
s1/0 = FR1 5
s1/1 = FR2 5
e2/0 = R6 e2/1
e3/2 = ETH1 5
e3/3 = ETH2 5
cnfg = /data/Dynamips/wdy.super.topology/cfg/R5.cfg
[[Router R6]]
model = 3640
console = 3006
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R1 s0/1
s1/0 = FR1 6
s1/1 = FR2 6
e2/0 = R1 e2/1
e3/2 = ETH1 6
e3/3 = ETH2 6
cnfg = /data/Dynamips/wdy.super.topology/cfg/R6.cfg
[[Router R7]]
model = 7200
console = 3007
s1/0 = FR1 7
s1/1 = FR2 7
s1/2 = R8 s1/3
s1/3 = R3 s1/2
e3/2 = ETH1 7
e3/3 = ETH2 7
a4/0 = R8 a4/0
cnfg = /data/Dynamips/wdy.super.topology/cfg/R7.cfg
[[Router R8]]
model = 7200
console = 3008
s1/0 = FR1 8
s1/1 = FR2 8
s1/2 = R4 s1/3
e3/2 = ETH1 8
e3/3 = ETH2 8
cnfg = /data/Dynamips/wdy.super.topology/cfg/R8.cfg
[[Router SW1]]
model = 3640
console = 3011
slot0 = NM-16ESW
f0/1 = R1 e3/0
f0/2 = R2 e3/0
f0/3 = R3 e3/0
f0/4 = R4 e3/0
f0/5 = R5 e3/0
f0/6 = R6 e3/0
f0/7 = R7 e3/0
f0/8 = R8 e3/0
f0/13 = SW2 f0/13
f0/14 = SW2 f0/14
f0/15 = SW2 f0/15
cnfg = /data/Dynamips/wdy.super.topology/cfg/SW1.cfg
# f0/0 = NIO_gen_eth:/Device/NPF_{1E598198-F081-4D89-8613-6435D68C55C9}
[[Router SW2]]
model = 3640
console = 3012
slot0 = NM-16ESW
f0/1 = R1 e3/1
f0/2 = R2 e3/1
f0/3 = R3 e3/1
f0/4 = R4 e3/1
f0/5 = R5 e3/1
f0/6 = R6 e3/1
f0/7 = R7 e3/1
f0/8 = R8 e3/1
cnfg = /data/Dynamips/wdy.super.topology/cfg/SW2.cfg
[[ETHSW ETH1]] # layer 2 switch
1 = access 10
2 = access 10
3 = access 10
4 = access 10
5 = access 10
6 = access 10
7 = access 10
8 = access 10
[[ETHSW ETH2]] # layer 2 switch
1 = access 20
2 = access 20
3 = access 20
4 = access 20
5 = access 20
6 = access 20
7 = access 20
8 = access 20
[[FRSW FR1]]
# R1
1:102 = 2:201 # From port 1, DLCI 102 to port 2, DLCI 201.
1:103 = 3:301
1:104 = 4:401
1:105 = 5:501
1:106 = 6:601
1:107 = 7:701
1:108 = 8:801
# R2
2:203 = 3:302
2:204 = 4:402
2:205 = 5:502
2:206 = 6:602
2:207 = 7:702
2:208 = 8:802
# R3
3:304 = 4:403
3:305 = 5:503
3:306 = 6:603
3:307 = 7:703
3:308 = 8:803
# R4
4:405 = 5:504
4:406 = 6:604
4:407 = 7:704
4:408 = 8:804
# R5
5:506 = 6:605
5:507 = 7:705
5:508 = 8:805
# R6
6:607 = 7:706
6:608 = 8:806
# R7
7:708 = 8:807
[[FRSW FR2]]
# R1
1:112 = 2:211 # From port 1, DLCI 112 to port 2, DLCI 211.
1:113 = 3:311
1:114 = 4:411
1:115 = 5:511
1:116 = 6:611
1:117 = 7:711
1:118 = 8:811
# R2
2:213 = 3:312
2:214 = 4:412
2:215 = 5:512
2:216 = 6:612
2:217 = 7:712
2:218 = 8:812
# R3
3:314 = 4:413
3:315 = 5:513
3:316 = 6:613
3:317 = 7:713
3:318 = 8:813
# R4
4:415 = 5:514
4:416 = 6:614
4:417 = 7:714
4:418 = 8:814
# R5
5:516 = 6:615
5:517 = 7:715
5:518 = 8:815
# R6
6:617 = 7:716
6:618 = 8:816
# R7
7:718 = 8:817
# [[ATMSW ATM1]]
# 1:10 = 2:20 # Port 1, vpi 10 to port 2, vpi 20
# 1:10:200 = 2:20:100 # Port 1, vpi 10, vci 200 to port 2, vpi 20, vci 100
......
这是我目前正在使用的 .net 文件,它应该可以满足相当一部分实验的需要了。(2008/04/07 最后更新)
#
#
#
# =======================[[[[ Super Topology v1.5 ]]]]=======================
#
#
#
# e2/0--------e2/1 e2/0--------e2/1
# ( R1 )-s0/0--------s0/1-( R2 )-s0/0--------s0/1-( R3 )-s1/2--------s1/3-( R7 )
# | | | | | |
# s0/1 e2/1 s0/0 e2/0 s1/2 a4/0
# | | | | | |
# | | | | | |
# | | | | | |
# | | | | | |
# s0/0 e2/0 s0/1 e2/1 s1/3 a4/0
# | | | | | |
# ( R6 )-s0/1--------s0/0-( R5 )-s0/1--------s0/0-( R4 )-s1/3--------s1/2-( R8 )
# e2/1--------e2/0 e2/1--------e2/0
#
#
# ( Rx )-s1/0--------x-( FR1 )
# ( Rx )-s1/1--------x-( FR2 )
# ( Rx )-e3/0--------f0/x-[ SW1 ]
# ( Rx )-e3/1--------f0/x-[ SW2 ]
# ( Rx )-e3/2--------x-[ ETH1 ]
# ( Rx )-e3/3--------x-[ ETH2 ]
#
#
# |-f0/13-----f0/13-|
# [ SW1 ]-|-f0/14-----f0/14-|-[ SW2 ]
# |-f0/15-----f0/15-|
#
#
# 3640: R1, R2, R3, R4, R5, R6, SW1, SW2
# 7200: R7, R8
#
#
#----------------------------------------------------------------------------
#
# Q. How to solve duplex mismatch problem which cause by router's ethernet
# interface (half duplex) with switch's fastethernet interface ?
# A. Execute commands below on switch:
# switch(config-if)# no shutdown
# switch(config-if)# speed auto
# switch(config-if)# duplex auto
# switch(config-if)# speed 10
# switch(config-if)# duplex auto
# Pay attention to the 1st pair of "speed auto" and "duplex auto", it
# ensures that the interface has cleanly duplex configuration.
#
# Tips: Never save switch's config, in other words keep the config cleanly.
#
#
#
autostart = false
ghostios = true
sparsemem = true
mmap = true
[localhost:7200]
workingdir = /data/Dynamips/wdy.super.topology/working
[[7200]]
image = /data/Dynamips/images/c7200-adventerprisek9-mz.124-11.T.img
ram = 128
idlepc = 0x60790ee4
slot1 = PA-8T
slot2 = PA-4E
slot3 = PA-4E
slot4 = PA-A1
[[3640]]
image = /data/Dynamips/images/c3640-jk9o3s-mz.124-10a.img
ram = 128
idlepc = 0x603dbe34
[[ROUTER R1]]
model = 3640
console = 3001
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R2 s0/1
s1/0 = FR1 1
s1/1 = FR2 1
e2/0 = R2 e2/1
e3/2 = ETH1 1
e3/3 = ETH2 1
cnfg = /data/Dynamips/wdy.super.topology/cfg/R1.cfg
[[ROUTER R2]]
model = 3640
console = 3002
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R3 s0/1
s1/0 = FR1 2
s1/1 = FR2 2
e2/0 = R3 e2/1
e3/2 = ETH1 2
e3/3 = ETH2 2
cnfg = /data/Dynamips/wdy.super.topology/cfg/R2.cfg
[[Router R3]]
model = 3640
console = 3003
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R4 s0/1
s1/0 = FR1 3
s1/1 = FR2 3
e2/0 = R4 e2/1
e3/2 = ETH1 3
e3/3 = ETH2 3
cnfg = /data/Dynamips/wdy.super.topology/cfg/R3.cfg
[[Router R4]]
model = 3640
console = 3004
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R5 s0/1
s1/0 = FR1 4
s1/1 = FR2 4
e2/0 = R5 e2/1
e3/2 = ETH1 4
e3/3 = ETH2 4
cnfg = /data/Dynamips/wdy.super.topology/cfg/R4.cfg
[[Router R5]]
model = 3640
console = 3005
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R6 s0/1
s1/0 = FR1 5
s1/1 = FR2 5
e2/0 = R6 e2/1
e3/2 = ETH1 5
e3/3 = ETH2 5
cnfg = /data/Dynamips/wdy.super.topology/cfg/R5.cfg
[[Router R6]]
model = 3640
console = 3006
slot0 = NM-4T
slot1 = NM-4T
slot2 = NM-4E
slot3 = NM-4E
s0/0 = R1 s0/1
s1/0 = FR1 6
s1/1 = FR2 6
e2/0 = R1 e2/1
e3/2 = ETH1 6
e3/3 = ETH2 6
cnfg = /data/Dynamips/wdy.super.topology/cfg/R6.cfg
[[Router R7]]
model = 7200
console = 3007
s1/0 = FR1 7
s1/1 = FR2 7
s1/2 = R8 s1/3
s1/3 = R3 s1/2
e3/2 = ETH1 7
e3/3 = ETH2 7
a4/0 = R8 a4/0
cnfg = /data/Dynamips/wdy.super.topology/cfg/R7.cfg
[[Router R8]]
model = 7200
console = 3008
s1/0 = FR1 8
s1/1 = FR2 8
s1/2 = R4 s1/3
e3/2 = ETH1 8
e3/3 = ETH2 8
cnfg = /data/Dynamips/wdy.super.topology/cfg/R8.cfg
[[Router SW1]]
model = 3640
console = 3011
slot0 = NM-16ESW
f0/1 = R1 e3/0
f0/2 = R2 e3/0
f0/3 = R3 e3/0
f0/4 = R4 e3/0
f0/5 = R5 e3/0
f0/6 = R6 e3/0
f0/7 = R7 e3/0
f0/8 = R8 e3/0
f0/13 = SW2 f0/13
f0/14 = SW2 f0/14
f0/15 = SW2 f0/15
cnfg = /data/Dynamips/wdy.super.topology/cfg/SW1.cfg
# f0/0 = NIO_gen_eth:/Device/NPF_{1E598198-F081-4D89-8613-6435D68C55C9}
[[Router SW2]]
model = 3640
console = 3012
slot0 = NM-16ESW
f0/1 = R1 e3/1
f0/2 = R2 e3/1
f0/3 = R3 e3/1
f0/4 = R4 e3/1
f0/5 = R5 e3/1
f0/6 = R6 e3/1
f0/7 = R7 e3/1
f0/8 = R8 e3/1
cnfg = /data/Dynamips/wdy.super.topology/cfg/SW2.cfg
[[ETHSW ETH1]] # layer 2 switch
1 = access 10
2 = access 10
3 = access 10
4 = access 10
5 = access 10
6 = access 10
7 = access 10
8 = access 10
[[ETHSW ETH2]] # layer 2 switch
1 = access 20
2 = access 20
3 = access 20
4 = access 20
5 = access 20
6 = access 20
7 = access 20
8 = access 20
[[FRSW FR1]]
# R1
1:102 = 2:201 # From port 1, DLCI 102 to port 2, DLCI 201.
1:103 = 3:301
1:104 = 4:401
1:105 = 5:501
1:106 = 6:601
1:107 = 7:701
1:108 = 8:801
# R2
2:203 = 3:302
2:204 = 4:402
2:205 = 5:502
2:206 = 6:602
2:207 = 7:702
2:208 = 8:802
# R3
3:304 = 4:403
3:305 = 5:503
3:306 = 6:603
3:307 = 7:703
3:308 = 8:803
# R4
4:405 = 5:504
4:406 = 6:604
4:407 = 7:704
4:408 = 8:804
# R5
5:506 = 6:605
5:507 = 7:705
5:508 = 8:805
# R6
6:607 = 7:706
6:608 = 8:806
# R7
7:708 = 8:807
[[FRSW FR2]]
# R1
1:112 = 2:211 # From port 1, DLCI 112 to port 2, DLCI 211.
1:113 = 3:311
1:114 = 4:411
1:115 = 5:511
1:116 = 6:611
1:117 = 7:711
1:118 = 8:811
# R2
2:213 = 3:312
2:214 = 4:412
2:215 = 5:512
2:216 = 6:612
2:217 = 7:712
2:218 = 8:812
# R3
3:314 = 4:413
3:315 = 5:513
3:316 = 6:613
3:317 = 7:713
3:318 = 8:813
# R4
4:415 = 5:514
4:416 = 6:614
4:417 = 7:714
4:418 = 8:814
# R5
5:516 = 6:615
5:517 = 7:715
5:518 = 8:815
# R6
6:617 = 7:716
6:618 = 8:816
# R7
7:718 = 8:817
# [[ATMSW ATM1]]
# 1:10 = 2:20 # Port 1, vpi 10 to port 2, vpi 20
# 1:10:200 = 2:20:100 # Port 1, vpi 10, vci 200 to port 2, vpi 20, vci 100
......
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
