On Wed, 24 Sep 2014 18:29:04 +0200 Grozdan <neutrino8@gmail.com> wrote:
Hi,
I'm having an issue with wicked on openSUSE 13.1. I have two NICs, enp3s0 and enp4s0. The first one is connected to a switch which itself is connected to the cable modem. The second NIC is connected to my router which itself is also connected to the switch. When I start wicked with systemctl start wicked it , I suspect, starts the second NIC (enp4s0) first, then the first NIC (enp3s0) as last. This makes it that my internet connection goes through the second NIC somehow. I can check that easily by using some IP site which displays the address, and it reports the public address of the router so my internet really goes through the second NIC. I would like that wicked starts the enp3s0 first and then enp4s0
My current workaround is to stop everything, then start enp3s0 with wicked ifup enp3s0 and then the enp4s0 NIC. Then when I go to an IP site, it reports the correct address being used, which is that of my first enp3s0 NIC and not from the second/router one
How to make it work without manually doing the above every time?
Please CC me as I'm not subscribed
Hi, First thing that comes to mind is: change the STARTMODE= param of enp4s0 to STARTMODE="manual" and after systemctl start wicked, run additional wicked ifup enp4s0. But I guess the problem here is with default route, isn't it? So add DHCLIENT_SET_DEFAULT_ROUTE="yes" to ifcfg-eno3s0 and DHCLIENT_SET_DEFAULT_ROUTE="no" to eno4s0. -- Best Regards, Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de>, Linux System Developer SUSE LINUX Products GmbH GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstr. 5 / D-90409 Nürnberg / Phone: +49-911-740 53 - 613 -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org