Switching

 View Only
last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  DHCP POOL in EX-2200 o EX4200

    Posted 12-28-2010 09:43

    I need to configure 2 pools for diferent vlans, that is possible?

     

    EXAMPLE

     

    EX assing ip address for two different vlans

     

    vlan voice pool 192.168.1.0/24

    vlan data pool 172.16.1.0/24

     

    thanks



  • 2.  RE: DHCP POOL in EX-2200 o EX4200
    Best Answer

    Posted 12-28-2010 17:43

    Yes, you can configure separate pools for the two vlans.  You simply use the network segment that matches your layer 3 vlan as the dhcp pool name to tie them together.

     

    The procedure is outlined in KB11018 with a set of sample configuration commands for setting up the pool.

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB11018

     

    interface VLAN 20 has IP 20.20.20.1/24

     

    Example

    [edit]
    root@4200-48-2# show system services dhcp
    pool 20.20.20.0/24 {
        address-range low 20.20.20.50 high 20.20.20.100;
        default-lease-time 3600;
        name-server {
            20.20.20.1;
        }
        wins-server {
            20.20.20.1;
        }
        router {
            20.20.20.1;
        }
        server-identifier 20.20.20.1;
    }

    [edit]
    root@4200-48-2# show system services dhcp | display set
    set system services dhcp pool 20.20.20.0/24 address-range low 20.20.20.50
    set system services dhcp pool 20.20.20.0/24 address-range high 20.20.20.100
    set system services dhcp pool 20.20.20.0/24 default-lease-time 3600
    set system services dhcp pool 20.20.20.0/24 name-server 20.20.20.1
    set system services dhcp pool 20.20.20.0/24 wins-server 20.20.20.1
    set system services dhcp pool 20.20.20.0/24 router 20.20.20.1
    set system services dhcp pool 20.20.20.0/24 server-identifier 20.20.20.1

    [edit]
    root@4200-48-2# show interfaces vlan.20  
    family inet {
        address 20.20.20.1/24;
    }

    [edit]
    root@4200-48-2# show interfaces ge-0/0/0
    unit 0 {
        family ethernet-switching {
            vlan {
                members 20;
            }