[gentoo-user] Re: conf.d/net routes

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 22:01, Mick wrote: > ip route add 10.0.0.0/8 via 192.168.0.1 dev eth0 Ah, that's where the "via" comes from. I didn't realize when I wrote my OP that iproute2 would be used by default, and not the old route program from net-tools. Thanks. -- Please don't Cc: me privately on

[gentoo-user] Re: conf.d/net routes

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 21:05, Simon Thelen wrote: > > Motivation: I want to add a route for a point-to-point interface. > You probably only need to list the peer address on a single line and > then that peer should become routable. The problem was that _two_ routes were being added: the host-specific

[gentoo-user] Re: conf.d/net routes

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 21:11, Branko Grubic wrote: > > 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 That didn't really help much, sorry. I figured out how to do it, but only by reading the shell code