From owner-freebsd-questions@FreeBSD.ORG Sun May 18 23:48:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8795E37B401 for ; Sun, 18 May 2003 23:48:00 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAAC43F85 for ; Sun, 18 May 2003 23:47:57 -0700 (PDT) (envelope-from sandshrimp@attbi.com) Received: from attbi.com (12-231-125-23.client.attbi.com[12.231.125.23]) by attbi.com (sccrmhc02) with SMTP id <2003051906475600200ss8ase>; Mon, 19 May 2003 06:47:56 +0000 Message-ID: <3EC87DD2.2070401@attbi.com> Date: Sun, 18 May 2003 23:46:42 -0700 From: Ryan Merrick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030418 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bob Hall References: <20030518052814.GA484@sten.alder.net> <20030519001421.GB653@sten.alder.net> In-Reply-To: <20030519001421.GB653@sten.alder.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Cable modem & DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 06:48:00 -0000 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 { > > 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@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 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 ) >> 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" > > _______________________________________________ > 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" > What does your #/etc/dhclient.conf look like ? Ryan