| | 29 | |
| | 30 | == add isolated networks == |
| | 31 | * sudo vmware-config.pl |
| | 32 | {{{ |
| | 33 | Would you like to skip networking setup and keep your old settings as they are? |
| | 34 | (yes/no) [yes] no |
| | 35 | |
| | 36 | (snip) |
| | 37 | |
| | 38 | Would you prefer to modify your existing networking configuration using the |
| | 39 | wizard or the editor? (wizard/editor/help) [wizard] help |
| | 40 | |
| | 41 | The wizard will present a series of questions that will help you quickly add |
| | 42 | new virtual networks. However, you cannot remove networks or edit existing |
| | 43 | networks with the wizard. To remove or edit existing networks, you should use |
| | 44 | the editor. |
| | 45 | }}} |
| | 46 | |
| | 47 | * wizardでは、Bridge, NAT, host-onlyの設定しかできず、Workstationにおける「チーム LAN セグメント」を追加することが出来ないので、editorを選択する。 |
| | 48 | {{{ |
| | 49 | Would you prefer to modify your existing networking configuration using the |
| | 50 | wizard or the editor? (wizard/editor/help) [help] editor |
| | 51 | |
| | 52 | The 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 | |
| | 58 | Do you wish to make any changes to the current virtual networks settings? |
| | 59 | (yes/no) [no] yes |
| | 60 | |
| | 61 | Which virtual network do you wish to configure? (0-254) 2 |
| | 62 | |
| | 63 | What type of virtual network do you wish to set vmnet2? |
| | 64 | (bridged,hostonly,nat,none) [none] b |
| | 65 | |
| | 66 | Configuring a bridged network for vmnet2. |
| | 67 | |
| | 68 | Please specify a name for this network. |
| | 69 | [Bridged] Bridged to none |
| | 70 | |
| | 71 | All your ethernet interfaces are already bridged. Are you sure you want to |
| | 72 | configure a bridged ethernet interface for vmnet2? (yes/no) [no] yes |
| | 73 | |
| | 74 | Your computer has the following ethernet devices: eth0. Which one do you want |
| | 75 | to bridge to vmnet2? [eth0] none |
| | 76 | |
| | 77 | The 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 | |
| | 84 | Do you wish to make additional changes to the current virtual networks |
| | 85 | settings? (yes/no) [yes] |
| | 86 | |
| | 87 | Which virtual network do you wish to configure? (0-254) 3 |
| | 88 | |
| | 89 | What type of virtual network do you wish to set vmnet3? |
| | 90 | (bridged,hostonly,nat,none) [none] |
| | 91 | |
| | 92 | The 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 | |
| | 99 | Do you wish to make additional changes to the current virtual networks |
| | 100 | settings? (yes/no) [yes] no |
| | 101 | |
| | 102 | (snip) |
| | 103 | }}} |
| | 104 | * 「none」という存在しないデバイスへブリッジされた仮想ネットワークvmnet2が作成される |
| | 105 | * ls /dev/vmnet* |
| | 106 | {{{ |
| | 107 | crw------- 1 root root 119, 0 2010-06-08 16:59 /dev/vmnet0 |
| | 108 | crw------- 1 root root 119, 1 2010-06-08 16:59 /dev/vmnet1 |
| | 109 | crw------- 1 root root 119, 2 2010-06-08 17:01 /dev/vmnet2 |
| | 110 | crw------- 1 root root 119, 3 2010-06-08 16:59 /dev/vmnet3 |
| | 111 | crw------- 1 root root 119, 4 2010-06-08 16:59 /dev/vmnet4 |
| | 112 | crw------- 1 root root 119, 5 2010-06-08 16:59 /dev/vmnet5 |
| | 113 | crw------- 1 root root 119, 6 2010-06-08 16:59 /dev/vmnet6 |
| | 114 | crw------- 1 root root 119, 7 2010-06-08 16:59 /dev/vmnet7 |
| | 115 | crw------- 1 root root 119, 8 2010-06-08 16:59 /dev/vmnet8 |
| | 116 | crw------- 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 | {{{ |
| | 128 | crw------- 1 root root 119, 0 2010-06-08 17:30 /dev/vmnet0 |
| | 129 | crw------- 1 root root 119, 1 2010-06-08 17:30 /dev/vmnet1 |
| | 130 | crw------- 1 root root 119, 2 2010-06-08 17:30 /dev/vmnet2 |
| | 131 | crw------- 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の方でも一覧から消えてしまう |