static IP assignment through a bridge ...

Tim Peiffer peiffer at umn.edu
Tue Feb 20 13:58:35 UTC 2007


I don't think that this response answered the question.  I think that 
the question is more along the lines of how do I assign an IP address to 
a jack.

The DHCP client will broadcast a DISCOVER with ciaddr filled in with its 
MAC.  With the client on the same Layer3 network as the DHCP server or a 
DHCP relay, the client will get an IP based upon the client MAC.  And 
that part would be consistent.  The bridge MAC has nothing to do how the 
client gets its address.

I believe it is possible though, that if the etherswitch or bridge is 
able to offer option-82 information (the switch will need to intercept 
the dhcp packet and rewrite), that the dhcp server could respond based 
upon that information.

class "client_circuit_id_here" {
         match if option agent.circuit-id = "client_circuit_id_here";
       }

subnet 10.0.0.0 netmask 255.255.255.0 {
  pool {
    allow members of "client_circuit_id_here";
    range 10.0.0.1 10.0.0.1;
  }
}

Tim Peiffer
Networking and Teleommunications Services
University of Minnesota
Frank Bulk wrote:
> Bridges are layer-2 devices, so if it auto-learns the MAC addresses on each
> connected segment, as most of them do, this should work just fine.
>
> If I understand your question correctly, if you create a static assignment
> in your DHCP config, your router, which has a fixed MAC address on its WAN
> interface, should get the same IP address every time.
>
> Frank 
>
> -----Original Message-----
> From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
> Of Eoin Verling
> Sent: Tuesday, February 20, 2007 6:32 AM
> To: dhcp-users at isc.org
> Subject: static IP assignment through a bridge ...
>
> Hi,
>
> I'm wondering if the following is possible
>
> dhcp server  -> ethernet -> Bridge device -> ethernet -> router (dhcp  
> client)
>
> Is it possible to statically assign an IP address, to the router,  
> based on the MAC address of the Bridge? ie, no matter what device is  
> put inside the bridge, an IP will be given to it, same one each time?
>
> regards
> Eoin
>
>
>   



More information about the dhcp-users mailing list