Subject: Networking problem.
To: None <netbsd-help@netbsd.org>
From: Richard Rauch <rauch@rice.edu>
List: netbsd-help
Date: 11/27/2002 18:50:43
For about a year, I've been using a dynamic IP DSL link to the internet.
Recently, I switched it over to static IP (they just upgraded my access
today).  I have found some changes need to be made (some of which I'm not
sure how to go about).  The biggie, for posterity's sake:

 * With statipc IP on DSL, you just assign one of your IP numbers to your
   ethernet card (the one talking to the DSL modem) and pretend that
   you're on a big LAN.  (I.e., *no*pppoe*required*.)

Okay, so now I'm running with one machine (my former gateway) online.
This machine used to do PPPoE and use NAT to let my other machines get
online.

I'm told that I'm supposed to use DHCP to get my host configuration
parameters.  DHCP doesn't work for me.  It eventually times out without
appearing to do anything.  Here's a sample:

 /~~~ dhclient rtk0

prometheus# dhclient rtk0
Internet Software Consortium DHCP Client V3.0rc10
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on BPF/rtk0/00:40:f4:2f:4d:e8
Sending on   BPF/rtk0/00:40:f4:2f:4d:e8
Sending on   Socket/fallback
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on rtk0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
prometheus#
prometheus# ps aSux | grep -i dhc
root 257  0.0  0.2 812   312 ?? Ss    6:02PM 0:00.00 dhclient rtk0
root 259  0.0  0.3 160   512 p0 S+    6:04PM 0:00.01 grep -i dhc

 \___ dhclient rtk0

After that, I killed dhclient.

It isn't critical that I use dhclient; I can statically bind things
(assuming that my ISP never changes things like nameservers or renumbers
static IP clients---something that HAS happened to me with a static IP
account in the past).

Any ideas?


  ``I probably don't know what I'm talking about.'' --rauch@math.rice.edu