Subject: RE: problems configuring network interface
To: NetBSD <netbsd-users@NetBSD.org>
From: McLean Pickett <McLean.Pickett@ptgcorp.com>
List: netbsd-users
Date: 12/17/2004 14:59:14
Looks more like a missing default gateway.

Assuming 192.168.0.1 is your router try adding
defaultroute=3D"192.168.0.1" to your rc.conf file.

<or>

You have a typo in the third octet of your IP as previously suggested.

Cheers,
McLean=20

-----Original Message-----
From: netbsd-users-owner@NetBSD.org
[mailto:netbsd-users-owner@NetBSD.org] On Behalf Of ipt@scraemon.org
Sent: Friday, December 17, 2004 2:05 PM
To: NetBSD
Subject: Re: problems configuring network interface

On Fri, Dec 17, 2004 at 10:24:30AM -0800, Ezequiel Reyes wrote:
> Well, yes, it was a ex0, I found it by looking dmesg has de guide=20
> sugests, I configured the interface and the a ping to the server ip in

> my network worked, so far so good. Then I filled the /etc/hosts with=20
> the ip-alias for the server which is the DNS in my local network and
configured:
>=20
> in /etc/hosts:
>=20
> 192.168.0.3    sionc.home.net
>=20
> 192.168.0.0    home.net
>=20
> in rc.conf:
>=20
> auto_ifconfig=3Dyes
>=20
> ifconfig_ne0=3D"inet 192.168.0.224 netmask 255.255.255.0"
>=20
>=20
>=20
> in resolv.conf:
>=20
> domain home.net
>=20
> #the DNS server in my lan
>=20
> nameserver 192.168.1.3

You have two different IP addresses for the server, 192.168.1.3 and
192.168.0.3.  This might be the problem.=20

--=20

Ian P. Thomas

Destiny is not a matter of chance, it is a matter of choice. It is not a
thing to be waited for, it is a thing to be achieved.

	- William Jennings Bryan