[Xorp-users] OSPF update
Mike Horn
caddisconsulting@yahoo.com
Mon, 21 Nov 2005 08:25:58 -0700
Hi Riccardo,
I didn't want you to think I forgot that I said I would send configurations.
The XORP developers are still doing a lot of great work on the OSPF code, so
make sure you run the latest code. Below is a sample configuration that
automically discovers neighbors (Cisco routers) and forms a neighbor
adjacency, however there are 2 known issues:
1) the XORP router OSPF process is crashing (see XORP bug 371)
2) if the XORP router is the DR routes are not propogated to neighbors
I think the 2nd issue might be related to multicast issues, but I have not
investigated yet. Hope this helps!
<<< XORP PROTOCOL CONFIG >>>
rl@DUT-1# show protocols
ospf4 {
router-id: 172.16.0.50
area 25.0.0.0 {
interface eth0 {
vif eth0 {
address 10.0.0.50 {
}
}
}
}
area 0.0.0.0 {
interface eth1 {
vif eth1 {
address 172.16.0.50 {
}
}
}
}
export: "REDIST_STATIC"
}
static {
route4 51.0.0.0/8 {
next-hop: 10.0.0.50
}
route4 51.51.0.0/16 {
next-hop: 172.16.0.50
}
route4 51.51.51.0/24 {
next-hop: 10.0.0.50
}
}
[edit]
rl@DUT-1#
<<< XORP COMMANDS >>>
create protocols ospf4 router-id 172.16.0.50
create protocols ospf4 area 25.0.0.0 interface eth0 vif eth0 address
10.0.0.50
create protocols ospf4 area 0.0.0.0 interface eth1 vif eth1 address
172.16.0.50
create policy policy-statement REDIST_STATIC term 10 from protocol static
create policy policy-statement REDIST_STATIC term 10 then accept
create protocols ospf4 export REDIST_STATIC
create protocols static route4 51.0.0.0/8 next-hop 10.0.0.50
create protocols static route4 51.51.0.0/16 next-hop 172.16.0.50
create protocols static route4 51.51.51.0/24 next-hop 10.0.0.50