I was *flush*ing the tables before *netstart*ing (and having the same issue,
if I recall correctly) before I read the netstart manpage. It looked to me
that *sh /etc/netstart*  "reset an existing if to its default state."

Am I reading that wrong?

Thanks for your help.

On Sun, Dec 14, 2008 at 10:55 AM, Claudio Jeker <cje...@diehard.n-r-g.com>wrote:

> On Sun, Dec 14, 2008 at 05:35:32PM +0100, Paul de Weerd wrote:
> > Hi Neal,
> >
> > On Sun, Dec 14, 2008 at 10:15:30AM -0600, Neal Hogan wrote:
> > | Hello,
> > |
> > | First, *sh /etc/netstart em0* (as root) looks as though it works . . .
> it
> > | says that the address is renewed and *ifconfig* output says that em0 is
> UP,
> > | RUNNING and active. Yet, I cannot get beyond my router. That is, I can
> log
> > | into my router but can't browse the web or log into another machine
> beyond
> > | my router.
> >
> > This sounds like an issue with your default gateway. What's in your
> > /etc/hostname.* and /etc/mygate ? Why are you running `sh
> > /etc/netstart em0` on a working system ? Was there an issue before you
> > were trying to fix ? If so, what issue (this may be related to the
> > problem you're seeing after the netstart of em0). At least show us
> > your routing table (netstat -rnf inet) after running netstart em0
> > (I'm betting these two bytes ('**') on a missing default gateway).
> >
>
> `sh /etc/netstart em0` does not update the default route. So most probably
> the default route is pointing to the wrong gateway.
>
> A saver approach to reconfigure the network is
> route -n flush
> sh /etc/netstart
>
> This fails to work in some cases (if the same networks is configured on
> multiple interfaces) and don't do this over the network on a remote
> machine.
>
> --
> :wq Claudio
>
>


-- 
www.nealhogan.net

Reply via email to