Cable modem & DHCP

Ryan Merrick sandshrimp at
Sun May 18 23:48:00 PDT 2003

Bob Hall wrote:
> On Sun, May 18, 2003 at 09:42:30AM -0400, JoeB wrote:
>>Are you using a crossover cable between the cable modem and your
>>FBSD box?
> Yes. The ethernet light comes on when both the modem and the computer 
> are running. That means that there's a connection at the link layer, so 
> the cable should be good. The light does not come on when I use a 
> "straight through" cable. 
> Additional info:
> $ less dhclient.leases
> lease {
>    <some info deleted>
>   renew 4 2003/5/15 10:59:57;
>   rebind 5 2003/5/16 13:59:57;
>   expire 5 2003/5/16 22:59:57;
> }
> The lease seems to have expired and dhclient hasn't updated it.
> I thought maybe the "default to deny" firewall might be stopping 
> dhclient from querying the DHCP server, so I compiled a 
> default-to-allow kernel as a test, but that didn't help. At some 
> point, dhclient was working, but I was wrapped up in another 
> problem and didn't notice, and I haven't been able to get it to 
> update the lease since. I did check to make sure that dhclient is 
> binding to port 68.
>>-----Original Message-----
>>From: owner-freebsd-questions at
>>[mailto:owner-freebsd-questions at]On Behalf Of Bob Hall
>>Sent: Sunday, May 18, 2003 1:28 AM
>>To: freebsd-questions at
>>Subject: Cable modem & DHCP
>>I'm trying to connect a FBSD box to a cable modem. I'm getting
>>the following message at startup immediately after the dmesg lines
>>relating to rlphy0:
>>        ifconfig: ioctl (SIOCDIFADDR): Can't assign requested
>>I assume that refers to
>>        ifconfig_rl0="DHCP"
>>but I have no idea how to fix it so that the address gets assigned.
>>The FBSD box is the gateway for my LAN, and I normally run NAT and
>>an ipfw firewall w/ tcp.blackhole and udp.blackhole set to 2, but
>>I've disabled NAT and the firewall and reset blackhole to 0 for both
>>protocols while I try to set up the cable modem. Can anyone tell me
>>how to assign the requested address?
>>configuration info:
>>$ uname -a
>>FreeBSD 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Dec
>>7 18:48:43 E
>>ST 2002     root at  i386
>>$ less rc.conf
>>network_interfaces="rl0 lo0"
>>named_flags="-b /etc/namedb/named.conf"
>>$ ifconfig rl0
>>        inet netmask 0xff000000 broadcast
>>        ether 00:40:05:80:44:4b
>>        media: Ethernet autoselect (100baseTX <full-duplex>)
>>        status: active
>>$ netstat -r
>>Routing tables
>>Destination        Gateway            Flags    Refs      Use  Netif
>>0                  link#4             UC          1        0    rl0
>>default          UGSc       26        3    rl0
>>      ff:ff:ff:ff:ff:ff  UHLWb       3        9    rl0
>>localhost          localhost          UH          0        2    lo0
>>freebsd-questions at mailing list
>>To unsubscribe, send any mail to
>>"freebsd-questions-unsubscribe at"
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"
What does your #/etc/dhclient.conf look like ?


More information about the freebsd-questions mailing list