Re: best method of routing through route domains?
Peter Philipp <[email protected]> Wed, 5 Aug 2026 07:16:22 +0200
| Newsgroups | gmane.os.openbsd.misc |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 04, 2026 at 09:41:19PM +0200, Kirill A. Korinsky wrote: > On Tue, 04 Aug 2026 18:55:51 +0200, > > I had tried pair(4) but it seemed to have leakage and in the end > > it wasn't really working for me. > > > > I think simpler way is rport: > > gw$ cat /etc/hostname.rport0 > up > inet 172.31.1.0 255.255.255.255 172.31.1.1 > inet6 fd00:1:: 127 > !route add 0.0.0.0/0 172.31.1.1 > !route add ::/0 fd00:1::1 > gw$ cat /etc/hostname.rport1 > up > rdomain 1 > parent rport0 > inet 172.31.1.1 255.255.255.255 172.31.1.0 > inet6 fd00:1::1 127 > !route -T 1 add 172.31.0.0/16 172.31.1.0 > !route -T 1 add fd00::/8 fd00:1:: > gw$ > > > -- > wbr, Kirill > This worked! Thank you for the hint! -peter -- Peter J. Philipp Am Deutschhof 5 97422 Schweinfurt Contact by mobile: +49 151 7226 5695