Date: Sun, 18 May 2003 23:46:42 -0700 From: Ryan Merrick <sandshrimp@attbi.com> To: Bob Hall <rjhalljr@starpower.net> Cc: freebsd-questions@freebsd.org Subject: Re: Cable modem & DHCP Message-ID: <3EC87DD2.2070401@attbi.com> In-Reply-To: <20030519001421.GB653@sten.alder.net> References: <20030518052814.GA484@sten.alder.net> <MIEPLLIBMLEEABPDBIEGCEGODNAA.barbish@a1poweruser.com> <20030519001421.GB653@sten.alder.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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" > > _______________________________________________ > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EC87DD2.2070401>