ISC DHCP : route add problem

Dibas Neupane neupane at nrb.org.np
Wed Jun 3 13:08:26 UTC 2009


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 202.70.81.21)  
and bnx1 has 192.168.160.1 and bnx:1 is having 192.168.161.1 with /24  
network each.

# netstat -rn

Routing Table: IPv4
   Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              202.70.81.1          UG        1        166
192.168.160.0        192.168.160.1        U         1          0 bnx1
192.168.161.0        192.168.161.1        U         1          0 bnx1:1
202.70.81.0          202.70.81.21         U         1          6 bnx0
127.0.0.1            127.0.0.1            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 255.255.255.255 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 192.168.160.0 and 192.168.161.0 Network.

Please advise me what exact configuration do I need to do ?


Ram Chandra

::---------------::---------------::---------------::---------------::





More information about the dhcp-users mailing list