Sie sind auf Seite 1von 8

prefix

bilangan pangkat
bobot

31

30

29

28

27

26

25

24
16777216

2147483648

1073741824

536870912

268435456

134217728

67108864

33554432

kenaikan oktet

128

64

32

16

netmask

128

192

224

240

248

252

254

255

10

11

12

13

14

15

16

prefix
bilangan pangkat
bobot

23

22

21

20

19

18

17

16

8388608

4194304

2097152

1048576

524288

262144

131072

65536

kenaikan oktet

128

64

32

16

netmask

128

192

224

240

248

252

254

255

prefix

17

18

19

20

21

22

23

24

bilangan pangkat

15

14

13

12

11

10

32768

16384

8192

4096

2048

1024

512

256

bobot
kenaikan oktet

128

64

32

16

netmask

128

192

224

240

248

252

254

255

25

26

27

28

29

30

31

32

bobot

128

64

32

16

kenaikan oktet

128

64

32

16

netmask

128

192

224

240

248

252

254

255

prefix
bilangan pangkat

hostname HQ

==========================

no auto-summary

no ip domain-lookup

hostname Branch 1

network 172.16.2.0 0.0.0.255

banner motd #Welcome to Router HQ#

login

network 192.168.1.16 0.0.0.3

line console 0

int fa0/0

network 192.168.1.24 0.0.0.3

password cisco

ip add 172.16.2.1 255.255.255.0

passive-interface fa0/0

login

no shutdown

end

line vty 0

int s0/0/0

copy running-config startup-config

password cisco

ip add 192.168.1.18 255.255.255.252

startup-config

login

no shutdown

reload

int fa0/0

clock rate 64000

ip add 172.16.0.1 255.255.254.0

bandwidth 64

no shutdown

int s0/0/1

int s0/0/0

ip add 192.168.1.25 255.255.255.252

ena sec class

ip add 192.168.1.17 255.255.255.252

no shutdown

line co 0

no shutdown

clock rate 64000

password cisco

clock rate 64000

bandwidth 64

login

bandwidth 64

router eigrp 1

line vty 0 4

int s0/0/1

password cisco

ip add 192.168.1.21 255.255.255.252

login

no shutdown

banner motd #have a nice day!!!#

clock rate 64000


int loopback1
ip add 209.165.200.225 255.255.255.252
router eigrp 1
no auto-summary
network 172.16.0.0 0.0.1.255
network 192.168.1.16 0.0.0.3
network 192.168.1.20 0.0.0.3
passive-interface fa0/0
redistribute static
ip route 0.0.0.0 0.0.0.0 loopback1
end
copy running-config startup-config
startup-config
reload

==========================================

hostname Branch 2
no ip domain-lookup
banner motd #Welcome to Router Branch 2#
line console 0
password cisco
login
line vty 0
password cisco
login
int fa0/0
ip add 172.16.3.1 255.255.255.128
no shutdown
int s0/0/0
ip add 192.168.1.26 255.255.255.252
no shutdown
clock rate 64000
int s0/0/1
ip add 192.168.1.22 255.255.255.252

no shutdown
clock rate 64000
router eigrp 1
network 172.16.3.0 0.0.0.127
network 192.168.1.20 0.0.0.3
network 192.168.1.24 0.0.0.3
no auto-summary
passive-interface FastEthernet0/0
end
copy running-config startup-config
startup-config
reload
y
===============================

conf EIGRP

. Configure the router hostname


-=-=-=no ip domain-lookup
enable secret class
line console 0

password cisco

login
=====
line vty 0 4
password cisco
login
================
interface fastethernet 0/0
ip address 192.168.1.1 255.255.255.0
shutdown
interface loopback1
ip address 192.168.31.11 255.255.255.255
======
interface fastethernet 0/0
ip address 192.168.1.2 255.255.255.0
no shutdown
interface loopback1
ip address 192.168.31.22 255.255.255.255
=========
interface fastethernet 0/0
ip address 192.168.1.3 255.255.255.0
no shutdown
interface loopback1

R3(config-if)#ip address 192.168.31.33 255.255.255.255


==========

Task 3: Configure OSPF on the DR Router

Configure OSPF on R3

R3(config)#router ospf 1

R3(config-router)#network 192.168.1.0 0.0.0.255 area 0

R3(config-router)#network 192.168.31.33 0.0.0.0 area 0


========
Configure OSPF on R2

R2(config)#router ospf 1

R2(config-router)#network 192.168.1.0 0.0.0.255 area 0

R2(config-router)#network 192.168.1.22 0.0.0.0 area 0


=================
Task 5: Configure OSPF on the DRother Router

Configure OSPF on R1

R1(config)#router ospf 1

R1(config-router)#network 192.168.1.0 0.0.0.255 area 0

R1(config-router)#network 192.168.1.11 0.0.0.0 area 0


========

Task 6: Use the OSPF Priority to Determine the DR and BDR

R1(config)#interface fastethernet 0/0

R1(config-if)#ip ospf priority 255


=========

R2(config)#interface fastethernet 0/0

R2(config-if)#ip ospf priority 0


==========
R3(config)#interface fastethernet 0/0

R3(config-if)#ip ospf priority 100

Das könnte Ihnen auch gefallen