From owner-freebsd-questions Sat Jan 16 13:49:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26701 for freebsd-questions-outgoing; Sat, 16 Jan 1999 13:49:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26696 for ; Sat, 16 Jan 1999 13:49:53 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id NAA18236; Sat, 16 Jan 1999 13:50:21 -0800 (PST) Date: Sat, 16 Jan 1999 13:50:21 -0800 (PST) From: Dan Busarow To: "Dennis I. Kovarsky" cc: freebsd-questions@FreeBSD.ORG, kovarsky@home.com Subject: Re: networking In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 16 Jan 1999, Dennis I. Kovarsky wrote: > FreeBSD 3.0 installed. Bootup goes fine, recognizes the ethernet card at > ed1. Hooke up with a Motorolla WebSurfer to Shaw@Home (Rogers@Home). > default route, hostname (full name) are specified in rc.conf > > Pinging an IP address just sits there, no response at all. > Routed is running with a -q flag. Do not run routed. You do not need it. It can cause problems. > Pinging something like www.freebsd.com says 'no route to host' > > Gateway had been specified using /stand/sysinstall. In which file is that > setting located though? Everything you need is setup in /etc/rc.conf > What's wrong with the damn thing? > > ifconfig -a lists my ed and lo interfaces (along with serial and another > one or two which I'm gonna turn off later) fine, no problem there, ip > address is fine, so is the netmask. Are you sure? What does ifconfig ed1 say? > @Home hasn't changed an IP address on me yet, that's not the problem. > > netstat -rn shows: > > Routing tables > > Internet > Destination Gateway Flags Refs Use Notif Expire > default 24.65.123.1 UGSc 3 5 ed1 > 24.65.123/24 link#1 UC 0 0 ed1 > 24.65.123.1 8:0:3e:0:71:56 UHLW 2 0 ed1 1024 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > > OK, what the hell is 24.65.123/24 ?! My IP should be 24.65.123.47! > And in the next line, what is 8:0:3e:0:71:56? That is not my ethernet > address. Looks suspiciously like you assigned 24.65.123.1 to ed1 You will have an entry like this showing the router at the other end but if we assume this is that router then there are no entries left for you ethernet card and therefore you can't be talking to anyone. You need somethin like this in /etc/rc.conf network_interfaces="ed1 lo0" # List of network interfaces (lo0 is loopback). ifconfig_ed1="inet 24.65.123.47 netmask 255.255.255.0" ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. and further down in the same file defaultrouter="24.65.123.1" # Set to default gateway (or NO). router_enable="NO" # Set to YES to enable a routing daemon. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message