[Xorp-users] Route Redist between RIP and OSPF - working?
Ray Soucy
rps at maine.edu
Thu Mar 29 09:24:43 PDT 2012
Does this work?
----8<----
protocols {
fib2mrib {
disable: false
}
ospf4 {
router-id: 192.168.30.2
rfc1583-compatibility: false
ip-router-alert: false
area 0.0.0.0 {
area-type: "normal"
default-lsa {
disable: false
metric: 0
}
interface "eth4" {
link-type: "broadcast"
vif "eth4" {
address 192.168.30.2 {
priority: 255
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
retransmit-interval: 5
transit-delay: 1
disable: false
}
}
}
}
export: "OSPF_Export"
}
rip {
interface "eth5" {
vif "eth5" {
address 192.168.40.1 {
metric: 1
horizon: "split-horizon-poison-reverse"
disable: false
passive: false
accept-non-rip-requests: false
accept-default-route: true
advertise-default-route: false
route-timeout: 180
deletion-delay: 120
triggered-delay: 3
triggered-jitter: 66
update-interval: 30
update-jitter: 16
request-interval: 30
interpacket-delay: 50
}
}
}
export: "RIP_Export"
}
}
policy {
policy-statement "OSPF_Export" {
term 101 {
from {
protocol: "connected"
}
then {
accept {
}
}
}
term 102 {
from {
protocol: "rip"
}
then {
external-type: 2
accept {
}
}
}
then {
reject {
}
}
}
policy-statement "RIP_Export" {
term 101 {
from {
protocol: "connected"
}
then {
accept {
}
}
}
term 102 {
from {
protocol: "ospf4"
}
then {
accept {
}
}
}
then {
reject {
}
}
}
}
fea {
unicast-forwarding4 {
disable: false
forwarding-entries {
retain-on-startup: true
retain-on-shutdown: true
}
}
}
interfaces {
restore-original-config-on-shutdown: true
interface eth4 {
description: "OSPF"
disable: false
discard: false
unreachable: false
management: false
default-system-config {
}
}
interface eth5 {
description: "RIP"
disable: false
discard: false
unreachable: false
management: false
default-system-config {
}
}
}
rtrmgr {
config-directory: "/home/xorp/"
load-file-command: "fetch"
load-file-command-args: "-o"
load-ftp-command: "fetch"
load-ftp-command-args: "-o"
load-http-command: "fetch"
load-http-command-args: "-o"
load-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
load-tftp-command-args: ""
save-file-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-file-command-args: ""
save-ftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-ftp-command-args: ""
save-http-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-http-command-args: ""
save-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-tftp-command-args: ""
}
----8<----
On Wed, Mar 28, 2012 at 11:57 AM, <swdickey at rockwellcollins.com> wrote:
> That doesn't seem to affect the result. Poison-reverse on or off, still
> sends metric 16.
>
> I can get RIP to work just fine on its own. As soon as I add OSPF as a
> protocol in the config file (not even connected to an interface, just
> running) then RIP will always send out the metric of 16.
>
> Steve
>
>
> *Ray Soucy <rps at maine.edu>*
>
> 03/28/2012 11:38 AM
> To
> swdickey at rockwellcollins.com
> cc
> Victor Miasnikov <vvm at tut.by>, xorp-users at xorp.org
> Subject
> Re: [Xorp-users] Route Redist between RIP and OSPF - working?
>
>
>
>
> Sorry. I didn't read into your original mail much. This sounds like
> the behavior of:
>
> horizon: "split-horizon-poison-reverse"
>
> Piratically the "poison reverse" part. Do you get the same result
> with only "split-horizon" instead?
>
> Sounds like your routers might be trying to share the same routes ...
>
>
>
> On Tue, Mar 27, 2012 at 5:01 PM, <swdickey at rockwellcollins.com> wrote:
> >
> > Ray: Thanks for your response. I tried your config files running RIP
> and OSPF; RIP will send out Response messages with a metric of 16. This is
> on xorp 1.8.5 on Fedora 11. So I have the same issue that I've always had
> running with your config files as well :S
> >
> > When you say it worked fine for you, maybe these particular
> protocols/policies weren't tested specifically?
> >
> > Steve
>
>
>
>
> --
> Ray Soucy
>
> Epic Communications Specialist
>
> Phone: +1 (207) 561-3526
>
> Networkmaine, a Unit of the University of Maine System
> http://www.networkmaine.net/
>
>
>
--
Ray Soucy
Epic Communications Specialist
Phone: +1 (207) 561-3526
Networkmaine, a Unit of the University of Maine System
http://www.networkmaine.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120329/fba72a49/attachment-0001.html
More information about the Xorp-users
mailing list