Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 13:50:21 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        "Dennis I. Kovarsky" <kovarsky@duke.usask.ca>
Cc:        freebsd-questions@FreeBSD.ORG, kovarsky@home.com
Subject:   Re: networking
Message-ID:  <Pine.BSF.3.96.990116134040.8193G-100000@java.dpcsys.com>
In-Reply-To: <Pine.OSF.4.05.9901161422150.10176-100000@duke.usask.ca>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990116134040.8193G-100000>