您尚未登录。

#1 2020-06-05 10:35:37

龙尘飘
会员
注册时间: 2016-03-14
帖子: 60

启用ipv6之后一直报“网络激活失败”

启用ipv6之后一直报“网络激活失败”,每秒闪一次“网络激活失败”的弹出通知,禁用ipv6之后正常。

/etc/NetworkManager/NetworkManager.conf配置文件为空白

journalctl -u NetworkManager输出为:
6月 05 10:18:09 LoogCP NetworkManager[428]: <info>  [1591323489.4733] manager: NetworkManager state is now CONNECTED_GLOBAL
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9312] dhcp6 (enp2s0): activation: beginning transaction (timeout in 45 seconds)
6月 05 10:18:10 LoogCP NetworkManager[428]: <warn>  [1591323490.9313] device (enp2s0): failure to start DHCPv6: failed to start client: 地址已在使用
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9313] device (enp2s0): state change: activated -> failed (reason 'dhcp-start-failed', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9318] manager: NetworkManager state is now DISCONNECTED
6月 05 10:18:10 LoogCP NetworkManager[428]: <warn>  [1591323490.9329] device (enp2s0): Activation: failed for connection '配置 1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9341] device (enp2s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9517] dhcp4 (enp2s0): canceled DHCP transaction
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9517] dhcp4 (enp2s0): state changed bound -> done
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9663] policy: auto-activating connection '配置 1' (db2af9b9-d99e-4553-ad64-77850ffedb91)
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9672] device (enp2s0): Activation: starting connection '配置 1' (db2af9b9-d99e-4553-ad64-77850ffedb91)
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9673] device (enp2s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9718] manager: NetworkManager state is now CONNECTING
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9719] device (enp2s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9724] device (enp2s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9726] dhcp4 (enp2s0): activation: beginning transaction (timeout in 45 seconds)
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9782] dhcp4 (enp2s0): option dhcp_lease_time      => '43200'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9782] dhcp4 (enp2s0): option domain_name          => 'lan'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option domain_name_servers  => '192.168.1.1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option expiry               => '1591366690'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option host_name            => 'LoogCP'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option ip_address           => '192.168.1.6'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option next_server          => '192.168.1.1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_broadcast_address => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_domain_name => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_domain_name_servers => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_domain_search => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_host_name  => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_interface_mtu => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_ms_classless_static_routes => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_nis_domain => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_nis_servers => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_ntp_servers => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_rfc3442_classless_static_routes => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_root_path  => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9783] dhcp4 (enp2s0): option requested_routers    => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): option requested_static_routes => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): option requested_subnet_mask => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): option requested_time_offset => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): option requested_wpad       => '1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): option routers              => '192.168.1.1'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): option subnet_mask          => '255.255.255.0'
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9784] dhcp4 (enp2s0): state changed unknown -> bound
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9791] device (enp2s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9833] device (enp2s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9835] device (enp2s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9838] manager: NetworkManager state is now CONNECTED_LOCAL
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9844] manager: NetworkManager state is now CONNECTED_SITE
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9844] policy: set '配置 1' (enp2s0) as default for IPv4 routing and DNS
6月 05 10:18:10 LoogCP NetworkManager[428]: <info>  [1591323490.9891] device (enp2s0): Activation: successful, device activated.
6月 05 10:18:11 LoogCP NetworkManager[428]: <info>  [1591323491.5108] manager: NetworkManager state is now CONNECTED_GLOBAL
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9317] dhcp6 (enp2s0): activation: beginning transaction (timeout in 45 seconds)
6月 05 10:18:12 LoogCP NetworkManager[428]: <warn>  [1591323492.9317] device (enp2s0): failure to start DHCPv6: failed to start client: 地址已在使用
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9318] device (enp2s0): state change: activated -> failed (reason 'dhcp-start-failed', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9323] manager: NetworkManager state is now DISCONNECTED
6月 05 10:18:12 LoogCP NetworkManager[428]: <warn>  [1591323492.9333] device (enp2s0): Activation: failed for connection '配置 1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9348] device (enp2s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9483] dhcp4 (enp2s0): canceled DHCP transaction
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9484] dhcp4 (enp2s0): state changed bound -> done
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9719] policy: auto-activating connection '配置 1' (db2af9b9-d99e-4553-ad64-77850ffedb91)
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9726] device (enp2s0): Activation: starting connection '配置 1' (db2af9b9-d99e-4553-ad64-77850ffedb91)
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9727] device (enp2s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9729] manager: NetworkManager state is now CONNECTING
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9730] device (enp2s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9733] device (enp2s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9734] dhcp4 (enp2s0): activation: beginning transaction (timeout in 45 seconds)
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option dhcp_lease_time      => '43200'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option domain_name          => 'lan'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option domain_name_servers  => '192.168.1.1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option expiry               => '1591366692'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option host_name            => 'LoogCP'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option ip_address           => '192.168.1.6'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option next_server          => '192.168.1.1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option requested_broadcast_address => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9817] dhcp4 (enp2s0): option requested_domain_name => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_domain_name_servers => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_domain_search => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_host_name  => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_interface_mtu => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_ms_classless_static_routes => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_nis_domain => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_nis_servers => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_ntp_servers => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_rfc3442_classless_static_routes => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_root_path  => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_routers    => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_static_routes => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_subnet_mask => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_time_offset => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9818] dhcp4 (enp2s0): option requested_wpad       => '1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9819] dhcp4 (enp2s0): option routers              => '192.168.1.1'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9819] dhcp4 (enp2s0): option subnet_mask          => '255.255.255.0'
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9819] dhcp4 (enp2s0): state changed unknown -> bound
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9908] device (enp2s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9932] device (enp2s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9934] device (enp2s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9937] manager: NetworkManager state is now CONNECTED_LOCAL
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9943] manager: NetworkManager state is now CONNECTED_SITE
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9943] policy: set '配置 1' (enp2s0) as default for IPv4 routing and DNS
6月 05 10:18:12 LoogCP NetworkManager[428]: <info>  [1591323492.9969] device (enp2s0): Activation: successful, device activated.

离线

#2 2020-08-01 01:00:26

Mr.Zero00
会员
注册时间: 2020-08-01
帖子: 2

Re: 启用ipv6之后一直报“网络激活失败”

遇到同样的问题,请问楼上解决了吗?

离线

#3 2020-08-02 15:13:56

Mr.Zero00
会员
注册时间: 2020-08-01
帖子: 2

Re: 启用ipv6之后一直报“网络激活失败”

sudo dhclient -6 -N enp3s0f1  可以获得ipv6地址

离线

页脚