📄 nee_ospf.txt
字号:
############################################################################
# VPC
############################################################################
1
ip 10.0.0.2 10.0.0.1 8
2
ip 20.0.0.2 20.0.0.1 8
3
ip 30.0.0.2 30.0.0.1 8
############################################################################
# NET
############################################################################
ghostios = true
sparemem = true
[localhost]
[[3640]]
image = \Program Files\Dynamips\images\c3640-ik9o3s-mz.124-10.image
ram = 96
idlepc = 0x605c8ad0
[[ROUTER R1]]
model = 3640
slot0 = NM-1E
slot1 = NM-16ESW
slot2 = NM-4E
slot3 = NM-4T
e0/0 = NIO_udp:30000:127.0.0.1:20000
s3/0 = R2 s3/0
s3/1 = R3 s3/1
[[router R2]]
model = 3640
slot0 = NM-1E
slot1 = NM-16ESW
slot2 = NM-4E
slot3 = NM-4T
e0/0 = NIO_udp:30001:127.0.0.1:20001
s3/1 = R3 s3/0
[[ROUTER R3]]
model = 3640
slot0 = NM-1E
slot1 = NM-16ESW
slot2 = NM-4E
slot3 = NM-4T
e0/0 = NIO_udp:30002:127.0.0.1:20002
############################################################################
# R1
############################################################################
!
interface Ethernet0/0
ip address 10.0.0.1 255.0.0.0
half-duplex
!
interface Serial3/0
ip address 90.0.0.0 255.0.0.0
encapsulation x25
ip ospf network point-to-multipoint
no ip mroute-cache
x25 address 10101010
x25 htc 2
x25 win 7
x25 wout 7
x25 ips 256
x25 ops 256
x25 map ip 90.0.0.2 10101012 broadcast nvc 4
serial restart-delay 0
!
interface Serial3/1
ip address 90.0.0.1 255.0.0.0
encapsulation x25
ip ospf network point-to-multipoint
no ip mroute-cache
x25 address 10101011
x25 htc 2
x25 win 7
x25 wout 7
x25 ips 256
x25 ops 256
x25 map ip 90.0.0.5 10101015 broadcast nvc 4
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 1
network 90.0.0.0 0.255.255.255 area 1
neighbor 90.0.0.5 cost 1
neighbor 90.0.0.2 cost 1
!
############################################################################
# R2
############################################################################
!
interface Ethernet0/0
ip address 20.0.0.1 255.0.0.0
half-duplex
!
interface Serial3/0
ip address 90.0.0.2 255.0.0.0
encapsulation x25 dce
ip ospf network point-to-multipoint
no ip mroute-cache
x25 address 10101012
x25 htc 2
x25 win 7
x25 wout 7
x25 ips 256
x25 ops 256
x25 map ip 90.0.0.0 10101010 broadcast nvc 4
serial restart-delay 0
!
interface Serial3/1
ip address 90.0.0.3 255.0.0.0
encapsulation x25
ip ospf network point-to-multipoint
no ip mroute-cache
x25 address 10101013
x25 htc 2
x25 win 7
x25 wout 7
x25 ips 256
x25 ops 256
x25 map ip 90.0.0.4 10101014 broadcast nvc 4
serial restart-delay 0
!
router ospf 2
log-adjacency-changes
network 20.0.0.0 0.255.255.255 area 1
network 90.0.0.0 0.255.255.255 area 1
neighbor 90.0.0.4 cost 1
neighbor 90.0.0.0 cost 1
!
############################################################################
# R3
############################################################################
!
interface Ethernet0/0
ip address 30.0.0.1 255.0.0.0
half-duplex
!
interface Serial3/0
ip address 90.0.0.4 255.0.0.0
encapsulation x25 dce
ip ospf network point-to-multipoint
no ip mroute-cache
x25 address 10101014
x25 htc 2
x25 win 7
x25 wout 7
x25 ips 256
x25 ops 256
x25 map ip 90.0.0.3 10101013 broadcast nvc 4
serial restart-delay 0
!
interface Serial3/1
ip address 90.0.0.5 255.0.0.0
encapsulation x25 dce
ip ospf network point-to-multipoint
no ip mroute-cache
x25 address 10101015
x25 htc 2
x25 win 7
x25 wout 7
x25 ips 256
x25 ops 256
x25 map ip 90.0.0.1 10101011 broadcast nvc 4
serial restart-delay 0
!
router ospf 3
log-adjacency-changes
network 30.0.0.0 0.255.255.255 area 1
network 90.0.0.0 0.255.255.255 area 1
neighbor 90.0.0.3 cost 1
neighbor 90.0.0.1 cost 1
!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -