Ubuntu server connection failed sometimes for different subnet client












0















I am using vmware 6.5



Machine-1 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-1
auto ens192
iface ens192 inet static
address 172.16.3.133
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-2 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-2
auto ens192
iface ens192 inet static
address 172.16.3.134
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-1 pinging Machine-2 always. There is no connection issue. (same subnet)



My client machine is windows 10 and my network information is like this:



   IPv4 Address. . . . . . . . . . . : 172.16.161.80
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 172.16.160.1


I can connect to Machine-1 using Putty. But my connection failed after several minutes. (Putty error: Network error software caused connection abort)



So I open Machine-2 using Vmware UI and pinging to Machine-1, then I can connect again from my Windows machine. I mean network interface looks as if it is sleeping for different subnets.



If any client has different subnet, this issue is occured. We can not solve this problem.










share|improve this question

























  • Talk tho the network administrator and ask how the routers are configured.

    – vidarlo
    Jan 25 at 13:56
















0















I am using vmware 6.5



Machine-1 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-1
auto ens192
iface ens192 inet static
address 172.16.3.133
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-2 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-2
auto ens192
iface ens192 inet static
address 172.16.3.134
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-1 pinging Machine-2 always. There is no connection issue. (same subnet)



My client machine is windows 10 and my network information is like this:



   IPv4 Address. . . . . . . . . . . : 172.16.161.80
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 172.16.160.1


I can connect to Machine-1 using Putty. But my connection failed after several minutes. (Putty error: Network error software caused connection abort)



So I open Machine-2 using Vmware UI and pinging to Machine-1, then I can connect again from my Windows machine. I mean network interface looks as if it is sleeping for different subnets.



If any client has different subnet, this issue is occured. We can not solve this problem.










share|improve this question

























  • Talk tho the network administrator and ask how the routers are configured.

    – vidarlo
    Jan 25 at 13:56














0












0








0








I am using vmware 6.5



Machine-1 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-1
auto ens192
iface ens192 inet static
address 172.16.3.133
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-2 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-2
auto ens192
iface ens192 inet static
address 172.16.3.134
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-1 pinging Machine-2 always. There is no connection issue. (same subnet)



My client machine is windows 10 and my network information is like this:



   IPv4 Address. . . . . . . . . . . : 172.16.161.80
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 172.16.160.1


I can connect to Machine-1 using Putty. But my connection failed after several minutes. (Putty error: Network error software caused connection abort)



So I open Machine-2 using Vmware UI and pinging to Machine-1, then I can connect again from my Windows machine. I mean network interface looks as if it is sleeping for different subnets.



If any client has different subnet, this issue is occured. We can not solve this problem.










share|improve this question
















I am using vmware 6.5



Machine-1 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-1
auto ens192
iface ens192 inet static
address 172.16.3.133
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-2 Ubuntu server 16.04



# The primary network interface dor virtaual Machine-2
auto ens192
iface ens192 inet static
address 172.16.3.134
netmask 255.255.0.0
gateway 172.16.3.1
dns-nameservers: 172.16.3.254 172.16.3.253


Machine-1 pinging Machine-2 always. There is no connection issue. (same subnet)



My client machine is windows 10 and my network information is like this:



   IPv4 Address. . . . . . . . . . . : 172.16.161.80
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 172.16.160.1


I can connect to Machine-1 using Putty. But my connection failed after several minutes. (Putty error: Network error software caused connection abort)



So I open Machine-2 using Vmware UI and pinging to Machine-1, then I can connect again from my Windows machine. I mean network interface looks as if it is sleeping for different subnets.



If any client has different subnet, this issue is occured. We can not solve this problem.







16.04 networking server vmware






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 25 at 14:20







Bayram Üçüncü

















asked Jan 25 at 13:49









Bayram ÜçüncüBayram Üçüncü

12




12













  • Talk tho the network administrator and ask how the routers are configured.

    – vidarlo
    Jan 25 at 13:56



















  • Talk tho the network administrator and ask how the routers are configured.

    – vidarlo
    Jan 25 at 13:56

















Talk tho the network administrator and ask how the routers are configured.

– vidarlo
Jan 25 at 13:56





Talk tho the network administrator and ask how the routers are configured.

– vidarlo
Jan 25 at 13:56










1 Answer
1






active

oldest

votes


















0














Check if you have any software in Windows 10 that "protects" your network connections like anti-virus or anti-malware as they have been known to interfere with VMWare.




But my connection failed after several minutes.




By default SSH will often close inactive connections unless you specify that they should be "keep alive"






share|improve this answer
























  • We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

    – Bayram Üçüncü
    Jan 25 at 14:29











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112783%2fubuntu-server-connection-failed-sometimes-for-different-subnet-client%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Check if you have any software in Windows 10 that "protects" your network connections like anti-virus or anti-malware as they have been known to interfere with VMWare.




But my connection failed after several minutes.




By default SSH will often close inactive connections unless you specify that they should be "keep alive"






share|improve this answer
























  • We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

    – Bayram Üçüncü
    Jan 25 at 14:29
















0














Check if you have any software in Windows 10 that "protects" your network connections like anti-virus or anti-malware as they have been known to interfere with VMWare.




But my connection failed after several minutes.




By default SSH will often close inactive connections unless you specify that they should be "keep alive"






share|improve this answer
























  • We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

    – Bayram Üçüncü
    Jan 25 at 14:29














0












0








0







Check if you have any software in Windows 10 that "protects" your network connections like anti-virus or anti-malware as they have been known to interfere with VMWare.




But my connection failed after several minutes.




By default SSH will often close inactive connections unless you specify that they should be "keep alive"






share|improve this answer













Check if you have any software in Windows 10 that "protects" your network connections like anti-virus or anti-malware as they have been known to interfere with VMWare.




But my connection failed after several minutes.




By default SSH will often close inactive connections unless you specify that they should be "keep alive"







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 25 at 14:09









Kristopher IvesKristopher Ives

2,83211525




2,83211525













  • We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

    – Bayram Üçüncü
    Jan 25 at 14:29



















  • We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

    – Bayram Üçüncü
    Jan 25 at 14:29

















We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

– Bayram Üçüncü
Jan 25 at 14:29





We use Sophos protection. But as I specified, If Machine-1 or Machine-2 pings continuously to any machine in local network, the windows client machines connections does not abort.

– Bayram Üçüncü
Jan 25 at 14:29


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112783%2fubuntu-server-connection-failed-sometimes-for-different-subnet-client%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