Skip to main content

Thread: ISC-DHCP Multi Subnets


hi guys.
can explain enough can me out. below dhcp.conf contents. in there 2 x /16 networks ready serviced.
10.1.0.0/16
10.230.0.0/16

server has 1 eth port eth0 , wish able hand out above below ranges based on request comes from.
in between clients , server junos based switch helper ip addressing being used. i.e inputting packet there request coming from. issue seems request reaches server...from correct gateway server response wrong subnet. see syslogs below.
appreciated
code:
max-lease-time 84440; default-lease-time 14440; ddns-update-style none; log-facility local7; shared-network net {  subnet 10.230.0.0 netmask 255.255.0.0 { range dynamic-bootp 10.230.0.1 10.230.31.254; option subnet-mask 255.255.0.0; option broadcast-address 10.230.255.255; option domain-name "wired-net"; option domain-name-servers 8.8.8.8,8.8.4.4; option routers 10.230.255.254; }  subnet 10.1.0.0 netmask 255.255.0.0 { range dynamic-bootp 10.1.0.1 10.1.31.254; option subnet-mask 255.255.0.0; option broadcast-address 10.1.255.255; option domain-name "wireless-net"; option domain-name-servers 8.8.8.8,8.8.4.4; option routers 10.1.255.254; }
the logs
nov 20 16:37:01 agile-proliant-ml150-g2 dhcpd: dhcpdiscover d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:01 agile-proliant-ml150-g2 dhcpd: dhcpoffer on 10.1.0.1 d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:33 agile-proliant-ml150-g2 dhcpd: dhcpdiscover d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:33 agile-proliant-ml150-g2 dhcpd: dhcpoffer on 10.1.0.1 d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:37 agile-proliant-ml150-g2 dhcpd: dhcpdiscover d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:37 agile-proliant-ml150-g2 dhcpd: dhcpoffer on 10.1.0.1 d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:44 agile-proliant-ml150-g2 dhcpd: dhcpdiscover d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
nov 20 16:37:44 agile-proliant-ml150-g2 dhcpd: dhcpoffer on 10.1.0.1 d4:be:d9:30:bd:5e (murrayg-pc) via 10.230.255.254
as above, can see i've highlighted request has come from, response dhcp wrong subnet.

again great.

/rattle

ok.
solved. being stupid believing junos on dhcp. packet infact bootp junos unit sends out once changed ranges to

range dynamic-bootp
they worked.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] ISC-DHCP Multi Subnets


Ubuntu

Comments

Popular posts from this blog

Is this Captcha code corrupt?

How to Grab email address from webform and insert into form action

Thread: lower arc in openoffice draw