VLAN interfaces and routing

William willay at gmail.com
Wed Apr 26 13:53:37 UTC 2006


Hi guys,

I'm running on FreeBSD 6.0-RELEASE with various network cards.

I'm trying to get vlan interfaces working with my freebsd box,
everything seems to work fine apart from routing into non-connected
networks.

My setup is done via rc.conf, I make serveral cloned interfaces and
then apply IP addresses, mask, vlan ID and hw interface to them using
ifconfig.

The switch is a Cisco 3550, trunking is setup on the port and I've
allowed the VLANS I'm interested in using.

The end result is being able to communicate with all devices on said
VLANS which is fantastic but my next objective is to have the box talk
to other networks via a default route, I've tried applying the default
route by defaultrouter= in rc.conf, also manually adding it using
route once the box has booted up but it always results in no replys
back from other networks, even netstat -r seems to hang.

Is there something I'm missing here in my configuration?

Thanks for your time, please CC me on emails as I am not subscribed to the list.

Regards,

William


More information about the freebsd-net mailing list