Maybe is this ...

#route add default gw IPgateway

Il 02/set/2017 21:14, "Branko Grubic" <bitlord0...@gmail.com> ha scritto:
>
> On Sat, 2 Sep 2017 11:54:48 -0700
> Ian Zimmerman <i...@very.loosely.org> wrote:
>
> > What is the exact syntax of the *_routes lines in the /etc/conf.d/net
> > file, or where is it documented?
> >
> > The wiki gives a couple of examples, but they are all either just for
> > dhcp (so no configurable routes) or else they are of the form
> >
> > eth0_routes="default via eth0"
> >
> > "via" is not something I can use on the command line of the route
> > command, at least according to its manpage.  So it can't be just
> > straight repetition of the command line.  But then, what is it?
> >
> > Motivation: I want to add a route for a point-to-point interface.
> >
>
> Some examples you can find
> in /usr/share/doc/netifrc-0.5.1/net.example.bz2
>
> Replace netifrc version with one installed on your system.
>
>

Reply via email to