2009-05-23

Question of the day

вопрос:

сценарий
R1===R2
R1:

hostname R1
int lo0
ip add 1.1.1.1 255.255.255.255
int fa0/0
ip add 10.0.0.1 255.255.255.0
router ospf 1
passive-interface default
network 0.0.0.0 255.255.255.255 area 0
neighbor 10.0.0.2
log-adjacency-changes


R1:

hostname R2
int lo0
ip add 2.2.2.2 255.255.255.255
int fa0/0
ip add 10.0.0.2 255.255.255.0
router ospf 2
passive-interface default
network 0.0.0.0 255.255.255.255 area 0
neighbor 10.0.0.1
log-adjacency-changes


будет ли установлено соседство?

ответ: к сожелению нет.

R1#sh ip ospf
Routing Process "ospf 1" with ID 1.1.1.1
Start time: 00:42:34.872, Time elapsed: 00:12:48.568
.....
R1#sh ip os tr

OSPF statistics:
Rcvd: 0 total, 0 checksum errors
0 hello, 0 database desc, 0 link state req
0 link state updates, 0 link state acks

Sent: 0 total
0 hello, 0 database desc, 0 link state req
0 link state updates, 0 link state acks
.....
R1#sh ip os int fa0/0
FastEthernet0/0 is up, line protocol is up
Internet Address 10.0.0.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.0.1
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
No Hellos (Passive interface)
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)

т.е. пасив-интерфейс блокирует абсолютно все хелло-пакеты.

вопрос2: предложите другие методы устанавливать соседство уникаст-пакетами только с одним соседом на бродкаст-интерфейсе с несколькими корректно сконфигурированными роутерами оспф.

Немає коментарів: