Monday, July 08, 2024

Re: ripd processes not exchanging routing tables

On Sat, Jul 06, 2024 at 06:25:51PM -0700, jrmu wrote:
> Greetings,
>
> I am now trying to figure out how to run ripd(8) to replace the static
> routes. I have two machines I'm trying to configure routing for, R1 and R2.
>
> I suspect the two ripd processes I configured for R1 and R2 are sending
> multicast packets but not actually listening/replying to each other.
>
> R1 <--> Internet
> 10.1/16
> ^
> |
> |
> |
> R2 <---------> R3 <---------> R5 10.5/16
> 10.2/16 10.3/16
> ^ ^
> \ /
> \ /
> \ /
> \ /
> > R4 <
> 10.4/16
>
> Right now, I'm just looking at the link between R1 and R2. Both of them
> have ripd running, but the routing tables aren't being updated like I
> had expected.
>
> Here's how I configure the interfaces:
>
> r1# cat /etc/hostname.vport11
> inet 10.1.2.1 0xffff0000
> !route add -inet 10.2.1.1 -cloning -link -iface vport11
> !route add -inet 10/8 10.2.1.1

> r2# cat /etc/hostname.vio0
> inet 10.2.1.1 0xffff0000
> !route add -inet 10.1.2.1 -cloning -link -iface vio0
> !route add -inet 10.1/16 10.1.2.1
> !route add -inet default 10.1.2.1
> up

This looks strange to me. You do something here that is putting you in the
warranty void bucket. Please configure your interfaces properly. Do not
play games by injecting route commands to install cloning routes for a
different network.

In short make sure that vport11 and vio0 share a common subnet and can
talk directly to each other. After that ripd may actually work as well.

--
:wq Claudio

No comments:

Post a Comment