From owner-freebsd-net@FreeBSD.ORG Fri Jan 23 17:57:33 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A3B16A4CE for ; Fri, 23 Jan 2004 17:57:33 -0800 (PST) Received: from exchange.wan.no (exchange.wan.no [80.86.128.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16CE143D41 for ; Fri, 23 Jan 2004 17:57:31 -0800 (PST) (envelope-from sten.daniel.sorsdal@wan.no) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Sat, 24 Jan 2004 02:57:29 +0100 Message-ID: <0AF1BBDF1218F14E9B4CCE414744E70F5D999B@exchange.wanglobal.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DHCP and multiple vlans thread-index: AcPg7Wc32Uh/X2QyTvCmEFEla0bmpQBKauQg From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= To: "Guy Antony Halse" , Subject: RE: DHCP and multiple vlans X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 01:57:34 -0000 > I'm trying to configure a FreeBSD 5.1-RELEASE system to act=20 > as the default gateway for several virtual lans. I've got=20 > two NICs in the box, one which supplies the uplink, and one=20 > which has about 40 vlan(4) vlans on it. >=20 > I was trying to run isc-dhcp3's dhcrelay to relay DHCP=20 > messages to our DHCP server when I ran into a problem. Only=20 > the first ten vlans (vlan0 through > vlan9) are serviced by dhcrelay. >=20 It's a limitation in the isc-dhcp software, AFAIK. If my memory serves me correctly you can try something along these = lines; # cd /usr/ports/net/isc-dhcp3-server # make patch now edit work/dhcp-3.0.1rc12/common/discover.c at line 138 or so there should be "char buf[2048]" change 2048 into for example 16384. # make build install assuming you are building on your gateway. _// Sten Daniel S=F8rsdal