# Configuration option: DHCP on switch
# Site type: Hub
# Device: Switch
# CMSS: Single CMSS
# Colocated Radio: Yes
# Switch in site: Single Switch
# Model Type: EX2300
# Timestamp: 2020.01.30
# Release: M2020.01
# Format: STANZA
#
system {
    services {
        dhcp-local-server {
            group DHCP-Group {
                interface irb.10;
                interface irb.20;
                interface irb.25;
                interface irb.30;
            }
            requested-ip-interface-match;
        }
    }
}
interfaces {
    irb {
        unit 10 {
            family inet {
                address 172.16.1.16/24;
            }
        }
        unit 20 {
            family inet {
                address 172.21.0.16/26;
            }
        }
        unit 25 {
            family inet {
                address 172.21.20.16/26;
            }
        }
        unit 30 {
            family inet {
                address 172.20.1.144/25;
            }
        }
    }
}
access {
    address-assignment {
        pool APP_NETWORK {
            family inet {
                network 172.20.1.128/25;
                range APP_RANGE {
                    low 172.20.1.192;
                    high 172.20.1.254;
                }
                dhcp-attributes {
                    router {
                        172.20.1.148;
                    }
                }
            }
        }
        pool CMSS_NETWORK {
            family inet {
                network 172.21.0.0/26;
                range CMSS_RANGE {
                    low 172.21.0.58;
                    high 172.21.0.62;
                }
                dhcp-attributes {
                    router {
                        172.21.0.20;
                    }
                }
            }
        }
        pool DATA_NETWORK {
            family inet {
                network 172.21.20.0/26;
                range DATA_RANGE {
                    low 172.21.20.58;
                    high 172.21.20.62;
                }
                dhcp-attributes {
                    router {
                        172.21.20.20;
                    }
                }
            }
        }
        pool RADIO_NETWORK {
            family inet {
                network 172.16.1.0/24;
                range RADIO_RANGE {
                    low 172.16.1.250;
                    high 172.16.1.254;
                }
                dhcp-attributes {
                    router {
                        172.16.1.20;
                    }
                }
            }
        }
    }
}
vlans {
    APP_NETWORK {
        l3-interface irb.30;
    }
    DATA_NETWORK_1 {
        l3-interface irb.25;
    }
    CMSS_NETWORK_1 {
        l3-interface irb.20;
    }
    RADIO_NETWORK {
        l3-interface irb.10;
    }
}
