マザーボードを交換した後、Debian 9の起動に失敗し、次のメッセージが表示されます。 「Raise network インターフェイスを起動できません。」

マザーボードを交換した後、Debian 9の起動に失敗し、次のメッセージが表示されます。 「Raise network インターフェイスを起動できません。」

私も同じ症状があります。ここしかし、設定が少し異なります。私のDebianサーバーはデータセンターにあるため、ローカルアクセスはなくリモートアクセスのみが可能です。

マザーボードが交換されているため、回復モードに入らないと、何らかの方法でサーバーにアクセスできなくなります。ここからディスクドライブをマウントしてファイルを確認できます。

だから起動ログ見せて

...
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
...

問題が何であるか、実際に根本的な原因を見つける方法がわかりません。だからここにいくつかの設定ファイルを公開します。マザーボードを変更していないため、マザーボードを交換する前と同じでなければなりません。

/etc/ネットワーク/インターフェース

auto lo
iface lo inet loopback
#
# device: eth0

auto eth0
iface eth0 inet static
    address  vvv.www.xxx.zzz
    netmask  255.255.255.224
    gateway  vvv.www.xxx.1

iface eth0 inet6 static
    address  xxxx:xxx:xxx:xxxx::x
    netmask  128
    gateway  xxxx::1
    up sysctl -p

auto vmbr0
iface vmbr0 inet static
    address  10.10.10.2
    netmask  255.255.255.0
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

    post-up echo 1 > /proc/sys/net/ipv4/ip_forward
    post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE

/etc/基本/ネットワーク

# Configuration for networking init script being run during
# the boot sequence

# Set to 'no' to skip interfaces configuration on boot
#CONFIGURE_INTERFACES=yes

# Don't configure these interfaces. Shell wildcards supported/
#EXCLUDE_INTERFACES=

# Set to 'yes' to enable additional verbosity
#VERBOSE=no

/etc/systemd/system/network-online.target.wants/networking.service

どこから見るべきかについての手がかりはありますか?

[Unit]
Description=Raise network interfaces
Documentation=man:interfaces(5)
DefaultDependencies=no
Wants=network.target
After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service systemd-modules-load.service
Before=network.target shutdown.target network-online.target
Conflicts=shutdown.target

[Install]
WantedBy=multi-user.target
WantedBy=network-online.target

[Service]
Type=oneshot
EnvironmentFile=-/etc/default/networking
ExecStartPre=-/bin/sh -c '[ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle'
ExecStart=/sbin/ifup -a --read-environment
ExecStop=/sbin/ifdown -a --read-environment --exclude=lo
RemainAfterExit=true
TimeoutStartSec=5min

アップデート1

root@chroot > ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet xxx.xx.xx.xx/xx brd xx.xx.xx.xx scope global eth0
       valid_lft forever preferred_lft forever
    inet6 xxxx:xxxx:xxx:xxxx::x/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::xxxx:xxxx:xxxx:xxxx/64 scope link 
       valid_lft forever preferred_lft forever

/etc/udev/rules.d/70-pertant-net.rules

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x1502 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="4c:72:b9:98:12:ab", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

ベストアンサー1

/etc/udev/rules.d/70-persistent-net.rules新しいイーサネットインターフェイス(現在の名前はeth1)と一致するように削除または変更します。

おすすめ記事