DHCP relay and multiple shared-network statements

Dánial Olsen DOL at ft.fo
Mon Nov 1 22:24:06 UTC 2010


That's very helpful.

I'm still not sure what my problem is, but I think I need to have an 
extra look at my Juniper setup and do some comparing.

--
Dánial


> -----Original Message-----
> From: dhcp-users-bounces+dol=ft.fo at lists.isc.org [mailto:dhcp-users-
> bounces+dol=ft.fo at lists.isc.org] On Behalf Of Tim Gavin
> Sent: Monday, November 01, 2010 10:13 PM
> To: Users of ISC DHCP
> Subject: Re: DHCP relay and multiple shared-network statements
> 
> 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
> >
> >
> >
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list