Present Location: News >> Blog >> VR

Blog

> VR
Posted by prox, from Charlotte, on December 07, 2005 at 22:44 local (server) time

So.. it doesn't look like FreeBSD does multiple routing tables.  Linux seems to do it, but I don't think Quagga is aware of it, and will probably mess it up.

Basically, I'd like the following:

bfe0: link to local lan
tun0: vpn tunnel to.. somewhere

xl0 is a member of the "external4" table
xl1 and bfe0 are members of the "internal4" table

table external4
------------------------------------
destination   type  gw          int
0/0           S     <via dhcp>  xl0
<some isp>    C     n/a         xl0

table internal4
------------------------------------
destination   type  gw          int
0/0           S     1.1.1.2     xl1
1/24          C     n/a         bfe0
2/24          O     1.255.255.2 tun0
3/24          O     1.255.255.2 tun0
[etc...]

Assume there's an Internet6 table in there somewhere, but I only need one of those so far.

Anyway, does anyone know an easy way of doing that in *BSD/Linux?

I'm really looking for some hierarchy with regard to routing tables and interfaces.  Interfaces being a member of only one routing table, etc.  Yeah, something like what NetScreen does, but with reverse path filtering.  Maybe even a /30 and two virtual interfaces that virtually connect vr's.  Oooh, fully-meshed virtual routers.. now I'm thinking..  Also babbling.

> Add Comment

New comments are currently disabled for this entry.