Losing network after ssh login
by bongo_zg from LinuxQuestions.org on (#4TZAT)
I am running vmware (workstation) on my Win 10 host machine, and set up centos 7 vm with NAT configuration.
For the last 2 weeks, I am running into problems with a network of the VM, which is being lost from time to time.
While there are no network problems on the (physical) router, and my host machine operates just fine, I was unable to find a clue what might cause it. Until today...
I found out that I am losing connection after I connect to vm by ssh from my host machine.
I ran ping 8.8.8.8, which was working fine, but once I ssh to it, it all stopped.
Firewall (on vm) is down, iptables and ip6tables down as well. I switched off Win 10 firewall (both private and public).
I am not a linux admin, but I have used VMs before, and it seemed like a straight forward to set up NAT network, etc.. (on my vmware, I have set up NAT network, but I am connecting directly to VMNet2, which is NAT, but not NAT). Also, I am not using dhcp, but a static configuration


For the last 2 weeks, I am running into problems with a network of the VM, which is being lost from time to time.
While there are no network problems on the (physical) router, and my host machine operates just fine, I was unable to find a clue what might cause it. Until today...
I found out that I am losing connection after I connect to vm by ssh from my host machine.
I ran ping 8.8.8.8, which was working fine, but once I ssh to it, it all stopped.
Firewall (on vm) is down, iptables and ip6tables down as well. I switched off Win 10 firewall (both private and public).
I am not a linux admin, but I have used VMs before, and it seemed like a straight forward to set up NAT network, etc.. (on my vmware, I have set up NAT network, but I am connecting directly to VMNet2, which is NAT, but not NAT). Also, I am not using dhcp, but a static configuration