[opensuse] Question about how the default kernel of leap is compiled
Question is: does the Leap standard kernel has support for “policy routing” enabled? Thank you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
stakanov wrote:
Question is: does the Leap standard kernel has support for “policy routing” enabled? Thank you.
It's not really a kernel option, it's implemented by iproute2. -- Per Jessen, Zürich (8.8°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
In data sabato 28 ottobre 2017 10:42:06 CEST, Per Jessen ha scritto:
stakanov wrote:
Question is: does the Leap standard kernel has support for “policy routing” enabled? Thank you.
It's not really a kernel option, it's implemented by iproute2.
Well, to reformulate: I wish to set up a PC with two NICs and two default routes (multiple default routes). For this I guess I will have to create a separate table ( I am following this howto: https://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-route... Just I wondered wether there are major differences between the flow in Leap vs Gentoo (that was the base of the howto). So it seems that Leap has the Kernel already compiled with the right option... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
stakanov wrote:
In data sabato 28 ottobre 2017 10:42:06 CEST, Per Jessen ha scritto:
stakanov wrote:
Question is: does the Leap standard kernel has support for “policy routing” enabled? Thank you.
It's not really a kernel option, it's implemented by iproute2.
Well, to reformulate: I wish to set up a PC with two NICs and two default routes (multiple default routes). For this I guess I will have to create a separate table ( I am following this howto:
Yes, essentially you set up two routing tables, each with the default route you want. Then you use iptables to set some fwmark when the appropriate conditions have been met, and "ip rule" to select the routing table depending on the fwmark.
https://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-route... Just I wondered wether there are major differences between the flow in Leap vs Gentoo (that was the base of the howto). So it seems that Leap has the Kernel already compiled with the right option...
openSUSE has had it at least 11.0. (I have some production systems on 11.0 where I rely on this routing functionality). -- Per Jessen, Zürich (11.7°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2017-10-28 at 12:58 +0200, stakanov wrote:
In data sabato 28 ottobre 2017 10:42:06 CEST, Per Jessen ha scritto:
stakanov wrote:
Question is: does the Leap standard kernel has support for “policy routing” enabled? Thank you.
It's not really a kernel option, it's implemented by iproute2.
Well, to reformulate: I wish to set up a PC with two NICs and two default routes (multiple default routes). For this I guess I will have to create a separate table ( I am following this howto: https://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-route...
Just I wondered wether there are major differences between the flow in Leap vs Gentoo (that was the base of the howto). So it seems that Leap has the Kernel already compiled with the right option...
To find out which options were the current kernel compiled with, look into the virtual file "/proc/config.gz" ;-) - -- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAln1QFsACgkQtTMYHG2NR9UCxgCcDf18Jz1vlej+Y2RESDswZmA0 PTQAn34wgXEV/gcawaR5YhZB75xReCuL =mu0d -----END PGP SIGNATURE-----
In data domenica 29 ottobre 2017 03:43:39 CET, Carlos E. R. ha scritto:
On Saturday, 2017-10-28 at 12:58 +0200, stakanov wrote:
In data sabato 28 ottobre 2017 10:42:06 CEST, Per Jessen ha scritto:
stakanov wrote:
Question is: does the Leap standard kernel has support for “policy routing” enabled? Thank you.
It's not really a kernel option, it's implemented by iproute2.
Well, to reformulate: I wish to set up a PC with two NICs and two default routes (multiple default routes). For this I guess I will have to create a separate table ( I am following this howto: https://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-rou tes-in-linux/
Just I wondered wether there are major differences between the flow in Leap vs Gentoo (that was the base of the howto). So it seems that Leap has the Kernel already compiled with the right option...
To find out which options were the current kernel compiled with, look into the virtual file "/proc/config.gz" ;-)
-- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
# Networking options # CONFIG_PACKET=m CONFIG_PACKET_DIAG=m CONFIG_UNIX=y CONFIG_UNIX_DIAG=m CONFIG_XFRM=y CONFIG_XFRM_ALGO=m CONFIG_XFRM_USER=m CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y Thank you. How nice! So policy routing is activated. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Per Jessen
-
stakanov