[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Just being a newbie
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Just being a newbie
- From: Rémi Guyomarch <rguyom_(_at_)_pobox_(_dot_)_com>
- Date: Fri, 2 Mar 2001 15:05:30 +0100
On Fri, Mar 02, 2001 at 08:40:59AM -0500, Bonitatebus, Mark wrote:
> As a newcomer to the OpenBSD world I've done a lot of reading on man
> pages/newsgroups etc. I was able to set up an older box as router,
> firewall, nat and connect no problem to cable modem ISP. I have set up
> another OpenBSD machine and for the life of me cannot get it to connect to
> the outside world. I can ping internally when I try to ping outside I get
> no route to host. I have checked hosts file resolv.conf file I am missing
> something.
You need to put your default gateway (the internal IP of your older box)
in '/etc/mygate'.
>From afterboot(8) :
...
The default gateway address is stored in the /etc/mygate file. If you
need to edit this file, a painless way to reconfigure the network after-
wards is route flush followed by a sh -x /etc/netstart command. Or, you
may prefer to manually configure using a series of route add and route
delete commands (see route(8)).
...
--
Rémi
Visit your host, monkey.org