Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 09:42:30 -0400
From:      "JoeB" <barbish@a1poweruser.com>
To:        "Bob Hall" <rjhalljr@starpower.net>, <freebsd-questions@freebsd.org>
Subject:   RE: Cable modem & DHCP
Message-ID:  <MIEPLLIBMLEEABPDBIEGCEGODNAA.barbish@a1poweruser.com>
In-Reply-To: <20030518052814.GA484@sten.alder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Are you using a crossover cable between the cable modem and your
FBSD box?

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Bob Hall
Sent: Sunday, May 18, 2003 1:28 AM
To: freebsd-questions@freebsd.org
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
address.

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 sten.alder.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Dec
7 18:48:43 E
ST 2002     root@sten.alder.net:/usr/src/sys/compile/STEN2  i386

$ less rc.conf
hostname="sten.alder.net"
inetd_enable="YES"

network_interfaces="rl0 lo0"
ifconfig_rl0="DHCP"
ifconfig_lo0="inet 127.0.0.1"

kern_securelevel_enable="NO"
firewall_enable="NO"

named_enable="YES"
named_flags="-b /etc/namedb/named.conf"

portmap_enable="YES"

$ ifconfig rl0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        ether 00:40:05:80:44:4b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

$ netstat -r
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif
Expire
0                  link#4             UC          1        0    rl0
=>
default            192.168.0.1        UGSc       26        3    rl0
0.255.255.255      ff:ff:ff:ff:ff:ff  UHLWb       3        9    rl0
localhost          localhost          UH          0        2    lo0

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGCEGODNAA.barbish>