I have windows 7 host and guest debian 7 on vmware. I am connected to internet by 3G modem and this is the ip config of host
PPP adapter [provider name]:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.47.235.94
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
what I am trying to achieve is to
1) set static ip for guest
2) connect from host to guest by ftp and remote mysql
3) access internet in guest
In the past I had cable internet connection and the ipconfig of host was this
IPv4 Address. . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
that time I just changed the network type in vmware as bridged and had this
nameserver 192.168.0.1
in etc/resolv.conf
and also these lines in etc/network/interfaces
and all things were just fine.
iface eth0 inet static
address 192.168.0.107
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.0.1
I tried to do a similar thing
address 10.47.235.95 # just putting some ip other than the host's ip
netmask 255.255.255.255 # same as for host
network 192.168.1.0 # did not know what to put, so just left the same
gateway 0.0.0.0 # host's gateway
but does not work, neither I can connect to guest, nor I have internet in guest.
thanks