I am starting out with ospf and have the below topo:
R0 (ge-0/0/0 11.1.1.1)--- (ge-0/0/0 11.1.1.2)R1 (ge-0/0/1 192.168.10.1) ---- (ge-0/0/1 192.168.10.2)R2
lo0 1.1.1.1 lo0 2.2.2.2 lo0 3.3.3.3
1. OSPF adjacency between R1 and R2
2. RIP neigbhourship between R0 and R1
I am able to see R0's lo IP in R1 route<
[edit]
root@r1# run show route protocol rip
inet.0: 21 destinations, 23 routes (20 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 [RIP/100] 00:29:17, metric 2, tag 0
> to 11.1.1.1 via ge-0/0/0.200
I have defined a policy to export it to OSPF on R1
root@r1# show policy-options | display set
set policy-options policy-statement rip-ospf term 1 from protocol rip
set policy-options policy-statement rip-ospf term 1 then accept
root@r1# show protocols ospf
traffic-engineering;
area 0.0.0.0 {
interface lo0.0 {
passive;
}
interface ge-0/0/1.0;
interface ge-0/0/0.0 {
passive;
}
interface ge-0/0/0.200 {
passive;
}
}
export rip-ospf;
Below is ospf details. I am unable to see 1.1.1.1 being advertised. Also, not sure why the address 11.1.1.0 is present in show ospf route but not in show ospf database. Any help is appreciated
[edit]
root@r1# run show ospf route
Topology default Route Table:
Prefix Path Route NH Metric NextHop Nexthop
Type Type Type Interface Address/LSP
3.3.3.3 Intra Router IP 1 ge-0/0/1.0 192.168.10.2
2.2.2.2/32 Intra Network IP 0 lo0.0
3.3.3.3/32 Intra Network IP 1 ge-0/0/1.0 192.168.10.2
11.1.1.0/24 Intra Network IP 1 ge-0/0/0.200
128.52.34.200/32 Intra Network IP 1 ge-0/0/1.0 192.168.10.2
128.52.56.65/32 Intra Network IP 0 lo0.0
192.168.10.0/24 Intra Network IP 1 ge-0/0/1.0
[edit]
root@eop2-vmx# run show ospf database
OSPF database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router *2.2.2.2 2.2.2.2 0x80000034 895 0x22 0xe7a8 72
Router 3.3.3.3 3.3.3.3 0x8000002e 1680 0x22 0x8bac 60
Network *192.168.10.1 2.2.2.2 0x80000023 1682 0x22 0xcfb7 32
OpaqArea*1.0.0.1 2.2.2.2 0x8000002a 682 0x22 0xe114 28
OpaqArea 1.0.0.1 3.3.3.3 0x80000027 1685 0x22 0xeb05 28
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern *128.52.53.122 2.2.2.2 0x80000001 895 0x22 0xcd76 36