Changes between Version 6 and Version 7 of TipAndDoc/VM/VMware/Server/Networking


Ignore:
Timestamp:
Jun 21, 2010 12:40:39 PM (14 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/VMware/Server/Networking

    v6 v7  
    2727. vmnet8 is a NAT network on private subnet 192.168.81.0. 
    2828}}} 
     29 
     30 == add isolated networks == 
     31 * sudo vmware-config.pl 
     32{{{ 
     33Would you like to skip networking setup and keep your old settings as they are? 
     34(yes/no) [yes] no 
     35 
     36(snip) 
     37 
     38Would you prefer to modify your existing networking configuration using the 
     39wizard or the editor? (wizard/editor/help) [wizard] help 
     40 
     41The wizard will present a series of questions that will help you quickly add 
     42new virtual networks.  However, you cannot remove networks or edit existing 
     43networks with the wizard.  To remove or edit existing networks, you should use 
     44the editor. 
     45}}} 
     46 
     47 * wizardでは、Bridge, NAT, host-onlyの設定しかできず、Workstationにおける「チーム LAN セグメント」を追加することが出来ないので、editorを選択する。 
     48{{{ 
     49Would you prefer to modify your existing networking configuration using the 
     50wizard or the editor? (wizard/editor/help) [help] editor 
     51 
     52The following virtual networks have been defined: 
     53 
     54. vmnet0 is bridged to eth0 
     55. vmnet1 is a host-only network on private subnet 172.16.211.0. 
     56. vmnet8 is a NAT network on private subnet 192.168.81.0. 
     57 
     58Do you wish to make any changes to the current virtual networks settings? 
     59(yes/no) [no] yes 
     60 
     61Which virtual network do you wish to configure? (0-254) 2 
     62 
     63What type of virtual network do you wish to set vmnet2? 
     64(bridged,hostonly,nat,none) [none] b 
     65 
     66Configuring a bridged network for vmnet2. 
     67 
     68Please specify a name for this network. 
     69[Bridged] Bridged to none 
     70 
     71All your ethernet interfaces are already bridged.  Are you sure you want to 
     72configure a bridged ethernet interface for vmnet2? (yes/no) [no] yes 
     73 
     74Your computer has the following ethernet devices: eth0. Which one do you want 
     75to bridge to vmnet2? [eth0] none 
     76 
     77The following virtual networks have been defined: 
     78 
     79. vmnet0 is bridged to eth0 
     80. vmnet1 is a host-only network on private subnet 172.16.211.0. 
     81. vmnet2 is bridged to none 
     82. vmnet8 is a NAT network on private subnet 192.168.81.0. 
     83 
     84Do you wish to make additional changes to the current virtual networks 
     85settings? (yes/no) [yes] 
     86 
     87Which virtual network do you wish to configure? (0-254) 3 
     88 
     89What type of virtual network do you wish to set vmnet3? 
     90(bridged,hostonly,nat,none) [none] 
     91 
     92The following virtual networks have been defined: 
     93 
     94. vmnet0 is bridged to eth0 
     95. vmnet1 is a host-only network on private subnet 172.16.211.0. 
     96. vmnet2 is bridged to none 
     97. vmnet8 is a NAT network on private subnet 192.168.81.0. 
     98 
     99Do you wish to make additional changes to the current virtual networks 
     100settings? (yes/no) [yes] no 
     101 
     102(snip) 
     103}}} 
     104   * 「none」という存在しないデバイスへブリッジされた仮想ネットワークvmnet2が作成される 
     105 * ls /dev/vmnet* 
     106{{{ 
     107crw------- 1 root root 119, 0 2010-06-08 16:59 /dev/vmnet0 
     108crw------- 1 root root 119, 1 2010-06-08 16:59 /dev/vmnet1 
     109crw------- 1 root root 119, 2 2010-06-08 17:01 /dev/vmnet2 
     110crw------- 1 root root 119, 3 2010-06-08 16:59 /dev/vmnet3 
     111crw------- 1 root root 119, 4 2010-06-08 16:59 /dev/vmnet4 
     112crw------- 1 root root 119, 5 2010-06-08 16:59 /dev/vmnet5 
     113crw------- 1 root root 119, 6 2010-06-08 16:59 /dev/vmnet6 
     114crw------- 1 root root 119, 7 2010-06-08 16:59 /dev/vmnet7 
     115crw------- 1 root root 119, 8 2010-06-08 16:59 /dev/vmnet8 
     116crw------- 1 root root 119, 9 2010-06-08 16:59 /dev/vmnet9 
     117}}} 
     118   * これらは、vmware-config.pl内で「Do you want networking for your virtual machines? (yes/no/help) [yes]」と応えた際に自動的に作成される。 
     119 * VMware Infrastructure Clientによる設定画面 
     120   * attachment:10nics.png 
     121 * web UIでは、「Bridged to none」デバイスのみが追加されたように見える 
     122   * attachment:only4nics_appear_in_web.png 
     123 
     124 * 再起動すると、vmnet2以外は消えてしまう 
     125   * sudo reboot 
     126   * ll /dev/vmnet* 
     127{{{ 
     128crw------- 1 root root 119, 0 2010-06-08 17:30 /dev/vmnet0 
     129crw------- 1 root root 119, 1 2010-06-08 17:30 /dev/vmnet1 
     130crw------- 1 root root 119, 2 2010-06-08 17:30 /dev/vmnet2 
     131crw------- 1 root root 119, 8 2010-06-08 17:30 /dev/vmnet8 
     132}}} 
     133   * attachment:only_vmnet2_is_remained.png 
     134 
     135 === VI Clientからの設定 === 
     136 * vmware-config.plからは特に操作されていないvmnet9に対して、再起動前にVI Clientから操作を行った場合も、再起動後には消えてしまう 
     137   1. attachment:vmnet9-1-property.png 
     138     * Port Groupが設定されていない 
     139   1. attachment:vmnet9-2-add_port.png 
     140     * VMとの接続に使う仮想ネットワークとしての選択肢が提示される 
     141     * これがESXiであれば、ESXiのManager Networkとして使う選択肢も提示される 
     142   1. attachment:vmnet9-3-network_label.png 
     143     * Network Labelの設定 
     144   1. attachment:vmnet9-4-new_label.png 
     145     * Labelを適当に設定 
     146   1. attachment:vmnet9-5-labeled.png 
     147     * 「interVM Network」というラベルが設定された 
     148   1. attachment:vmnet9-6-finish_configuration.png 
     149     * 設定完了 
     150   1. attachment:vmnet9-7-VM_networking.png 
     151     * VMの設定画面でも、接続する仮想ネットワーク候補として提示されるようになる 
     152     * attachment:vmnet9-webUI.png 
     153       * web UIの方にも出現する 
     154   1. attachment:vmnet9-8-rebooted.png 
     155     * しかし、再起動すると消えてしまう 
     156     * attachment:vmnet9-webUI_rebooted.png 
     157       * web UIの方でも一覧から消えてしまう