From owner-freebsd-questions Sat Oct 27 17:20: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (rr-163-54-1.atl.mediaone.net [24.163.54.1]) by hub.freebsd.org (Postfix) with ESMTP id 488D137B403 for ; Sat, 27 Oct 2001 17:19:54 -0700 (PDT) Received: from bsd.smnolde.com ([192.168.10.7] helo=bsd) by smnolde.com with esmtp (Exim 3.30 #1) id 15xdg4-000Hmt-00; Sat, 27 Oct 2001 20:19:48 -0400 Date: Sat, 27 Oct 2001 20:19:47 -0400 (EDT) From: Scott Nolde To: Jeremy Cooper Cc: Subject: Re: DHCP not getting IP In-Reply-To: Message-ID: <20011027201735.T17576-100000@bsd.smnolde.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG man dhcp.conf for a good example of how to 'spoof' a MAC address of a NIC card. - Scott smacked into the keyboard previously by owner-freebsd-questions@FreeBSD.ORG: >Date: Fri, 26 Oct 2001 00:12:06 +0000 >From: Jeremy Cooper >To: freebsd-questions@FreeBSD.ORG >Subject: DHCP not getting IP > >I have been trying to set up my first freebsd box using dhcp. I have tried >a few things but I am unable to get an IP address >from my ISP, Starpower via cable modem. I have tried a few things but I am >stuck right now. Does anyone have any >suggestions. I am running version 4.4 of freebsd on a Dell Pentium 1. Here >are some of my configs: > >This is the ifconfig w/ the cable modedm plugged in. > >gateway# ifconfig >xl0: flags=8843 mtu 1500 > inet 10.111.111.1 netmask 0xffffff00 broadcast 10.111.111.255 > ether 00:50:da:20:66:48 > media: Ethernet 10baseT/UTP (10baseT/UTP ) > >xl1: flags=8843 mtu 1500 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > ether 00:c0:4f:bd:1d:46 > media: Ethernet autoselect (10baseT/UTP) > status: active >lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > > >gateway# ps -aux|grep dhc >root 244 0.0 2.1 1060 620 p0 S+ 9:06AM 0:00.01 grep dhc >root 124 0.0 1.2 528 360 ?? Ss 9:01AM 0:00.00 >/sbin/dhclient xl1 > >gateway# more rc.conf > ># -- sysinstall generated deltas -- # Thu Sep 20 10:49:51 2001 ># Created: Thu Sep 20 10:49:51 2001 ># Enable network daemons for user convenience. ># Please make all changes to this file, not to /etc/defaults/rc.conf. ># This file now contains just the overrides from /etc/defaults/rc.conf. >gateway_enable="YES" >firewall_type="open" >firewall_enable="YES" >hostname="gateway.jcali.net" >ifconfig_xl1="DHCP" >ifconfig_xl0="inet 10.111.111.1 netmask 255.255.255.0" >kern_securelevel_enable="NO" >moused_enable="YES" >sendmail_enable="NO" >sshd_enable="YES" >network_interfaces="lo0 xl0 xl1" > > > >------------ >Here is the ifconfig with the cable modem not plugged in. Notice the >status of xl1. > >gateway# ifconfig >xl0: flags=8843 mtu 1500 > inet 10.111.111.1 netmask 0xffffff00 broadcast 10.111.111.255 > ether 00:50:da:20:66:48 > media: Ethernet 10baseT/UTP (10baseT/UTP ) > >xl1: flags=8843 mtu 1500 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > ether 00:c0:4f:bd:1d:46 > media: Ethernet autoselect (none) > status: no carrier >lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message