Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 225804

How do I change NAT's host and router addresses?

$
0
0

I've been using Fusion 5 Pro with vmnet8 like this:

 

Host Address: 192.168.8.101

"router" address: 192.168.8.1

DHCP: starting on 192.168.8.101

 

This used to work. But I just formatted my Mac and, as lazyness and stupidity walk together, I hadn't make a copy of my config files.

 

Now, I'm trying to accomplish the same configuration, but I don't remember how. Here's my "networking" file:

 

VERSION=1,0

answer VNET_7_DHCP yes

answer VNET_7_DHCP_CFG_HASH 7A8FF1ECF74DF377E1A7B2F6C3D5CA5187D202B3

answer VNET_7_HOSTONLY_NETMASK 255.255.255.0

answer VNET_7_HOSTONLY_SUBNET 192.168.7.0

answer VNET_7_VIRTUAL_ADAPTER yes

answer VNET_8_DHCP yes

answer VNET_8_DHCP_CFG_HASH 26B637A068E0CC138474D9E61D5D55861D74644F

answer VNET_8_HOSTONLY_HOSTADDR 192.168.8.101

answer VNET_8_HOSTONLY_NETMASK 255.255.255.0

answer VNET_8_HOSTONLY_SUBNET 192.168.8.0

answer VNET_8_NAT yes

answer VNET_8_VIRTUAL_ADAPTER yes

 

When I run: 

 

sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --configure

sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop

sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start

 

I end up with the following file (which is predictable, since I had not stated which "router address" I want to use):

 

allow unknown-clients;

default-lease-time 1800;                # default is 30 minutes

max-lease-time 7200;                    # default is 2 hours

 

 

subnet 192.168.8.0 netmask 255.255.255.0 {

  range 192.168.8.128 192.168.8.254;

  option broadcast-address 192.168.8.255;

  option domain-name-servers 192.168.8.2;

  option domain-name localdomain;

  default-lease-time 1800;                # default is 30 minutes

  max-lease-time 7200;                    # default is 2 hours

  option netbios-name-servers 192.168.8.2;

  option routers 192.168.8.2;

}

host vmnet8 {

  hardware ethernet 00:50:56:C0:00:08;

  fixed-address 192.168.8.1;

  option domain-name-servers 0.0.0.0;

  option domain-name "";

  option routers 0.0.0.0;

}

 

So, my real question is: how do I change the "networking" file or any other config to end up with my "router" address as 192.168.8.1 and my host fixed address as 192.168.8.101? I made it in the past. I simply cannot remember how...


Viewing all articles
Browse latest Browse all 225804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>