Ubuntuの起動時に Waiting for network configuration..が出る

スポンサーリンク
スポンサーリンク

Ubuntuの起動時に
Waiting for network configuration…
Waiting up to 60more seconds for network configuration…
と出て起動が遅くなっていました。
起動は遅いものの、その後は普通に通信できていました。これ、次のことが原因でした。

ネットワークカード2枚さしたPCで、ネットワークカードの設定で gateway を複数設定していたことが原因でした。
/etc/network/interfaces でゲートウェイがただ1つ設定されるようにするとOKです。

/etc/network/interfaces

auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.1.38
netmask 255.255.255.0
#gateway 192.168.1.254
dns-nameservers 192.168.1.254
iface eth1 inet static
address 10.0.8.28
netmask 255.255.255.192
gateway 10.0.8.254
dns-nameservers 10.0.8.1

コメント

タイトルとURLをコピーしました