eth0を目標に設定できないのはなぜですか?

eth0を目標に設定できないのはなぜですか?

これは私の/etc/network/interfacesファイルです。

auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1

auto wlan0
iface wlan0 inet manual
wpa-driver nl80211
wpa-roam /etc/wpa_supplicant.conf
iface default inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

自宅のワイヤレスルーターでWi-Fiをオフにすると、eth0が有効になります。
しかし、なぜIPが192.168.1.101ではないのですか?
ifconfig コマンドは別の IP を表示します。

ベストアンサー1

同じIPアドレスだけでなく、2つの異なるネットワーク/インターフェイスに同じネットワークを提供することはできません。

おすすめ記事