Board logo

標題: 想問 clone 機後set fix ip 問題,thx [打印本頁]

作者: CyberSection    時間: 2019-1-8 14:42     標題: 想問 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
作者: shal    時間: 2019-1-8 15:54

用緊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
作者: cal22cal    時間: 2019-1-8 16:14

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

作者: CyberSection    時間: 2019-1-9 17:36

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

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


係,無錯,咁就麻煩,即係clone 完出來都係要edit set 返個mac address 落去
作者: cal22cal    時間: 2019-1-9 18:18

係,無錯,咁就麻煩,即係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 就知。
作者: 普羅    時間: 2019-1-11 21:19

用nmtui睇下點料
作者: CyberSection    時間: 2019-1-16 13:59

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





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2