0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VirtualBox でクローンすると ip address がおかしくなる現象について

Posted at

VirtualBox でクローンすると ip address がおかしくなる現象について、解決策のメモです。

    1. クローン対象のマシンを立ち上げます。
    2. 以下のファイルを削除します。
    /etc/udev/rules.d/70-persistent-net.rules
    3. マシンをシャットダウンします。
    # shutdown -h now
    4. クローンします(MAC アドレスを再初期化にチェックを入れますFULL CLONE)
    5. 作成されたマシンを立ち上げます
    6. /etc/udev/rules.d/70-persistent-net.rules を削除します。
    7. マシンを再起動します。
    8. ip a コマンドを実行して、MAC アドレスを記録しておきます。
    9. /etc/sysconfig/network-scripts/ifcfg-eth0, eth1 を編集して、
    記録した MAC アドレスに修正します。
    10. /etc/udev/rules.d/70-persistent-net.rules を削除します。
    11. マシンを再起動します。

以上となります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?