Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 1998 21:58:20 -0400
From:      Alex Heiphetz <heiphetz@cvzoom.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Network/dhcp configuration
Message-ID:  <3.0.5.32.19980512215820.00993a60@cvzoom.net>

next in thread | raw e-mail | index | archive | help
Coming from the Linux world I'm having hell of a time
trying to configure network. If you could put me on the right
track, I'll be forever grateful.
Here is the situation:

* I installed OS without problems;
* Ethernet card is Kingston (de0);
* My provider gives out pretty long leases (>1 week), and since another 
  box is running Win95 and Linux, I can always find current IP, switch cable
  and use it as a static IP;
* I tried to configure network this way, without any luck (relevant
  parts of rc.config are enclosed below);
* I installed dhcp2 and was able to use it ONCE (for a day). After that
  I can't start it ever again;
* Connection itself is fine, I can test it using another box;
* During boot, after the card is found and correctly identified, I see
  the following messages:
  
  writing to routing socket: Network is unreachable
  add net default: gateway 208.226.154.1 is unreachable

The IP 208.226.154.1 does belong to gateway.
But I was able to run dhcp for a day with these same messages!

* while computer works, periodically I get messages like the one below:

May 12 17:43:34 lcl39 /kernel: de0: receive 00:aa:09:d6:ab: bad crc
               
lcl39 is name of the machine.
What is "bad crc?"  

* I can ping 127.0.0.1, after I manually add route to IP, I can
ping my IP. I CANNOT ping "localhost"

Below are relevant files/outputs. PLEASE, if you have any idea what 
is going on with either/or ststic IP network or dhcp, enlighten me.

Thanks,
A.Heiphetz
=============================================================
rc.conf (parts)
^^^^^^^^^^^^^^^^^^^^^^^^^
### Basic network options: ###
hostname="lcl39.cvzoom.net"	# Set this!
nisdomainname="NO"		# Set to NIS domain if using NIS (or NO).
firewall_enable="NO"		# Set to YES to enable firewall functionality
firewall_type="UNKNOWN"		# Firewall type (see /etc/rc.firewall)
firewall_quiet="NO"		# Set to YES to suppress rule display
tcp_extensions="YES"		# Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="de0 lo0"	# List of network interfaces 
ifconfig_de0="inet 208.226.155.39  netmask 255.255.255.0"
ifconfig_lo0="inet 127.0.0.1"	# default loopback device configuration. 

### Network routing options: ###
defaultrouter="208.226.154.1" # Set to default gateway (or NO).
static_routes=""		# Set to static route list (orleave empty).
gateway_enable="NO"		# Set to YES if this host will be a gateway.
router_enable="NO"		# Set to YES to enable a routing daemon.
router="routed"		# Name of routing daemon to use if enabled.
router_flags="-q"		# Flags for routing daemon.
=================
ifconfig -a
^^^^^^^^^^^
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 208.226.155.39 netmask 0xffffff00 broadcast 208.226.155.255
	ether 00:c0:f0:30:97:06 
	media: autoselect (10baseT/UTP) status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
==================



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?3.0.5.32.19980512215820.00993a60>