FreeBSD Port: isc-dhcp3-client-3.0.5.r2

Jim Mercer jim at csas.com
Sun Dec 10 06:34:55 PST 2006


using FreeBSD 6-2-PRERELEASE and this port.

using the default dhclient, the system boots up, gets DCHP from the DSL 
provider (or in other tests a local DHCP server), and otherwise works fine.

however, i couldn't figure out how to configure the default client to do 
dynamic DNS with TSIG, so i installed this port, as it seems to support it.

after installing the port, and testing with:

# killall dhclient ; sleep 10 ; /usr/local/sbin/dhclient -q sis0

i found i had a working config, which got an address, and updated my dns 
server.

however, when i reboot the machine, and let the rc scripts start it, i 
get the following:

Dec 10 14:13:49 <3.3> csas-uk dhclient: send_packet: Network is unreachable
Dec 10 14:13:49 <3.3> csas-uk dhclient: send_packet: please consult 
README file regarding broadcast address.

and, it doesn't initialize the network card nor get DHCP from the server.

i suspect this has something to do with the dhclient attempting and/or 
failing to initialize the ethernet interface.  i suspect the default 
dhclient doesn't bother testing or initializing the interface, just 
fires up bpf and goes to it.

can you look into this, and let me know if there is a work-around?

my configs:

rc.conf:
-----------------
ifconfig_sis0="DHCP"

dhcp_program="/usr/local/sbin/dhclient"
dhcp_flags="-q"
-----------------


/usr/local/etc/dhclient.conf
----------------
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;

key csas-uk.dyn.reptiles.org {
        algorithm HMAC-MD5;
        secret "<xxxxx>";
}

interface "sis0" {
        request subnet-mask, broadcast-address, routers, 
domain-name-servers,
        domain-name, host-name;
        require domain-name-servers;
        #media "media autoselect";
        media "";
        send fqdn.fqdn "csas-uk.dyn.reptiles.org";
        send fqdn.encoded on;
        send fqdn.server-update off;

        zone dyn.reptiles.org { key "csas-uk.dyn.reptiles.org"; }
}
----------------


More information about the freebsd-ports mailing list