Intermittent Network disconnection, Ubuntu, troubleshooting

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu)



Networking service runs on my system:



sudo service networking status
networking start/running


Static interface info:



iface eth0 inet static
address 100.100.100.216
netmask 255.255.255.0
broadcast 100.100.100.255
gateway 100.100.100.1
dns-nameservers 123.132.134.35
dns-search google.com


Problem: Internet connection disconnects randomly.



Troubleshoot:



I have another windows machine on my LAN that works, when network is not connected on Linux. So, no problem with router



Try to ping gateway



ping 100.100.100.1
PING 100.100.100.1 (100.100.100.1) 56(84) bytes of data.
From 100.100.100.112 icmp_seq=1 Destination Host Unreachable


So, to test this random behaviour I assumed the network traffic might be causing the random behaviour.



So, I did set one of the shell to infinitely ping Google server. After a while as expected I got the following message



ping: sendmsg: No buffer space available


After some time, the network starts working again.



On one of the link it says to increase the size of the buffer (www.cyberciti.biz/faq/linux-tcp-tuning). So I did, and my current proc/sys/net/core/wmem_max size is 83886080



Still, if I do infinite ping again network fails the same way.



Question: Which process/service is causing the network buffer reset? Also, why is it taking so much time to do so?



As a temporary fix, manually unplug-plug Ethernet or do ifdown eth0 && ifup eth0 [But, this is not a correct solution]










share|improve this question























  • Typically the "No buffer space" condition occurs when a NIC is unable to send data to a host. If you check your ping times you should be able to correlate increased ping time and/or packet loss with the error message.
    – Claris
    Jun 24 '15 at 21:16










  • Also see askubuntu.com on StackExchange.
    – jeremiah
    Jun 25 '15 at 9:26














up vote
0
down vote

favorite
1












I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu)



Networking service runs on my system:



sudo service networking status
networking start/running


Static interface info:



iface eth0 inet static
address 100.100.100.216
netmask 255.255.255.0
broadcast 100.100.100.255
gateway 100.100.100.1
dns-nameservers 123.132.134.35
dns-search google.com


Problem: Internet connection disconnects randomly.



Troubleshoot:



I have another windows machine on my LAN that works, when network is not connected on Linux. So, no problem with router



Try to ping gateway



ping 100.100.100.1
PING 100.100.100.1 (100.100.100.1) 56(84) bytes of data.
From 100.100.100.112 icmp_seq=1 Destination Host Unreachable


So, to test this random behaviour I assumed the network traffic might be causing the random behaviour.



So, I did set one of the shell to infinitely ping Google server. After a while as expected I got the following message



ping: sendmsg: No buffer space available


After some time, the network starts working again.



On one of the link it says to increase the size of the buffer (www.cyberciti.biz/faq/linux-tcp-tuning). So I did, and my current proc/sys/net/core/wmem_max size is 83886080



Still, if I do infinite ping again network fails the same way.



Question: Which process/service is causing the network buffer reset? Also, why is it taking so much time to do so?



As a temporary fix, manually unplug-plug Ethernet or do ifdown eth0 && ifup eth0 [But, this is not a correct solution]










share|improve this question























  • Typically the "No buffer space" condition occurs when a NIC is unable to send data to a host. If you check your ping times you should be able to correlate increased ping time and/or packet loss with the error message.
    – Claris
    Jun 24 '15 at 21:16










  • Also see askubuntu.com on StackExchange.
    – jeremiah
    Jun 25 '15 at 9:26












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu)



Networking service runs on my system:



sudo service networking status
networking start/running


Static interface info:



iface eth0 inet static
address 100.100.100.216
netmask 255.255.255.0
broadcast 100.100.100.255
gateway 100.100.100.1
dns-nameservers 123.132.134.35
dns-search google.com


Problem: Internet connection disconnects randomly.



Troubleshoot:



I have another windows machine on my LAN that works, when network is not connected on Linux. So, no problem with router



Try to ping gateway



ping 100.100.100.1
PING 100.100.100.1 (100.100.100.1) 56(84) bytes of data.
From 100.100.100.112 icmp_seq=1 Destination Host Unreachable


So, to test this random behaviour I assumed the network traffic might be causing the random behaviour.



So, I did set one of the shell to infinitely ping Google server. After a while as expected I got the following message



ping: sendmsg: No buffer space available


After some time, the network starts working again.



On one of the link it says to increase the size of the buffer (www.cyberciti.biz/faq/linux-tcp-tuning). So I did, and my current proc/sys/net/core/wmem_max size is 83886080



Still, if I do infinite ping again network fails the same way.



Question: Which process/service is causing the network buffer reset? Also, why is it taking so much time to do so?



As a temporary fix, manually unplug-plug Ethernet or do ifdown eth0 && ifup eth0 [But, this is not a correct solution]










share|improve this question















I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu)



Networking service runs on my system:



sudo service networking status
networking start/running


Static interface info:



iface eth0 inet static
address 100.100.100.216
netmask 255.255.255.0
broadcast 100.100.100.255
gateway 100.100.100.1
dns-nameservers 123.132.134.35
dns-search google.com


Problem: Internet connection disconnects randomly.



Troubleshoot:



I have another windows machine on my LAN that works, when network is not connected on Linux. So, no problem with router



Try to ping gateway



ping 100.100.100.1
PING 100.100.100.1 (100.100.100.1) 56(84) bytes of data.
From 100.100.100.112 icmp_seq=1 Destination Host Unreachable


So, to test this random behaviour I assumed the network traffic might be causing the random behaviour.



So, I did set one of the shell to infinitely ping Google server. After a while as expected I got the following message



ping: sendmsg: No buffer space available


After some time, the network starts working again.



On one of the link it says to increase the size of the buffer (www.cyberciti.biz/faq/linux-tcp-tuning). So I did, and my current proc/sys/net/core/wmem_max size is 83886080



Still, if I do infinite ping again network fails the same way.



Question: Which process/service is causing the network buffer reset? Also, why is it taking so much time to do so?



As a temporary fix, manually unplug-plug Ethernet or do ifdown eth0 && ifup eth0 [But, this is not a correct solution]







linux networking troubleshooting






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 at 6:53









Rui F Ribeiro

38.2k1475123




38.2k1475123










asked Jun 24 '15 at 19:45









Gaurav Minocha

1033




1033











  • Typically the "No buffer space" condition occurs when a NIC is unable to send data to a host. If you check your ping times you should be able to correlate increased ping time and/or packet loss with the error message.
    – Claris
    Jun 24 '15 at 21:16










  • Also see askubuntu.com on StackExchange.
    – jeremiah
    Jun 25 '15 at 9:26
















  • Typically the "No buffer space" condition occurs when a NIC is unable to send data to a host. If you check your ping times you should be able to correlate increased ping time and/or packet loss with the error message.
    – Claris
    Jun 24 '15 at 21:16










  • Also see askubuntu.com on StackExchange.
    – jeremiah
    Jun 25 '15 at 9:26















Typically the "No buffer space" condition occurs when a NIC is unable to send data to a host. If you check your ping times you should be able to correlate increased ping time and/or packet loss with the error message.
– Claris
Jun 24 '15 at 21:16




Typically the "No buffer space" condition occurs when a NIC is unable to send data to a host. If you check your ping times you should be able to correlate increased ping time and/or packet loss with the error message.
– Claris
Jun 24 '15 at 21:16












Also see askubuntu.com on StackExchange.
– jeremiah
Jun 25 '15 at 9:26




Also see askubuntu.com on StackExchange.
– jeremiah
Jun 25 '15 at 9:26










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










I wrote about this just yesterday. Sigh.



The root cause is probably that there is another computer on the network that has the same IP address. Sometimes this is caused by assigning an IP in the a range that DHCP thinks it has control over.



To verify there are conflicting IPs when you Linux box loses network connection, get onto your windows box and see if you can ping 100.100.100.216.



The "buffer space" condition was mentioned by Claris.






share|improve this answer






















  • What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
    – Francis
    Dec 21 '17 at 9:00










  • @Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
    – rocky
    Dec 21 '17 at 11:31










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f211931%2fintermittent-network-disconnection-ubuntu-troubleshooting%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








up vote
0
down vote



accepted










I wrote about this just yesterday. Sigh.



The root cause is probably that there is another computer on the network that has the same IP address. Sometimes this is caused by assigning an IP in the a range that DHCP thinks it has control over.



To verify there are conflicting IPs when you Linux box loses network connection, get onto your windows box and see if you can ping 100.100.100.216.



The "buffer space" condition was mentioned by Claris.






share|improve this answer






















  • What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
    – Francis
    Dec 21 '17 at 9:00










  • @Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
    – rocky
    Dec 21 '17 at 11:31














up vote
0
down vote



accepted










I wrote about this just yesterday. Sigh.



The root cause is probably that there is another computer on the network that has the same IP address. Sometimes this is caused by assigning an IP in the a range that DHCP thinks it has control over.



To verify there are conflicting IPs when you Linux box loses network connection, get onto your windows box and see if you can ping 100.100.100.216.



The "buffer space" condition was mentioned by Claris.






share|improve this answer






















  • What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
    – Francis
    Dec 21 '17 at 9:00










  • @Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
    – rocky
    Dec 21 '17 at 11:31












up vote
0
down vote



accepted







up vote
0
down vote



accepted






I wrote about this just yesterday. Sigh.



The root cause is probably that there is another computer on the network that has the same IP address. Sometimes this is caused by assigning an IP in the a range that DHCP thinks it has control over.



To verify there are conflicting IPs when you Linux box loses network connection, get onto your windows box and see if you can ping 100.100.100.216.



The "buffer space" condition was mentioned by Claris.






share|improve this answer














I wrote about this just yesterday. Sigh.



The root cause is probably that there is another computer on the network that has the same IP address. Sometimes this is caused by assigning an IP in the a range that DHCP thinks it has control over.



To verify there are conflicting IPs when you Linux box loses network connection, get onto your windows box and see if you can ping 100.100.100.216.



The "buffer space" condition was mentioned by Claris.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 13 '17 at 12:36









Community

1




1










answered Jun 25 '15 at 9:26









rocky

1,456514




1,456514











  • What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
    – Francis
    Dec 21 '17 at 9:00










  • @Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
    – rocky
    Dec 21 '17 at 11:31
















  • What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
    – Francis
    Dec 21 '17 at 9:00










  • @Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
    – rocky
    Dec 21 '17 at 11:31















What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
– Francis
Dec 21 '17 at 9:00




What if I get request timeout when ping from the other computer when I loss the connection? Does that imply no other guy is using my IP?
– Francis
Dec 21 '17 at 9:00












@Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
– rocky
Dec 21 '17 at 11:31




@Francis rather than try to guess which of the details are relevant to you and which of the details are different, why not start a new question that describes in detail your particular situation and what you have tried. You can link back to this answer if need be.
– rocky
Dec 21 '17 at 11:31

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f211931%2fintermittent-network-disconnection-ubuntu-troubleshooting%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

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)