Hi All!

I have the server running FreeBSD 11 and kea woks good with ethernet interface. But when I add the second wlan interface, kea only responds on it and doesn't on the ethernet interface.

Here is my config with working ethernet:

# DHCPv4 configuration starts here.
"Dhcp4":
{
# Add names of interfaces to listen on.
  "interfaces-config": {
    "interfaces": [ "igb0", "wlan0" ]
  },

# Use Memfile lease database backend to store leases in a CSV file.
  "lease-database": {
    "type": "memfile"
  },

# Setup reclamation of the expired leases and leases affinity.
# Expired leases will be reclaimed every 10 seconds. Every 25
# seconds reclaimed leases, which have expired more than 3600
# seconds ago, will be removed. The limits for leases reclamation
# are 100 leases or 250 ms for a single cycle. A warning message
# will be logged if there are still expired leases in the
# database after 5 consecutive reclamation cycles.
  "expired-leases-processing": {
    "reclaim-timer-wait-time": 10,
    "flush-reclaimed-timer-wait-time": 25,
    "hold-reclaimed-time": 3600,
    "max-reclaim-leases": 100,
    "max-reclaim-time": 250,
    "unwarned-reclaim-cycles": 5
  },

# Global (inherited by all subnets) lease lifetime is mandatory parameter.
  "valid-lifetime": 4000,

  "subnet4": [
   {    "option-data": [
            {
                "name": "routers",
                "code": 3,
                "space": "dhcp4",
                "csv-format": true,
                "data": "192.168.2.1"
            },
            {
                "name": "domain-name-servers",
                "code": 6,
                "space": "dhcp4",
                "csv-format": true,
                "data": "192.168.2.1"
            },
            {
                "name": "domain-name",
                "code": 15,
                "space": "dhcp4",
                "csv-format": true,
                "data": "ungidrid.net"
            },
            {
                "name": "ntp-servers",
                "code": 42,
                "space": "dhcp4",
                "csv-format": true,
                "data": "192.168.2.1"
            }
        ],
        "subnet": "192.168.2.0/29",
        "pools": [ { "pool": "192.168.2.2 - 192.168.2.5" } ] }
#  ],

#  "subnet4": [
#   {    "option-data": [
#            {
#                "name": "routers",
#                "code": 3,
#                "space": "dhcp4",
#                "csv-format": true,
#                "data": "192.168.3.1"
#            },
#            {
#                "name": "domain-name-servers",
#                "code": 6,
#                "space": "dhcp4",
#                "csv-format": true,
#                "data": "192.168.3.1"
#            },
#            {
#                "name": "domain-name",
#                "code": 15,
#                "space": "dhcp4",
#                "csv-format": true,
#                "data": "ungidrid.net"
#            },
#            {
#                "name": "ntp-servers",
#                "code": 42,
#                "space": "dhcp4",
#                "csv-format": true,
#                "data": "192.168.3.1"
#            }
#        ],
#        "subnet": "192.168.3.0/28",
#        "pools": [ { "pool": "192.168.3.2 - 192.168.3.14" } ] }

  ]
},

So, when I uncomment 2nd subnet, kea responds only on wlan0, but not on igb0.

Interfaces addressed are:

ifconfig_igb0="inet 192.168.2.1 netmask 255.255.255.248"
ifconfig_wlan0="inet 192.168.3.1/28 ..."

Kea version:

% kea-dhcp4 -V
1.1.0
tarball
linked with:
log4plus 1.1.2
OpenSSL 1.0.2k-freebsd  26 Jan 2017
database:
Memfile backend 2.0

--

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to