On 09/12/2018 08:37 AM, Per Jessen wrote:
ken wrote:
ken wrote:
Leap15 - I noticed today that yast prefers writing route configs to 'ifroute-ethx' instead of just 'routes'. I prefer using 'routes' - any reason I shouldn't ? If you want it to *not* work, then using 'ifroute-ethx' would be
On 09/10/2018 03:59 AM, Per Jessen wrote: preferable.
Oh. :-)
Well, I've moved my route config to /etc/sysconfig/network/routes and that works, as it always have. I'll stick to that. Glad you took my sardonic phrasing with humor. It was intended to
On 09/11/2018 02:18 AM, Per Jessen wrote: point out that, for some reason, using the same code in each of those files, ifroute-[iface] doesn't work and hasn't for a long time... that from my experience. I went and looked it up - the syntax should be exactly the same, from "man routes": "Both files use the same syntax".
True.
This is what I have in routes:
default 185.85.248.1 - eth1 default fe80::1 - eth1
Copied straight from ifroute-eth1.
I'm pretty sure you need to specify netmasks in both of those lines... either in CIDR notation in the first field or (old school) in place of your dashes. Also, I looked harder at those configs and the docs, rejiggered things, and got both configs working, i.e., both ifroute-eth0 and routes files. Is "route" (or whatever "ip" command you use) now showing you that you have what you need? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org