LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-03-2012, 09:58 AM   #1
niharikaananth
Member
 
Registered: Aug 2011
Posts: 58

Rep: Reputation: Disabled
How to increase ping reply for external domains


Hi..All,
We have 2 WAN, one is limited plan and other one is unlimited. I always wanted to prefer to use only unlimited line for LAN users. So if is it possible to flow some huge traffic on particular LAN card then I can write a shell script which based on ping reply and which should automatically change the connection if any one of the WAN speed goes down. As I have seen since many months, while we are in WAN1 the internet will be slow whenever ping reply goes above 300ms, and for WAN2 the internet will be very slow whenever ping reply goes above 500ms.

I searched through the internet to flow huge traffic on particular LAN card but nowhere could found the solution. So I came here and hope someone will definitely help me in this.

This is enough if I could to flow some huge traffic on particular LAN card to increase the ping reply for external domains and the rest I can achieve.

Thanks in advance for your kind help.

Last edited by niharikaananth; 04-03-2012 at 10:00 AM.
 
Old 04-03-2012, 01:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Can you try to describe your infrastructure in a meaningful way?

WAN1 & WAN2 may mean something to you, but to get a sensible
response we'll need to kow IP ranges, routing tables, ...


Cheers,
Tink


P.S.: Moving this over to networking for obvious reasons.
 
1 members found this post helpful.
Old 04-03-2012, 09:19 PM   #3
niharikaananth
Member
 
Registered: Aug 2011
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thanks for your kind reply Tinkster.
Okay I request you to forget about WAN1 and WAN2. I have a PC at my home which is having only one LAN card and it is directly connected to cable modem. If I ping to google.com usually I will get the ping reply time as below 50 or 60miliseconds at this time internet speed also will be good. Please see below
Code:
$ping -c 5 google.com
PING google.com (some_IP_address) 56(84) bytes of data.
64 bytes from *somedomain*.net (some_IP_address): icmp_req=1 ttl=55 time=42.1 ms
64 bytes from *somedomain*.net (some_IP_address): icmp_req=2 ttl=55 time=41.9 ms
64 bytes from *somedomain*.net (some_IP_address): icmp_req=3 ttl=55 time=44.8 ms
64 bytes from *somedomain*.net (some_IP_address): icmp_req=4 ttl=55 time=42.8 ms
64 bytes from *somedomain*.net (some_IP_address): icmp_req=5 ttl=55 time=43.4 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 41.979/43.051/44.877/1.081 ms
Sometimes the ping reply time will be above 500ms, and at that time internet speed also will be very slow.
So my request is that is it possible to increase the ping reply time by manually flowing some huge traffic on this LAN card even while ping reply time is below 50ms?
If yes and could you please show that how to increase the ping reply time?

Last edited by niharikaananth; 04-03-2012 at 09:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webserver doesn't reply to external request but it reply's to local request ziba Linux - Server 4 05-11-2009 05:27 PM
Vacation reply for virtual domains haariseshu Linux - Server 3 07-21-2008 11:51 PM
no reply from ping lord-fu Fedora 10 06-13-2007 04:18 PM
No ping reply bambolin Linux - Networking 6 10-29-2004 06:18 AM
no ping reply siriuz Linux - Networking 2 03-16-2004 01:53 AM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration