Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <F233vvQ0Puz63Bma4RC00005fb8@hotmail.com>

next in thread | raw e-mail | index | archive | help
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




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