クーの自由研究

マスターのかえるのクーは、弟子達の召喚術により新たな依り代を得てⅡ世として復活しました。

ISSUE CODE:[ Butter_sugar_rusks_01]VMWareで多数のOSを簡単に固定アドレス化と名前解決したい

このページはお試しです。残すことになりました。

応援局の井戸中 花蓮です。

ファビコンこれにします。かこっいいかもです。これドラムの人のですよね?

f:id:UriKaren:20200724105841p:plain

芽守さまお手伝いよろしくお願いしますできますか?

手伝い完了ですが、聖に音楽の話題はタブーです。民族音楽(+プログレ)沼に引きずり込まれますよwww

ISSUE:Request:I want to resolve fixed addresses and names with VMWare as easily as possible.

You can use NAT network mode at VMWare.

If you can change the MAC address of the guest OS set, please set it in C:\ProgramData\VMware\vmnetdhcp.conf.

ゲストOSセットのMACアドレスを変更できる場合は、C:\ ProgramData \ VMware \ vmnetdhcp.confに設定します。

(1)In VMWare Launcher, confirm that the network mode of the hardware is "NAT" in the virtual machine settings of each guest OS.

(1)VMWare Launcherで、各ゲストOSの仮想マシン設定でハードウェアのネットワークモードが「NAT」であることを確認します。

f:id:AssistantOfKoo:20200724115317p:plainf:id:np2LKoo:20200724175016p:plain

(2)Change the hardware MAC address in the virtual machine settings of each guest OS of VMWare. (If you can change it freely, match the fourth octet of the IP address with the end of the MAC address for easier)

Create a change list in advance.

(2)VMWareの各ゲストOSの仮想マシン設定でハードウェアMACアドレスを変更します。 (自由に変更できる場合は、管理を容易にするために、IPアドレスの4番目のオクテットをMACアドレスの最後に一致させてください。)

事前に変更リストを作成してください。

f:id:AssistantOfKoo:20200724120625p:plainf:id:np2LKoo:20200724175143p:plain

(3)Set the MAC address and IP address pair in the conf file for each guest OS as follows.
In this case, do not use the last 1, 2, or 254 of the IP address.

(3)次のように、各ゲストOSのconfファイルにMACアドレスとIPアドレスのペアを設定します。この場合、IPアドレスの最後の1、2、及び254は使用しないでください。

vmnetdhcp.conf sample

...

host VMnet8 {
    hardware ethernet 00:50:56:C0:00:08;
    fixed-address 192.168.16.1;
    option domain-name-servers 0.0.0.0;
    option domain-name "";
    option routers 0.0.0.0;
}
host VMnet8-Lakhesis0 {
    hardware ethernet 00:0C:29:6F:C4:2C;
    fixed-address 192.168.16.44;
}
host VMnet8-Lakhesis {
    hardware ethernet 00:0C:29:6F:C4:90;
    fixed-address 192.168.16.144;
}
host VMnet8-Lakhesis2 {
    hardware ethernet 00:0C:29:6F:C4:F4;
    fixed-address 192.168.16.244;
}
# End

 

Note 1. In the default NAT configuration,
    the end "1" of the IP address is VMWare8 on the host side,
    the end "2" is the virtual gateway, the DNS server (WINS server in the case of Windows),
    and the end "254" is the default gateway. Become.

注1.デフォルトのNAT構成では、
    IPアドレスの最後の「1」はホスト側のVMWare8であり、
    最後の「2」は仮想ゲートウェイ、DNSサーバー(Windowsの場合はWINSサーバー)、
    末尾の「254」はデフォルトゲートウェイです。なる。

Note 2. The virtual DNS server tries to resolve the name using the hosts (file of the host OS).If it cannot be resolved, it will be forwarded to a higher DNS.

注2.仮想DNSサーバーは、ホスト(ホストOSのファイル)を使用して名前を解決しようとします。解決できない場合は、上位のDNSに転送されます。

(4)Register the IP address of each guest OS in the hosts (file of the host OS). In this use case, do not add the domain name to the host name.

(4)ホストOSに各ゲストOSのIPアドレスを登録します。この使用例では、ドメイン名をホスト名に追加しないでください。

C:\Windows\System32\drivers\etc\hosts   (Windows' /etc/hosts)

......
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost
192.168.16.44        Lakhesis0
192.168.16.144      Lakhesis
192.168.16.244      Lakhesis2

 

(5)Restart the VMWare service. Since the host OS is like Windows this time, execute the following. It is the same even if you use the GUI.

(5)VMWareサービスを再起動します。今回はホストOSがWindowsに似ているので以下を実行します。 GUIを使用して同じことを行うことができます。
Like this.

net stop VMAuthdService
net stop VMnetDHCP
net stop "VMware NAT Service"

net start "VMware NAT Service"
net start VMnetDHCP
net start VMAuthdService

(6)Start each guest OS and check that the IP address and MAC address are correct.
Make sure you can ping other guest OSs by name.

(6)各ゲストOSを起動し、IPアドレスとMACアドレスが正しいことを確認します。
他のゲストOSに名前でpingできることを確認します。

> ipconfig /all

$ ifconfig

With the above, setting of /etc/hosts in each guest OS is not required, and it can be controlled only by changing /etc/hosts and vmnetdhcp.conf of the host OS.

以上により、ゲストOSごとに/ etc / hostsを設定する必要がなくなり、ホストOSの/ etc / hostsを変更するだけで制御できるようになります

$ ping  [TargetHostname]

$ nslookup [TargetHostname]

 Windows' one is the same as Linux

ひとこと(h5の場合)

ひとこと(h7を使うので、範囲が可変)

当局は翻訳下手です。googleも下手です。はい、英語も日本語も翻訳です。

→みんな日本語下手なので、問題ありません。

(質問)それと名前は、援応局ですか、支援局ですか、またはサポート中央ですか?まだもっらてません。PDFでした。

→サポートセンター(仮)やめて、応援局にしますね。KarenのIDのほうにあわせます。「応援局」の名称は独自な感じがして好評です。

(お願い)ヤモリは5本指です。ヘッダ4本指かえるです。

f:id:np2LKoo:20200724161748p:plain →対応済。細部を調整してほしければ言ってください。 <h7>を使ってください。文字は要望通り、少し大きくしました。組み合わせで<h7>が「見出し行の扱いでなくなる」ケースがありますが、最後のコメントに使う範囲なら支障ないと思います。背景色は「王家の深紅」にしました。ヘッダー行イメージの注文が多くなれば汎用クラス定義しますが、今はh番号で切り替えてください。

(追加)イメージ英語でない、注文ありました。

→イメージ取得用の英語OS環境を準備します。通常使用は必ず日本語版でお願いします。

緑ありがとう。がんばります。失礼しました。

芽守さんいろいろありがとうございました。

→はい。お疲れさまでした。この欄のコメントはもう全部消していいですよ。記念に残しておいてもいいです。お任せします。