Dynamips/Dynagen LAB 1 การทำ link แบบ Framerelay
Dynamips/Dynagen LAB 1 การทำ link แบบ Framerelay
สวัสดีครับ วันนี้เอาตัวอย่างการทำ topology แบบ frame relay มาให้น่ะครับ เป็นแบบง่ายๆให้ทุกคนลองเล่นดูครับ
ส่วน ตัวอย่างการ config topology เป็นตามข้างล่างครับส่วนที่ต้องแก้คือส่วนที่ highlight สีส้มไว้ครับ
ข้อมูลเพิ่มเติม
1. image = c:\Program Files\Dynamips\images\c7200-advipservicesk9_li-mz.124-11.T.bin กำหนด path IOSของเราที่จะนำมาใช้
2. การหาค่า idlepc ของ computer ลองดูบทความที่เคยเขียนไว้ครับ
3. F0/0 = NIO_gen_eth:\Device\NPF_{14F2F890-F043-4C2B-BDC4-1AA3894E1868} เป็นการ ต่อเข้ากับ card networkบน computerของเรา
#autostart=false
ghostios = true
sparsemem = true
##################################################
#
# Define global router parameters
#
##################################################
[localhost]
workingdir = C:\Program Files\Dynamips\sample_labs\Koi\working
[[7200]]
image = c:\Program Files\Dynamips\images\c7200-advipservicesk9_li-mz.124-11.T.bin
npe = npe-400
ram = 160
###########################
#
# Define router instances
#
###########################
[[Router R1]]
idlepc = 0x607a4898
s1/0 = F1 1
s2/0 = R2 s2/0
[[Router R2]]
idlepc = 0x613500ec
s1/0 = F1 2
s3/0 = R3 s2/0
[[Router R3]]
idlepc = 0x613500ec
F0/0 = NIO_gen_eth:\Device\NPF_{14F2F890-F043-4C2B-BDC4-1AA3894E1868}
s1/0 = F1 3
[[FRSW F1]]
1:102 = 2:201
2:203 = 3:302
ตัวอย่าง config
R1
interface Serial1/0
bandwidth 128
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.1 point-to-point
ip address 192.168.0.9 255.255.255.252
frame-relay interface-dlci 102
!
interface Serial2/0
bandwidth 256
ip address 192.168.0.1 255.255.255.252
encapsulation ppp
serial restart-delay 0
clock rate 64000
!
R2
interface Serial1/0
bandwidth 256
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.1 point-to-point
ip address 192.168.0.10 255.255.255.252
frame-relay interface-dlci 201
!
interface Serial1/0.2 point-to-point
ip address 192.168.0.13 255.255.255.252
frame-relay interface-dlci 203
!
interface Serial2/0
bandwidth 256
ip address 192.168.0.2 255.255.255.252
encapsulation ppp
serial restart-delay 0
!
interface Serial3/0
bandwidth 256
ip address 192.168.0.5 255.255.255.252
encapsulation ppp
serial restart-delay 0
!
R3
interface Serial1/0
bandwidth 128
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
!
interface Serial1/0.1 point-to-point
ip address 192.168.0.14 255.255.255.252
frame-relay interface-dlci 302
!
interface Serial2/0
bandwidth 256
ip address 192.168.0.6 255.255.255.252
encapsulation ppp
serial restart-delay 0
clock rate 64000
!
interface FastEthernet0/0
ip address 192.168.0.17 255.255.255.240
duplex auto
speed auto
*** หมายเหตุ เป็นบทความเก่า จากเวบ version เดิม ตั้งแต่ 2008 เนื้อหาอาจจะเก่าไปบ้าง ***
สวัสดีครับ วันนี้เอาตัวอย่างการทำ topology แบบ frame relay มาให้น่ะครับ เป็นแบบง่ายๆให้ทุกคนลองเล่นดูครับ
ส่วน ตัวอย่างการ config topology เป็นตามข้างล่างครับส่วนที่ต้องแก้คือส่วนที่ highlight สีส้มไว้ครับ
ข้อมูลเพิ่มเติม
1. image = c:\Program Files\Dynamips\images\c7200-advipservicesk9_li-mz.124-11.T.bin กำหนด path IOSของเราที่จะนำมาใช้
2. การหาค่า idlepc ของ computer ลองดูบทความที่เคยเขียนไว้ครับ
3. F0/0 = NIO_gen_eth:\Device\NPF_{14F2F890-F043-4C2B-BDC4-1AA3894E1868} เป็นการ ต่อเข้ากับ card networkบน computerของเรา
#autostart=false
ghostios = true
sparsemem = true
##################################################
#
# Define global router parameters
#
##################################################
[localhost]
workingdir = C:\Program Files\Dynamips\sample_labs\Koi\working
[[7200]]
image = c:\Program Files\Dynamips\images\c7200-advipservicesk9_li-mz.124-11.T.bin
npe = npe-400
ram = 160
###########################
#
# Define router instances
#
###########################
[[Router R1]]
idlepc = 0x607a4898
s1/0 = F1 1
s2/0 = R2 s2/0
[[Router R2]]
idlepc = 0x613500ec
s1/0 = F1 2
s3/0 = R3 s2/0
[[Router R3]]
idlepc = 0x613500ec
F0/0 = NIO_gen_eth:\Device\NPF_{14F2F890-F043-4C2B-BDC4-1AA3894E1868}
s1/0 = F1 3
[[FRSW F1]]
1:102 = 2:201
2:203 = 3:302
ตัวอย่าง config
R1
interface Serial1/0
bandwidth 128
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.1 point-to-point
ip address 192.168.0.9 255.255.255.252
frame-relay interface-dlci 102
!
interface Serial2/0
bandwidth 256
ip address 192.168.0.1 255.255.255.252
encapsulation ppp
serial restart-delay 0
clock rate 64000
!
R2
interface Serial1/0
bandwidth 256
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.1 point-to-point
ip address 192.168.0.10 255.255.255.252
frame-relay interface-dlci 201
!
interface Serial1/0.2 point-to-point
ip address 192.168.0.13 255.255.255.252
frame-relay interface-dlci 203
!
interface Serial2/0
bandwidth 256
ip address 192.168.0.2 255.255.255.252
encapsulation ppp
serial restart-delay 0
!
interface Serial3/0
bandwidth 256
ip address 192.168.0.5 255.255.255.252
encapsulation ppp
serial restart-delay 0
!
R3
interface Serial1/0
bandwidth 128
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
!
interface Serial1/0.1 point-to-point
ip address 192.168.0.14 255.255.255.252
frame-relay interface-dlci 302
!
interface Serial2/0
bandwidth 256
ip address 192.168.0.6 255.255.255.252
encapsulation ppp
serial restart-delay 0
clock rate 64000
!
interface FastEthernet0/0
ip address 192.168.0.17 255.255.255.240
duplex auto
speed auto
*** หมายเหตุ เป็นบทความเก่า จากเวบ version เดิม ตั้งแต่ 2008 เนื้อหาอาจจะเก่าไปบ้าง ***