From owner-freebsd-questions Tue May 12 19:01:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19938 for freebsd-questions-outgoing; Tue, 12 May 1998 19:01:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cvzoom.net ([208.226.154.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19913 for ; Tue, 12 May 1998 19:01:39 -0700 (PDT) (envelope-from heiphetz@cvzoom.net) Received: from buba (lcl39.cvzoom.net [208.226.155.39]) by ns.cvzoom.net (8.9.0.Beta5/8.9.0.Beta5) with SMTP id VAA20196 for ; Tue, 12 May 1998 21:55:43 -0400 (EDT) Message-Id: <3.0.5.32.19980512215820.00993a60@cvzoom.net> X-Sender: heiphetz@cvzoom.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 12 May 1998 21:58:20 -0400 To: freebsd-questions@FreeBSD.ORG From: Alex Heiphetz Subject: Network/dhcp configuration Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 mtu 1500 lo0: flags=8049 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