My host is windows 10. Guest is centos 6.4 running on vm ware.
I configured a static IP address to centos.
In vm settings , I put the Network Adaptor as –Bridged.
Using one internet modem only I am able to connect from win10 using putty.
With other devices/modems/routers neither able to connect using putty nor able to ping google.com
Kindly help me what are the changes I need to do with my centos 6.4 playing on VM ware.
I should be able to use different internet connections.
From Inside centos comand prompt:
[root@master ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
#BOOTPROTO=dhcp
IPADDR=192.168.1.11
NETMASK=255.255.255.0
DNS1=192.168.1.1
GATEWAY=192.168.1.1
IPV6INIT="no"
NETWORKING_IPV6=no
DEFROUTE=yes
HWADDR=00:50:56:36:6F:6F
[root@master ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:36:6F:6F
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fe36:6f6f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1773 errors:0 dropped:0 overruns:0 frame:0
TX packets:753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2087281 (1.9 MiB) TX bytes:65083 (63.5 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:12462 errors:0 dropped:0 overruns:0 frame:0
TX packets:12462 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52558466 (50.1 MiB) TX bytes:52558466 (50.1 MiB)
With Airtel 4G dongle:
C:\Users\Vamsi>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::59b3:af6b:3f6b:1e76%9
IPv4 Address. . . . . . . . . . . : 192.168.136.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::b472:d687:307c:af8%17
IPv4 Address. . . . . . . . . . . : 192.168.81.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::addd:b4bf:305d:6ec2%8
IPv4 Address. . . . . . . . . . . : 192.168.1.162
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
From win10 , using putty able to connect to centos.
login as: root
root@192.168.1.11's password:
Last login: Fri Oct 14 00:23:45 2016 from 192.168.1.162
[root@master ~]#
from centos command prompt , able to ping google.com
[root@master ~]# ping google.com
PING google.com (172.217.26.174) 56(84) bytes of data.
64 bytes from maa03s22-in-f14.1e100.net (172.217.26.174): icmp_seq=1 ttl=55 time=56.4 ms
64 bytes from maa03s22-in-f14.1e100.net (172.217.26.174): icmp_seq=2 ttl=55 time=42.8 ms
Now I removed 4G dongle and switching to Hathway-broadband WIFI.
The Ipconfig of win10
C:\Users\Vamsi>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::59b3:af6b:3f6b:1e76%9
IPv4 Address. . . . . . . . . . . : 192.168.136.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::b472:d687:307c:af8%17
IPv4 Address. . . . . . . . . . . : 192.168.81.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::addd:b4bf:305d:6ec2%8
IPv4 Address. . . . . . . . . . . : 192.168.0.11
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Now I am not able to connect from win10 using putty--
puTTY Fatal Error
Network error:Connection timed out
Also not able to ping google.com from inside centos.
[root@master ~]# ping google.com
ping: unknown host google.com
kindly help me what changes I need to do.
Thanks.
help me with static IP problem
Re: help me with static IP problem
Don't run 6.4 - it's ancient, riddled with security bugs and badly in need of updating. Current version is 6.8 and is just a yum update away.
The rest of your problem appears to be a Windows one and you need to ask on a forum that has more knowledge about that.
The rest of your problem appears to be a Windows one and you need to ask on a forum that has more knowledge about that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: help me with static IP problem
Hi TrevorH,
Thanks for the reply.
my centos version is 6.7
[root@master ~]# lsb_release -d
Description: CentOS release 6.7 (Final)
sorry for improper information.
Inspite of the windows10 problem , I expect if I can add any changes in VMware settings or centos configuration.
because with my past experiance , windows10 can do nothing with this problem.
Kindly help me.
Thanks for the reply.
my centos version is 6.7
[root@master ~]# lsb_release -d
Description: CentOS release 6.7 (Final)
sorry for improper information.
Inspite of the windows10 problem , I expect if I can add any changes in VMware settings or centos configuration.
because with my past experiance , windows10 can do nothing with this problem.
Kindly help me.