Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 20:19:47 -0400 (EDT)
From:      Scott Nolde <scott@smnolde.com>
To:        Jeremy Cooper <jmcoop5@hotmail.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: DHCP not getting IP
Message-ID:  <20011027201735.T17576-100000@bsd.smnolde.com>
In-Reply-To: <F233vvQ0Puz63Bma4RC00005fb8@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jmcoop5@hotmail.com>
 >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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <half-duplex>)
 >
 >xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <half-duplex>)
 >
 >xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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




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