想問 clone 機後set fix ip 問題,thx

用緊ubuntu 14.04 / 14.10,
用clonezilla 做佐image,
已起 /etc/network/interface file 打了eth0 eth1 network fix ip  config,
如果restore 起同一部機是沒問題,
但當restore 去其他同款機,
雖然起terminal 打ifconfig 係正常,
但賁際全錯,eth0 會變了eth 4, fix ip 變了dhcp,
想問除了restore 人手再config 內,有冇方法restore完可以唔洗再改?
thx

用緊ubuntu 14.04 / 14.10,
用clonezilla 做佐image,
已起 /etc/network/interface file 打了eth0 eth1 net ...
CyberSection 發表於 2019-1-8 14:42



    TIPS : add Mac addr on interface config

TOP

個問題係轉機之後,想保持係 eht0?
https://askubuntu.com/questions/ ... s-name-ubuntu-16-04
試吓呢個:-
  1. GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
複製代碼

TOP

個問題係轉機之後,想保持係 eht0?

試吓呢個:-
cal22cal 發表於 2019-1-8 16:14


係,無錯,咁就麻煩,即係clone 完出來都係要edit set 返個mac address 落去

TOP

係,無錯,咁就麻煩,即係clone 完出來都係要edit set 返個mac address 落去
CyberSection 發表於 2019-1-9 17:36

唔洗搞 mac。
我都用過呢個 kernel parameter,
佢會用返舊時方式 assign network card,你响
1. clone 之前 set 咗,再行一次 update-grub, or
2.新機(而家唔係 eth0)試吓,reboot 就知。

TOP

用nmtui睇下點料

TOP

已知個問題,原來有D機本身有fiber network ,有d 冇,有果D機clone 完變佐fiber lan 係eth0,正常情況clone 完restore 係固定eth0 /1 都係果個ip.

TOP