On Tue, Jun 06, 2017 at 03:53:10PM -0400, mabi wrote:

> Fantastic, that was an easy one. Somehow I missed that from the OpenBSD FAQ, 
> must have skimmed it too fast...
> 
> So I guess here that I can have my IPv4 default gw and IPv6 default gw both 
> on two different lines in the /etc/mygate file.

No guessing needed, see man mygate, it's all there

        -Otto

> 
> -------- Original Message --------
> Subject: Re: /etc/mygate equivalent for IPv6?
> Local Time: June 6, 2017 9:50 PM
> UTC Time: June 6, 2017 7:50 PM
> From: knight....@gmail.com
> To: Janne Johansson <icepic...@gmail.com>
> mabi <m...@protonmail.ch>, openbsd-misc <misc@openbsd.org>
> 
> for example:
> 
> fe80::1%carp0
> 
> :)
> 
> 2017-06-06 16:48 GMT-03:00 Janne Johansson <icepic...@gmail.com>:
> Just add the ipv6 gw ip to /etc/mygate.
> 
> 2017-06-06 21:45 GMT+02:00 mabi <m...@protonmail.ch>:
> 
> > Hi,
> >
> > What is the "standard" approach for adding an IPv6 default gateway to an
> > OpenBSD 6.1 machine analog to the /etc/mygate file for an IPv4 default
> > route?
> >
> > There are no /etc/mygate6 file and as such for now I manually run:
> >
> > route -n add -inet6 default <IPv6_GW>
> >
> > Regards,
> > Mabi
> 
> --
> May the most significant bit of your life be positive.

Reply via email to