You are on page 1of 7

Scripts

[localhost]

[[3745]]

image = C:\Program Files (x86)\Dynamips\images\c3745-ipbase-


mz.124-4.T1.bin

ram = 128

[[ROUTER R1]]

model = 3745

S1/0 = R2 S1/0

[[ROUTER R2]]

model = 3745

S1/1 = R3 S1/1

[[ROUTER R3]]

model = 3745

S1/0 = R4 S1/0

[[ROUTER R4]]

model = 3745

R1 Configuration

en

config t
hostname R1

no ip domain lookup

interface loopback 0

ip address 10.0.0.1 255.0.0.0

ip ospf network point-to-point

no shutdown

exit

interface serial 1/0

ip address 20.0.0.1 255.0.0.0

no shutdown

exit

router ospf 10

network 10.0.0.0 0.0.0.255 area 50

network 20.0.0.0 0.0.0.255 area 50

exit

exit

wr

R2 Configuration

en

config t
hostname R2

no ip domain lookup

interface loopback 0

ip address 30.0.0.1 255.0.0.0

ip ospf network point-to-point

no shutdown

exit

interface loopback 1

ip address 40.0.0.1 255.0.0.0

ip ospf network point-to-point

no shutdown

exit

interface serial 1/0

ip address 20.0.0.2 255.0.0.0

no shutdown

exit

interface serial 1/1

ip address 50.0.0.1 255.0.0.0

no shutdown

exit
router ospf 20

network 20.0.0.0 0.0.0.255 area 50

network 30.0.0.0 0.0.0.255 area 50

network 40.0.0.0 0.0.0.255 area 25

network 50.0.0.0 0.0.0.255 area 25

exit

router ospf 20

area 25 virtual-link 70.0.0.1

exit

exit

wr

R3 Configuration

en

config t

hostname R3

no ip domain lookup

interface loopback 0

ip address 60.0.0.1 255.0.0.0

ip ospf network point-to-point

no shutdown
exit

interface loopback 1

ip address 70.0.0.1 255.0.0.0

ip ospf network point-to-point

no shutdown

exit

interface serial 1/0

ip address 80.0.0.1 255.0.0.0

no shutdown

exit

interface serial 1/1

ip address 50.0.0.2 255.0.0.0

no shutdown

exit

router ospf 30

network 50.0.0.0 0.0.0.255 area 25

network 60.0.0.0 0.0.0.255 area 25

network 70.0.0.0 0.0.0.255 area 0

network 80.0.0.0 0.0.0.255 area 0

exit
router ospf 30

area 25 virtual-link 40.0.0.1

exit

exit

wr

R4 Configuration

en

config t

hostname R4

no ip domain lookup

interface loopback 0

ip address 90.0.0.1 255.0.0.0

ip ospf network point-to-point

no shutdown

exit

interface serial 1/0

ip address 80.0.0.2 255.0.0.0

no shutdown

exit

router ospf 40
network 80.0.0.0 0.0.0.255 area 0

network 90.0.0.0 0.0.0.255 area 0

exit

exit

wr

Output Verifying Commands

sh ip ospf neighbor

Sh ip ospf interface

sh ip ospf virtual-links

Ping X.X.X.X

Sh ip route

Sh ip protocols

Sh ip ospf neighbors

You might also like