ISC DHCP : route add problem

Glenn Satchell Glenn.Satchell at
Wed Jun 3 14:18:55 UTC 2009

>Date: Wed, 03 Jun 2009 18:53:26 +0545
>From: Dibas Neupane <neupane at>
>To: dhcp-users at
>Subject: ISC DHCP : route add problem
>Content-Disposition: inline
>X-BeenThere: dhcp-users at
>I just installed Opensolaris
>uname  -a
>SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc Solaris
>My system has two Network Interfaces bnx0 (has Public IP  
>and bnx1 has and bnx:1 is having with /24  
>network each.
># netstat -rn
>Routing Table: IPv4
>   Destination           Gateway           Flags  Ref     Use     Interface
>-------------------- -------------------- ----- ----- ---------- ---------
>default              UG        1        166
>        U         1          0 bnx1
>        U         1          0 bnx1:1
>         U         1          6 bnx0
>              UH        1         84 lo0
>Routing Table: IPv6
>   Destination/Mask            Gateway                   Flags Ref   Use    If
>--------------------------- --------------------------- ----- ---  
>------- -----
>::1                         ::1                         UH      1       0 lo0
>I have installed CSWdhcp(ISC DHCP server) with
>/opt/csw/bin/pkg-get install CSWdhcp
>dhcp - ISC DHCP reference implementation(i386) 4.1.0,REV=2009.01.27
>successfully installed.
>I configured the dhcpd.conf with a range of IP and DHCP can be started  
>normally. But it doees not allocate any IP address. In redame document  
>I found the I have to issue a route add command looks like:
>route add -host dev bnx1
>It is saying "bnx1: bad value"
>I want to send all reply to DHCP Offer from bnx1 for multiple subnets  
>like some  IP range of and Network.
>Please advise me what exact configuration do I need to do ?
>Ram Chandra

I think you will find the route add command is in the Linux section of
the README file. For Solaris and OpenSolaris no such command is

Suggest you look at the /var/adm/messages file to see any errors from
dhcpd. You may need to add an empty declaration for bnx1.

Oh and I just saw you have version 4.1.0. My experience with dhcpd on
Solaris 10 is that you need 4.1.1b1 or newer to get around a bug in the
network layer. This probably applies to OpenSolaris as well.

If you need to build from source, the defaults are all ok on Solaris at


More information about the dhcp-users mailing list