Date: Sat, 24 Jan 2004 02:57:29 +0100 From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= <sten.daniel.sorsdal@wan.no> To: "Guy Antony Halse" <guy@mombe.org>, <freebsd-net@freebsd.org> Subject: RE: DHCP and multiple vlans Message-ID: <0AF1BBDF1218F14E9B4CCE414744E70F5D999B@exchange.wanglobal.net>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0AF1BBDF1218F14E9B4CCE414744E70F5D999B>