strange behavior of shared network

Milan Kovac kovac65 at gmail.com
Wed Oct 2 14:01:03 UTC 2019


I have a few routed networks each with 2 subnets ( public and private )

Each private subnet is allocated dynamicaly for unknown clients and 
public subnet only for known clients.

All networks are behind L3 switch with vlan interface with ip helper 
address 157.157.63.224  and two ip addresses as GWs for clien`s subnets.

All worked correctly about 2 years, but now I added the last shared 
network " 011 " I can`t get ip address from dhcp server ( unknown-client )

Of course when I define host I will get ip address, and without subnet 
157.157.59.160/7 I will get ip address from 10.64.160.0/20

I use version 4.3.3

Do you have any ideas please ?

Thanks in advance

Milan

Here is dhcpd.conf

# option definitions common to all supported networks...
option domain-name "ourcompany.tld";
option domain-name-servers 157.157.67.3, 157.157.67.1;
allow bootp;
default-lease-time 600;
max-lease-time 600;
allow unknown-clients;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

# default
subnet 157.157.63.224 netmask 255.255.255.240 {
     }

shared-network 001 {
default-lease-time 43200;
max-lease-time 43200;
# divina-private
subnet 10.64.0.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.15.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.0.1;
         range 10.64.0.2 10.64.15.254;
         }

# divina-public
subnet 157.157.56.128 netmask 255.255.255.240 {
         option broadcast-address 157.157.56.143;
         option subnet-mask 255.255.255.240;
         option routers 157.157.56.129;
         deny unknown-clients;
         range 157.157.56.130 157.157.56.142;
     host Divinka-Uhliarik {
                         hardware ethernet cc:2d:e0:3f:fa:42;
                         fixed-address 157.157.56.130;
                         }
     host Divinka-Obecny-Urad {
                         hardware ethernet 00:4f:74:31:b4:03;
                         fixed-address 157.157.56.131;
                         }
                 }
}






shared-network 002 {
# nededza-private
subnet 10.64.16.0 netmask 255.255.240.0 {
     option broadcast-address 10.64.31.255;
     option subnet-mask 255.255.240.0;
     option routers 10.64.16.1;
     range 10.64.16.2 10.64.31.254;
     }

# nededza-public
subnet 157.157.56.112 netmask 255.255.255.240 {
     option broadcast-address 157.157.56.127;
     option subnet-mask 255.255.255.240;
     option routers 157.157.56.113;
     deny unknown-clients;
     range 157.157.56.114 157.157.56.126;
     host Nededza-Masura-Jozef {
                         hardware ethernet c4:e9:84:f7:f6:31;
                         fixed-address 157.157.56.114;
                         }
     host Nededza-25-Mravec-Marian {
                         hardware ethernet e4:be:ed:b8:b6:d1;
                         fixed-address 157.157.56.115;
                         }
         }
}

shared-network 003 {
     # varin-private
     subnet 10.64.32.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.47.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.32.1;
         range 10.64.32.2 10.64.47.254;
         }
     # varin-public
     subnet 157.157.56.160 netmask 255.255.255.224 {
         option broadcast-address 157.157.56.191;
         option subnet-mask 255.255.255.224;
         option routers 157.157.56.161;
         deny unknown-clients;
         range 157.157.56.162 157.157.56.190;
         host Varin-VJ-control {
             hardware ethernet b8:69:f4:0d:59:b9;
             fixed-address 157.157.56.162;
             }
         host Varin-VAIN-sro {
             hardware ethernet 6c:3b:6b:0a:fa:96;
             fixed-address 157.157.56.163;
             }
         }
     }


shared-network 004 {
     # visnove-private
     subnet 10.64.48.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.63.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.48.1;
         range 10.64.48.2 10.64.63.254;
         }
     # visnove-public
     subnet 157.157.56.144 netmask 255.255.255.240 {
         option broadcast-address 157.157.56.159;
         option subnet-mask 255.255.255.240;
         option routers 157.157.56.145;
         deny unknown-clients;
         range 157.157.56.1157 157.157.56.158;
         host Visnove-skola {
             hardware ethernet e4:8d:8c:78:93:6d;
             fixed-address 157.157.56.1157;
             }
         host Visnove-Mikomix {
             hardware ethernet e4:be:ed:0f:07:bc;
             fixed-address 157.157.56.147;
             }
         host Visnove-NH-Media {
             hardware ethernet b8:69:f4:f4:cd:e6;
             fixed-address 157.157.56.148;
             }
         }
     }

shared-network 005 {
     # vysoka-private
     subnet 10.64.64.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.79.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.64.1;
         range 10.64.64.2 10.64.79.254;
         }
     # vysoka-public
     subnet 157.157.56.48 netmask 255.255.255.240 {
         option broadcast-address 157.157.56.63;
         option subnet-mask 255.255.255.240;
         option routers 157.157.56.49;
         deny unknown-clients;
         range 157.157.56.50 157.157.56.62;
         host Vysoka-1340-Zapalka-Pavol {
             hardware ethernet d8:0d:17:74:53:48;
             fixed-address 157.157.56.50;
             }
         }
     }

