vmnet

VMWareNetDetail_Mac.png

仮想ネットワークの設定を変えたいとき

  1. 仮想マシンを全て止める
  2. VMWare自体を止める
    [/Library/Application Support/VMware Fusion]$ sudo ./boot.sh --stop
  3. ネットワーク設定
    [/Library/Application Support/VMware Fusion]$ cat networking
    VERSION=1,0
    answer VNET_1_DHCP yes
    answer VNET_1_DHCP_CFG_HASH E0FF8DB8C695EF9D12D724DC4EAD78701C0F326E
    answer VNET_1_HOSTONLY_NETMASK 255.255.255.0
    answer VNET_1_HOSTONLY_SUBNET 172.16.227.0
    answer VNET_1_VIRTUAL_ADAPTER yes
    answer VNET_1_VIRTUAL_ADAPTER_ADDR 172.16.227.1
    answer VNET_8_DHCP yes
    answer VNET_8_DHCP_CFG_HASH AE55563383201D8299A032A87B046ED6DC77B5CA
    answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
    answer VNET_8_HOSTONLY_SUBNET 172.16.121.0
    answer VNET_8_NAT yes
    answer VNET_8_VIRTUAL_ADAPTER yes
    answer VNET_8_VIRTUAL_ADAPTER_ADDR 172.16.121.1
     
    [/Library/Application Support/VMware Fusion]$ cat locations
    answer LIBDIR /Library/Application Support/VMware Fusion
    answer NETWORKING yes
    answer VNET_8_NAT yes
    answer VNET_8_HOSTONLY_HOSTADDR 172.16.121.1
    answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
    file /Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf 1262197172
    file /var/db/vmware/vmnet-dhcpd-vmnet8.leases
    file /var/db/vmware/vmnet-dhcpd-vmnet8.leases~
    file /Library/Application Support/VMware Fusion/vmnet8/nat.conf 1262197172
    answer VNET_1_HOSTONLY_HOSTADDR 172.16.227.1
    answer VNET_1_HOSTONLY_NETMASK 255.255.255.0
    answer VNET_1_HOSTONLY_SUBNET 172.16.227.0
    answer VNET_1_DHCP yes
    file /Library/Application Support/VMware Fusion/vmnet1/dhcpd.conf 1262197192
    file /var/db/vmware/vmnet-dhcpd-vmnet1.leases
    file /var/db/vmware/vmnet-dhcpd-vmnet1.leases~
    file /Library/Application Support/VMware Fusion/config 1262197192
  4. VMNet1の設定
    [/Library/Application Support/VMware Fusion/vmnet1]$ cat dhcpd.conf
    # Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet1.
    #
    # This file was automatically generated by the VMware configuration program.
    # See Instructions below if you want to modify it.
    #
    # We set domain-name-servers to make some DHCP clients happy
    # (dhclient as configured in SuSE, TurboLinux, etc.).
    # We also supply a domain name to make pump (Red Hat 6.x) happy.
    #
    
    
    ###### VMNET DHCP Configuration. Start of "DO NOT MODIFY SECTION" #####
    # Modification Instructions: This section of the configuration file contains
    # information generated by the configuration program. Do not modify this
    # section.
    # You are free to modify everything else. Also, this section must start 
    # on a new line 
    # This file will get backed up with a different name in the same directory 
    # if this section is edited and you try to configure DHCP again. 
    
    # Written at: 10/29/2009 23:40:33
    allow unknown-clients;
    default-lease-time 1800;                # default is 30 minutes
    max-lease-time 7200;                    # default is 2 hours
    
    subnet 172.16.227.0 netmask 255.255.255.0 {
            range 172.16.227.128 172.16.227.254;
            option broadcast-address 172.16.227.255;
            option domain-name-servers 172.16.227.1;
            option domain-name localdomain;
            default-lease-time 1800;                # default is 30 minutes
            max-lease-time 7200;                    # default is 2 hours
    }
    host vmnet1 {
            hardware ethernet 00:50:56:C0:00:01;
            fixed-address 172.16.227.1;
            option domain-name-servers 0.0.0.0;
            option domain-name "";
    }
    ####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######
  5. VMNet8の設定
    [/Library/Application Support/VMware Fusion/vmnet8]$ cat dhcpd.conf
    # Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet8.
    #
    # This file was automatically generated by the VMware configuration program.
    # See Instructions below if you want to modify it.
    #
    # We set domain-name-servers to make some DHCP clients happy
    # (dhclient as configured in SuSE, TurboLinux, etc.).
    # We also supply a domain name to make pump (Red Hat 6.x) happy.
    #
    
    
    ###### VMNET DHCP Configuration. Start of "DO NOT MODIFY SECTION" #####
    # Modification Instructions: This section of the configuration file contains
    # information generated by the configuration program. Do not modify this
    # section.
    # You are free to modify everything else. Also, this section must start 
    # on a new line 
    # This file will get backed up with a different name in the same directory 
    # if this section is edited and you try to configure DHCP again.
    
    # Written at: 10/29/2009 23:40:33
    allow unknown-clients;
    default-lease-time 1800;                # default is 30 minutes
    max-lease-time 7200;                    # default is 2 hours 
    
    subnet 172.16.121.0 netmask 255.255.255.0 {
            range 172.16.121.128 172.16.121.254;
            option broadcast-address 172.16.121.255;
            option domain-name-servers 172.16.121.2;
            option domain-name localdomain;
            default-lease-time 1800;                # default is 30 minutes
            max-lease-time 7200;                    # default is 2 hours
            option routers 172.16.121.2;
    }
    host vmnet8 {
            hardware ethernet 00:50:56:C0:00:08;
            fixed-address 172.16.121.1;
            option domain-name-servers 0.0.0.0;
            option domain-name "";
            option routers 0.0.0.0;
    }
    ####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######
     
    [/Library/Application Support/VMware Fusion/vmnet8]$ cat nat.conf
    # Linux NAT configuration file
    [host]
    # NAT gateway address
    ip = 172.16.121.2
    netmask = 255.255.255.0
    # VMnet device if not specified on command line
    device = /dev/vmnet8
    # Allow PORT/EPRT FTP commands (they need incoming TCP stream ...)
    activeFTP = 1
    # Allows the source to have any OUI.  Turn this one if you change the OUI
    # in the MAC address of your virtual machines.
    allowAnyOUI = 1
    [udp]
    # Timeout in seconds, 0 = no timeout, default = 60; real value might
    # be up to 100% longer
    timeout = 60
    [incomingudp]
    
    [incomingtcp]
    
  6. VMWareの起動(設定に矛盾があるとココで怒られるので、よくメッセージを見ること)
    [/Library/Application Support/VMware Fusion]$ sudo ./boot.sh --start

Solaris 10 / Open Solaris が、インストール中にハングアップするんだけど・・・

メモリを 1GB 以上にするといいらしい

sol10.png

Guest( Windows )からは Host( Mac ) も LAN ( Internet )も見えるけど、Host( Mac )から Guest( Windows )が見えないとき


Mac


添付ファイル: fileVMWareNetDetail_Mac.png 917件 [詳細] filefirewall.png 789件 [詳細] filesol10.png 833件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS   sitemap
Last-modified: 2009-12-31 (木) 04:53:30 (2530d)
ISBN10
ISBN13
9784061426061