RE: DHCP and multiple vlans

From: Sten Daniel Sørsdal (sten.daniel.sorsdal_at_wan.no)
Date: 01/24/04

  • Next message: Adrian Penisoara: "vlan(4)/bridge(4) interaction ?"
    Date: Sat, 24 Jan 2004 02:57:29 +0100
    To: "Guy Antony Halse" <guy@mombe.org>, <freebsd-net@freebsd.org>
    
    

    > I'm trying to configure a FreeBSD 5.1-RELEASE system to act
    > as the default gateway for several virtual lans. I've got
    > two NICs in the box, one which supplies the uplink, and one
    > which has about 40 vlan(4) vlans on it.
    >
    > I was trying to run isc-dhcp3's dhcrelay to relay DHCP
    > messages to our DHCP server when I ran into a problem. Only
    > the first ten vlans (vlan0 through
    > vlan9) are serviced by dhcrelay.
    >

    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ørsdal

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Adrian Penisoara: "vlan(4)/bridge(4) interaction ?"

    Relevant Pages

    • Re: "Routing and Remote Access" in Windows Server 2003
      ... Set the default gateway of NIC B to NIC A. ... > say that I have to make sure no filtering blocks internet address, ... > Server computer. ... > In "Routing and Remote Access" I have added both NICS. ...
      (microsoft.public.win2000.ras_routing)
    • Re: LAN with WLAN . . .
      ... but leave the default gateway setting on the LAN NIC blank. ... When you specify a default gateway on a NIC it sets up a default route ... If you specify a default gateway on two NICs you get ...
      (microsoft.public.windows.server.networking)
    • SSL on multiple sites in a virtually hosted WinServer 2003
      ... my ISP and its address is the public gateway. ... I am hosting several websites on the server. ... This setup works fine for only one SSL enabled site. ... one of the nics but it gets confused as to which gateway to send the packets ...
      (microsoft.public.windows.server.networking)
    • Default Gateway Reverts to Old Setting
      ... Having a problem with the default gateway setting on a WinSvr2003 Std box at ... This server is on the only IP subnet at the client's main office. ... The server has two identical 10/100/1000 NICs, ...
      (microsoft.public.windows.server.networking)
    • Re: 2003 DC Multihomed - 1 Nic wont answer - help!!
      ... No no nat, internally on the lan there is no problem, with the gateway ... gateway is pointed at my internal network gateway through the appliance then ... Are both NICs on the same subnet connected to the same physical network? ... Have you installed NAT on this server? ...
      (microsoft.public.windows.server.networking)