[j-nsp] DHCP Proxy client on E320
Truman Boyes
truman at suspicious.org
Mon Jul 6 14:57:09 EDT 2009
Hi,
You can have the external DHCP server have two different pools and it
can key off the src address or src mac of the BRAS. Take a look at the
man page for ISC DHCPD. Search for address pools and subclasses.
An example of subclasses:
class "allocation-class-1" {
match pick-first-value (option dhcp-client-identifier,
hardware);
}
class "allocation-class-2" {
match pick-first-value (option dhcp-client-identifier,
hardware);
}
subclass "allocation-class-1" 1:8:0:2b:4c:39:ad;
subclass "allocation-class-2" 1:8:0:2b:a9:cc:e3;
subclass "allocation-class-1" 1:0:0:c4:aa:29:44;
subnet 10.0.0.0 netmask 255.255.255.0 {
pool {
allow members of "allocation-class-1";
range 10.0.0.11 10.0.0.50;
}
pool {
allow members of "allocation-class-2";
range 10.0.0.51 10.0.0.100;
}
}
Truman
On 6/07/2009, at 6:07 AM, stammb wrote:
> Hi everybody.
>
>
>
> Anybody tried a "DHCP Proxy client" function on E320 series?
>
> I have two E320, acting as BRAS in our network. IP address
> allocation is made with local ip pools stored on each of E320 (ip
> local pool 1 10.10.10.1 10.10.10.254)
>
> and with added ip route (ip route 10.10.10.0 255.255.255.0 null0)
> for advertising purposes.
>
> PPPoE discovery packets are distributed to booth E320 boxes. If one
> of two Boxes (E320) fail, the PPPoE discovery packets are switched
> (aggregation network before Bras boxes) to another box.
>
> And we have manually to move all ip local pools from firs to second
> box.
>
>
>
> Now I like to try a functionality of a DHCP Proxy client. By Juniper
> "DHCP proxy client support enables the router to obtain an ip
> address from external DHCP server for a remote PPP client.
>
> Wit this functionality I solve a problem with local stored ip pools,
> the pool will be stored on external DHCP server. BRAS act like a
> DHCP proxy client".
>
>
>
> How do I separate ip pools on dhcp server? One ip pool for BRAS one
> and another for BRAS two, or rather one big ip pool for both.
>
> How to make a migration of ip pools in case of failure one of BRAS?
>
> What it's with ip address advertising in this case on each of E320?
>
> How do I solve this?
>
> Any ideas?
>
>
>
> I know many questions and no answers. Still thanks for any help.
>
>
>
> B.Stam
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
More information about the juniper-nsp
mailing list