Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 08:54:49 -0400
From:      Steve Bertrand <steve@ibctech.ca>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-net@freebsd.org, pcc@gmx.net, sthaug@nethelp.no
Subject:   Re: Multiple default routes / Force external routing
Message-ID:  <49E48799.1000300@ibctech.ca>
In-Reply-To: <49E41755.8050701@elischer.org>
References:  <20090413135402.78610@gmx.net>	<20090413.220932.74699777.sthaug@nethelp.no> <49E41755.8050701@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> sthaug@nethelp.no wrote:
>>> I've poked about for weeks and asked similar questions in
>>> -questions and elsewhere without avail. Probably using the wrong keys
>>> to search and ask:
>>>
>>> I have set up a box with various vlan interfaces on it. I naively
>>> expected to be able to set individual "default" routes and route
>>> between them via an *external* router (and filter packets there etc.)
>>> but somehow all packets seem to "short-circuit" locally, and I don't
>>> seem to be able to see why this is so and how I prevent that.
> 
> I think you are rather confused about what Multiple FIBs is..
> All it is is teh  ability to make a packet use a particular
> FIB on it's outgoing path. There is not such thing as an interface
> being "In" a FIB. All interfaces are still visible to the routing code
> by default, and The IP stack still knows about them.I think the IP
> stack set's the 'loopback' flag on a packet regardless of the FIB
> selected if teh dest is one of its own addresses.
> 
> What you want is VIMAGE.

Perhaps the OP should rephrase his desire.

To me, it sounds like he wants to turn the FBSD box into a VLAN
aggregator, and then "trunk" the VLANs to an external router to route
between the VLAN subnets.

If this is the case, then the default route that points to the
'external' router would need to be applied on the devices within each
VLAN subnet, not on the VLAN aggregator device(s) themselves.

Do I understand what you are trying to do correctly?

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E48799.1000300>