Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 13:35:45 -0700
From:      Kurt Buff <kurt.buff@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   VLANs, routing, multicast and HP switches, oh my...
Message-ID:  <AANLkTikZhyrufjNuUPhNDlDZ4iKp-KWN-AgcwUt1g1_p@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
All,

I have in place a router that I built with FreeBSD (currently it's an
i386 build - 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Jul 28 18:59:13 PDT
2008) on a whitebox with 3 dual-port NICs.

the relevant data from /etc/rc.conf:

     defaultrouter="192.168.27.1"
     gateway_enable="YES"
     hostname="zrouter.example.com"
     ifconfig_fxp0="inet 192.168.27.2  netmask 255.255.255.0"
     ifconfig_fxp1="inet 10.0.0.1  netmask 255.255.255.0"
     ifconfig_fxp2="inet 10.0.1.1  netmask 255.255.255.0"
     ifconfig_fxp3="inet 10.0.2.1  netmask 255.255.255.0"
     ifconfig_fxp4="inet 10.0.3.1  netmask 255.255.255.0"
     ifconfig_fxp5="inet 10.0.4.1  netmask 255.255.255.0"
     static_routes="nistnet"
     route_nistnet="-net 10.0.5.0/24 10.0.4.60"

It serves as a gateway between our production network
(192.168.27.0/24) and a set of engineering test/dev subnets - no
firewalling at the moment, just a simple router.

The interfaces for the test/dev subnets have until now been plugged
into dumb switches - no VLANs, and as you can see, just some simple
static routing.

Now, however, the subnet on fxp4 is going to have an HP 2610 switch
attached to it, and they want to hang multiple subnets from that
interface. The engineers are also asking for multicast routing between
the subnets attached to this interface.

So, it looks to me as if I need to set up this box with a VLAN
configuration and some more routing intelligence than it has at the
moment.

I'm looking at, among other pages, this one
http://www.cyberciti.biz/faq/howto-configure-freebsd-vlans-with-ifconfig-command/,
though I don't see much addressing these two subjects in the handbook.

Questions:

1) Do I still need to build a custom kernel for VLANs and multicast routing?

2) Where can I find a decent tutorial on multicast routing?

3) Any other things that I might need to know regarding this that I am
obviously overlooking?

Thanks muchly for any help.

Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikZhyrufjNuUPhNDlDZ4iKp-KWN-AgcwUt1g1_p>