DHCP relay and multiple shared-network statements

Tim Gavin livewire98801 at gmail.com
Mon Nov 1 22:13:29 UTC 2010


I think I got all the relevant parts, here are my configs. . .






On my Juniper:

forwarding-options {
     helpers {
         bootp {
             relay-agent-option;
             server 172.24.220.158;
             interface {
                 ge-0/0/2.703;
                 ge-0/0/2.283;
             }
         }
     }
}


interfaces {
     ge-0/0/2 {
         vlan-tagging;
         unit 283 {
             description Chelan;
             vlan-id 283;
             family inet {
                 address 10.215.27.1/24;
             }
         }


         unit 703 {
             description Douglas;
             vlan-id 703;
             family inet {
                 address 192.168.232.1/23 {
                     preferred;
                 }
             }
         }
     }



/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\


DHCP Server:

#########################
#Douglas DHCP - VLAN 703#
#########################

#$Douglas - vlan 703
subnet 192.168.232.0 netmask 255.255.255.0 {
   range 192.168.232.3 192.168.232.254;
   option domain-name-servers 172.24.220.131, 172.24.220.132;
   option domain-name "mydomain.tv";
   option routers 192.168.232.1;
   option broadcast-address 192.168.232.255;
   default-lease-time 43200;     #12 hours
   max-lease-time 86400;         #24 hours
#  default-lease-time 3600;      #1 hour
#  max-lease-time 7200;          #2 hours
   authoritative;
}


########################
#Chelan DHCP - VLAN 283#
########################

#$Chelan - vlan 283
         subnet 10.215.27.0 netmask 255.255.255.128 {
           range 10.215.27.10 10.215.27.120;
           option domain-name-servers 172.24.220.131, 172.24.220.132;
           option domain-name "mydomain.tv";
           option routers 10.215.27.1;
           option broadcast-address 10.215.27.127;
           default-lease-time 43200;
           max-lease-time 86400;
           authoritative;
         }



(Chelan is part of a shared-network statement, but it has nothing to do 
with this functionality)



On 11/01/2010 03:01 PM, Dánial Olsen wrote:
> Thanks for the quick response.
>
> I've tried that (again just now), and without the 10.102.8.x neither
> subnet is working - both produce a "wrong network" and DHCPNAK.
>
> Also tried removing both shared-network statements, same problem.
>
>
> --
> Dánial
>
>
>    



More information about the dhcp-users mailing list