shared-network 006 {
     # podvysoka-private
     subnet 10.64.80.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.95.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.80.1;
         range 10.64.80.2 10.64.95.254;
         }
     # podvysoka-public
     subnet 157.157.57.128 netmask 255.255.255.192 {
         option broadcast-address 157.157.57.191;
         option subnet-mask 255.255.255.192;
         option routers 157.157.57.129;
         deny unknown-clients;
         range 157.157.57.130 157.157.57.190;
         host Rakova-K-STORE {
             hardware ethernet bc:16:65:45:08:0e;
             fixed-address 157.157.57.130;
             }
         host Staskov-Kontakt-SK {
             hardware ethernet cc:2d:e0:98:22:98;
             fixed-address 157.157.57.132;
             }

         }
     }

shared-network 007 {
     # krasno-private
     subnet 10.64.96.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.111.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.96.1;
         range 10.64.96.2 10.64.111.254;
         }
     # krasno-public
     subnet 157.157.57.192 netmask 255.255.255.224 {
         option broadcast-address 157.157.57.223;
         option subnet-mask 255.255.255.224;
         option routers 157.157.57.193;
         deny unknown-clients;
         range 157.157.57.194 157.157.57.222;
         host Krasno-Komad-sro {
             hardware ethernet 4c:9e:ff:78:97:57;
             fixed-address 157.157.57.194;
             }
         host Krasno-Kalinov-Kristek {
             hardware ethernet 50:c7:bf:08:51:c9;
             fixed-address 157.157.57.195;
             }
         host Krasno-1413-Auto-omega {
             hardware ethernet 84:16:f9:24:d1:e0;
             fixed-address 157.157.57.196;
             }
         }
     }

shared-network 008 {
     # zborov-private
     subnet 10.64.112.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.127.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.112.1;
         range 10.64.112.2 10.64.127.254;
         }
     # zborov-public
     subnet 157.157.57.224 netmask 255.255.255.224 {
         option broadcast-address 157.157.57.255;
         option subnet-mask 255.255.255.224;
         option routers 157.157.57.225;
         deny unknown-clients;
         range 157.157.57.226 157.157.57.254;
         host Zborov-2-Kral {
             hardware ethernet 04:8d:38:b9:27:6a;
             fixed-address 157.157.57.226;
             }
         host Zborov-dom-dochodcov {
             hardware ethernet e4:be:ed:69:63:8d;
             fixed-address 157.157.57.227;
             }
         }
     }

shared-network 009 {
     # besenova-private
     subnet 10.64.128.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.143.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.128.1;
         range 10.64.128.2 10.64.143.254;
         }
     # besenova-public
     subnet 157.157.60.208 netmask 255.255.255.240 {
         option broadcast-address 157.157.60.223;
         option subnet-mask 255.255.255.240;
         option routers 157.157.60.209;
         deny unknown-clients;
         range 157.157.60.210 157.157.60.222;
         host Besenova-Sedik {
             hardware ethernet cc:2d:e0:2b:94:f0;
             fixed-address 157.157.60.210;
             }
         host Besenova-Remenar {
             hardware ethernet 04:8d:38:bd:0a:c4;
             fixed-address 157.157.60.211;
             }
         }
     }


shared-network 010 {
     # vazec-private
     subnet 10.64.144.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.159.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.144.1;
         range 10.64.144.2 10.64.159.254;
         }
     # vazec-public
     subnet 157.157.60.224 netmask 255.255.255.240 {
         option broadcast-address 157.157.60.239;
         option subnet-mask 255.255.255.240;
         option routers 157.157.60.225;
         deny unknown-clients;
         range 157.157.60.226 157.157.60.238;
         host Vazec-Brtan {
             hardware ethernet 78:8a:20:bc:bb:bb;
             fixed-address 157.157.60.226;
             }
         host Vazec-Zubaj-hotel {
             hardware ethernet ac:84:c6:81:75:a2;
             fixed-address 157.157.60.227;
             }
         }
     }

shared-network 011 {
     max-lease-time 600;
     default-lease-time 600;
     # rakova-private
     subnet 10.64.160.0 netmask 255.255.240.0 {
         option broadcast-address 10.64.175.255;
         option subnet-mask 255.255.240.0;
         option routers 10.64.160.1;
         range 10.64.160.2 10.64.175.254;
         }
     # rakova-public
         subnet 157.157.59.160 netmask 255.255.255.224 {
         option broadcast-address 157.157.59.191;
         option subnet-mask 255.255.255.224;
         option routers 157.157.59.161;
         deny unknown-clients;
         range 157.157.59.162 157.157.59.190;
         }
     }




More information about the dhcp-users mailing list