Re: tap devices and DHCP.

From: Brooks Davis (brooks_at_one-eyed-alien.net)
Date: 09/25/05

  • Next message: Brooks Davis: "Re: "ifconfig -vlandev" syntax"
    Date: Sun, 25 Sep 2005 14:31:06 -0700
    To: Sten Daniel Sørsdal <lists@wm-access.no>
    
    
    

    On Thu, Sep 22, 2005 at 02:10:50PM +0200, Sten Daniel Sørsdal wrote:
    > > >
    > > I have a bridge with one fxp0 nic (which I renamed to net0) and one tap1
    > > device. The other end runs linux as DHCP server on LAN.
    > > It communicates with the DHCP server through the fxp0 device which is a
    > > member of the same bridge.
    > >
    >
    > Then it would in my opinion be more correct to run dhclient on the
    > bridge interface.
    > However bridge0 doesnt seem to support broadcast packets which are
    > necessary for DHCP to work. That could be the problem.

    It seems incorrect to be able to assign an address to an interface that
    is a member of an if_bridge bridge. I'm not 100% certain this is the
    case, but it seems right. If that's the case, dhclient should not work
    on member interfaces.

    -- Brooks

    -- 
    Any statement of the form "X is the one, true Y" is FALSE.
    PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
    
    



  • Next message: Brooks Davis: "Re: "ifconfig -vlandev" syntax"

    Relevant Pages

    • Re: kern/102607: [if_bridge] dont generate random L2 address
      ... The MTU of the first member interface to be added is used as the bridge MTU. ...
      (freebsd-net)
    • Re: If_bridge behaving as HUB
      ... I have a bridge setup with a number of vlan IF's as members. ... while traffic destined for one member IF are sent to all member IF's. ... Mark an interface as a ``discovering'' interface. ... sometimes customers connection fails because the bridge fdb doesn't get ...
      (freebsd-net)
    • Re: If_bridge behaving as HUB
      ... I have a bridge setup with a number of vlan IF's as members. ... After a while traffic destined for one member IF are sent to all member IF's. ... A bridge works like a hub, forwarding traffic from one interface to ... Multicast and broadcast packets are always forwarded to all ...
      (freebsd-net)
    • Re: kern/102607: [if_bridge] dont generate random L2 address
      ... The MTU of the first member interface to be added is used as the ... +The bridge can be used as a regular host interface at the same time as ...
      (freebsd-net)
    • Re: kern/102607: [if_bridge] dont generate random L2 address
      ... for bridge interface from attached member interfaces. ... If the user wants a different address on the bridge, ... The first option is unfeasable as you cant guarantee ...
      (freebsd-net)