Sunday, October 06, 2024

Re: Multiple rtables per rdomain

I am familiar with that article but if anything it reinforces my conclusion.

I can assign an rdomain to an interface and a corresponding rtable is created and I can add rtables to rdomain 0 using the route command, but I do no see any way to add additional rtables to existing rdomains other than 0.

If I am incorrect though, how would one configure an rtable 51 inside of rdomain 50 (for example)?

# netstat -R
Rdomain 0
  Interfaces: lo0 em0 em1 enc0 pflog0
  Routing tables: 0 20

Rdomain 50
  Interfaces: vport50 lo50
  Routing table: 50

Rdomain 100
  Interfaces: lo100 vport100
  Routing table: 100

On Sun, Oct 6, 2024 at 10:56 AM Gerrit <gerrit@macclub-os.de> wrote:
Hello John,

On Fri, Oct 04, 2024 at 12:28:16PM UTC, John Clendenen wrote:

> In practice, it seems that only rdomain 0 may contain multiple tables and
> that rdomains other than 0 are paired with a single rtable with the same
> number. Additionally that table may not be created again under rdomain 0.
>
> Is all of that correct or am I missing something?

No, I think you're missing something. Perhaps this article may help you:

https://www.unfriendlygrinch.info/posts/openbsd-routing-tables-and-routing-domains/

--
Best regards
Gerrit

No comments:

Post a Comment