Hallo,
mein PC hat zwei Netzwerkkarten die ich mit Yast konfiguriere.
Karte eth1, extern DHCP funktioniert.
Karte eth0, intern mit virtuellen IP’s
$ cat ifcfg-eth0
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.0.99/24'
MTU=''
NAME='RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
IPADDR_0='192.168.0.110/24'
LABEL_0='english'
Die Datei ifcfg-eth0 wird von wicked gelesen, aber nicht aktiviert.
wicked --debug all ifup eth0
wicked: Reading config file /etc/wicked/client.xml
wicked: Reading config file /etc/wicked/common.xml
wicked: __ni_config_parse_ifconfig_source: Adding ifconfig firmware:
wicked: __ni_config_parse_ifconfig_source: Adding ifconfig compat:
wicked: __ni_config_parse_ifconfig_source: Adding ifconfig wicked:
wicked: Executing: wicked --debug all ifup eth0
:
:
wicked: subprocess 8800 (/etc/wicked/extensions/ibft) exited with status 0
wicked: ni_netconfig_firmware_discovery: buffer has 0 bytes
wicked: ni_sysconfig_read(/etc/sysconfig/network/config)
wicked: ni_sysconfig_read(/etc/sysconfig/network/dhcp)
wicked: Reading sysctl file '/boot/sysctl.conf-4.1.21-14-default'
wicked: Reading sysctl file '/usr/lib/sysctl.d/50-default.conf'
wicked: Reading sysctl file '/etc/sysctl.conf'
wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-eth1)
wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-lo)
wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-eth0)
wicked: ni_compat_generate_interfaces: compat:suse:/etc/sysconfig/network/ifcfg-eth1:0
wicked: ni_compat_generate_interfaces: compat:suse:/etc/sysconfig/network/ifcfg-lo:0
wicked: ni_compat_generate_interfaces: compat:suse:/etc/sysconfig/network/ifcfg-eth0:0
wicked: No valid configuration files found at /etc/wicked/ifconfig
wicked: wait 30 seconds for interfaces
wicked: Device hierarchy structure:
wicked: lo
wicked: eth1
wicked: eth0
wicked: eth0: hiring nanny
wicked: generate policy match for eth0 (type unknown)
wicked: <interface>
wicked: <name>eth0</name>
wicked: <control>
wicked: <mode>boot</mode>
wicked: </control>
wicked: <link/>
wicked: <ipv4>
wicked: <enabled>true</enabled>
wicked: <arp-verify>true</arp-verify>
wicked: </ipv4>
wicked: <ipv4:static>
wicked: <address>
wicked: <local>192.168.0.99/24</local>
wicked: </address>
wicked: <address>
wicked: <local>192.168.0.110/24</local>
wicked: <label>english</label>
wicked: </address>
wicked: </ipv4:static>
wicked: <ipv6>
wicked: <enabled>true</enabled>
wicked: </ipv6>
wicked: </interface>
wicked:
wicked: eth0: converting config into policy 'policy__eth0'
wicked: eth0: adding policy policy__eth0 to nanny
wicked: ni_dbus_client_open(bus_type=(null), bus_name=org.opensuse.Network.Nanny)
wicked: ni_dbus_connection_open(bus=system, name=)
wicked: Calling /org/opensuse/Network/Nanny.createPolicy(policy__eth0)
wicked: dbus error reply = org.opensuse.Network.PolicyExists (Policy already exists in call to /org/opensuse/Network/Nanny.createPolicy)
wicked: ni_dbus_translate_error(org.opensuse.Network.PolicyExists, msg=Policy already exists in call to /org/opensuse/Network/Nanny.createPolicy)
wicked: Call to /org/opensuse/Network/Nanny.createPolicy(policy__eth0) failed: Policy already exists
wicked: created /org/opensuse/Network/Nanny/Policy as child of /org/opensuse/Network/Nanny, class <anonymous>
wicked: created /org/opensuse/Network/Nanny/Policy/policy__eth0 as child of /org/opensuse/Network/Nanny/Policy, class <anonymous>
wicked: Calling /org/opensuse/Network/Nanny/Policy/policy__eth0.update()
wicked: ni_dbus_object_call_simple: /org/opensuse/Network/Nanny/Policy/policy__eth0.update(<policy name="policy__eth0" origin="compat:suse:/etc/sysconfig/network/ifcfg-eth0" uuid="4f424857-922c-0a00-5f22-000001000000">
<match>
<device>eth0</device>
</match>
<merge>
<name>eth0</name>
<control>
<mode>boot</mode>
</control>
<link/>
<ipv4>
<enabled>true</enabled>
<arp-verify>true</arp-verify>
</ipv4>
<ipv4:static>
<address>
<local>192.168.0.99/24</local>
</address>
<address>
<local>192.168.0.110/24</local>
<label>english</label>
</address>
</ipv4:static>
<ipv6>
<enabled>true</enabled>
</ipv6>
</merge>
</policy>
) = <none>
wicked: Successfully updated nanny policy /org/opensuse/Network/Nanny/Policy/policy__eth0
wicked: ni_dbus_object_free: deferring deletion of active object /org/opensuse/Network/Nanny/Policy/policy__eth0
wicked: eth0: nanny hired!
wicked: eth0: configuration applied to nanny
wicked: Calling /org/opensuse/Network/Nanny.recheck()
wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Nanny, if=org.opensuse.Network.Nanny, method=recheck)
wicked: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-exists
wicked: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-ready
wicked: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-setup
wicked: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=protocols-up
wicked: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=firewall-up
wicked: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-up
wicked: Interface wait time reached
wicked: received refresh for ready device lo (/org/opensuse/Network/Interface/1)
wicked: lo: refresh <client-state> control: persistent=true, usercontrol=false, require-link=auto
wicked: lo: refresh <client-state> config: origin=compat:suse:/etc/sysconfig/network/ifcfg-lo, uuid=095f8557-c57b-5a19-ab50-6673e37898c3, owner-uid=4294967295
wicked: received refresh for ready device eth1 (/org/opensuse/Network/Interface/2)
wicked: eth1: refresh <client-state> control: persistent=false, usercontrol=false, require-link=auto
wicked: eth1: refresh <client-state> config: origin=compat:suse:/etc/sysconfig/network/ifcfg-eth1, uuid=ba1ae3f0-8671-595f-97af-3e93bbf2655c, owner-uid=4294967295
wicked: received refresh for ready device eth0 (/org/opensuse/Network/Interface/3)
wicked: eth0: refresh <client-state> control: persistent=false, usercontrol=false, require-link=auto
wicked: eth0: refresh <client-state> config: origin=compat:suse:/etc/sysconfig/network/ifcfg-eth0, uuid=d7bc959a-370b-5c92-90af-43d4300550fa, owner-uid=4294967295
wicked: received refresh for ready device lo (/org/opensuse/Network/Interface/1)
wicked: lo: refresh <client-state> control: persistent=true, usercontrol=false, require-link=auto
wicked: lo: refresh <client-state> config: origin=compat:suse:/etc/sysconfig/network/ifcfg-lo, uuid=095f8557-c57b-5a19-ab50-6673e37898c3, owner-uid=4294967295
wicked: received refresh for ready device eth1 (/org/opensuse/Network/Interface/2)
wicked: eth1: refresh <client-state> control: persistent=false, usercontrol=false, require-link=auto
wicked: eth1: refresh <client-state> config: origin=compat:suse:/etc/sysconfig/network/ifcfg-eth1, uuid=ba1ae3f0-8671-595f-97af-3e93bbf2655c, owner-uid=4294967295
wicked: received refresh for ready device eth0 (/org/opensuse/Network/Interface/3)
wicked: eth0: refresh <client-state> control: persistent=false, usercontrol=false, require-link=auto
wicked: eth0: refresh <client-state> config: origin=compat:suse:/etc/sysconfig/network/ifcfg-eth0, uuid=d7bc959a-370b-5c92-90af-43d4300550fa, owner-uid=4294967295
eth0 setup-in-progress
wicked: Exit with status: 162
Wieso wird die virtuelle IP von wicked nicht aktiviert?
Unter openSUSE 3.1 hat diese Einstellungen einwandfrei funktioniert.
Grüße
Wega