Junos
Junos

DHCP Server, unnumbered interface, multiple pools

‎11-18-2018 05:43 AM

Dear all,

 

I would like to install the following configuration.

1. Juniper MX960 is configured as DHCP Server

2. Dynamic profile is configured for Dynamic VLAN

3. We are using demux interface for setting speeds and other staff for consumers

4. We are using Address Pools for address assignment. (172.16.0.0/24)

    pool DHCP_POOL {
        family inet {
            network 172.16.0.0/24;      
            range range1 {
                low 172.16.0.10;
                high 172.16.0.253;
            }
            dhcp-attributes {
                maximum-lease-time 3600;
                name-server {
                    8.8.8.8;
                }
                router {
                    172.16.0.254;
                }
            }
        }
    }
    pool DHCP_2 {
        family inet {
            network 172.16.254.0/24;
            range range1 {
                low 172.16.254.10;
                high 172.16.254.200;
            }
            dhcp-attributes {
                maximum-lease-time 3600;
                name-server {
                    8.8.8.8;
                }
                router {
                    172.16.254.254;
                }
            }
        }
    }

5. We are using Radius for user's authentication

6. We are using the loopback interface IP-address 172.16.0.1/32

unit 0 {
    family inet {
        address 172.16.0.254/32;
    }
}

Everything works as expected but when I am trying to use the second pool I added the second address on loopback 172.16.254.254/32. But it does not work.

unit 0 {
    family inet {
        address 172.16.0.254/32;
address 172.16.254.254/32 } }

Could you help/explain to me which actions I have to do to use different address ranges with DHCP Server?
Thanks

3 REPLIES 3
Junos

Re: DHCP Server, unnumbered interface, multiple pools

‎11-18-2018 07:32 AM

try with pool linking

Junos

Re: DHCP Server, unnumbered interface, multiple pools

‎11-19-2018 12:45 AM

Thank you for your response

I will check and let you know

Have a nice day

Junos

Re: DHCP Server, unnumbered interface, multiple pools

‎11-20-2018 01:41 AM

Thank you.
Everything works as expected.

 

Have a nice day!