ping breaks


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ping breaks
# 1  
Old 12-16-2009
ping breaks

I have implemented advance routing fo load balancing and a script for and fail over on a Linux machine which run squid and dansguardian for proxying, i have three interfaces on this machine which are

Code:
10.201.108.254 eth1 external interface connected to service provider
10.201.109.254 eth2 external interface connected to service provider
10.200.14.11 eth0 Internal interface for users.

Routing List
Code:
192.101.5.0/26 via 10.200.14.254 dev eth0 
10.1.45.0/24 via 10.200.14.254 dev eth0 
192.168.100.0/24 via 10.200.14.254 dev eth0 
10.201.108.0/24 dev eth1  proto kernel  scope link  src 10.201.108.11 
10.201.14.0/24 dev eth3  proto kernel  scope link  src 10.201.14.11 
10.201.109.0/24 dev eth2  proto kernel  scope link  src 10.201.109.11 
192.168.65.0/24 via 10.200.14.254 dev eth0 
192.168.50.0/24 via 10.200.14.254 dev eth0 
192.168.151.0/24 via 10.200.14.254 dev eth0 
10.1.10.0/24 via 10.200.14.254 dev eth0 
10.200.17.0/24 via 10.200.14.254 dev eth0 
10.200.16.0/24 via 10.200.14.254 dev eth0 
131.11.3.0/24 via 10.200.14.254 dev eth0 
192.168.155.0/24 via 10.200.14.254 dev eth0 
10.200.14.0/24 dev eth0  proto kernel  scope link  src 10.200.14.11 
192.168.152.0/24 via 10.200.14.254 dev eth0 
10.203.0.0/24 via 10.200.14.254 dev eth0 
172.25.0.0/16 via 10.200.14.254 dev eth0 
10.100.0.0/16 via 10.200.14.254 dev eth0 
192.172.0.0/16 via 10.200.14.254 dev eth0 
169.254.0.0/16 dev eth3  scope link 
10.200.0.0/16 via 10.200.14.254 dev eth0

Code:
default 
	nexthop via 10.201.108.254  dev eth1 weight 2
	nexthop via 10.201.109.254  dev eth2 weight 1

I have added static routes for LAN users which are

#LOCAL NETWORKS
Code:
any net 192.168.151.0/24 gw 10.200.14.254 dev eth0
any net 192.168.50.0/24 gw 10.200.14.254 dev eth0
any net 192.168.152.0/24 gw 10.200.14.254 dev eth0
any net 192.168.155.0/24 gw 10.200.14.254 dev eth0
any net 192.168.65.0/24 gw 10.200.14.254 dev eth0
any net 192.172.0.0/16 gw 10.200.14.254 dev eth0

Problem is that when i ping internal interface that is 10.200.14.11 which is assigned on eth0, the ping breaks too much due to which browsing gets slow when internet traffic load is high on proxy server then ping breaks too much on internal interface, i have checked the network on layer-2 switches and layer-3 firewalls which are fine changed network cables also changed network interface on proxy server still ping is breaking, i dont understand wts the reason traffice flow is Users -> Firewall (gateway) -> Proxy Server -> Router -> service provider
any help will b highly appreciated

Last edited by zaxxon; 12-17-2009 at 11:03 AM.. Reason: use code tags, thank you
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Ping test sends mail when ping fails

help with bash script! im am working on this script to make sure my server will stay online, so i made this script.. HOSTS="192.168.138.155" COUNT=4 pingtest(){ for myhost in "$@" do ping -c "$COUNT" "$myhost" &&return 1 done return 0 } if pingtest $HOSTS #100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies

2. Shell Programming and Scripting

Color coding breaks ls?

I found a script that almost takes care of a bit of clunkiness in git. I say almost, because when I use it, after it does what it's supposed to do, it breaks my shell, or something. After I use it, I can't use wildcards any more. I tried to run `jshint *.js` as I do a million times a day, but it... (3 Replies)
Discussion started by: GreatBigBore
3 Replies

3. UNIX for Dummies Questions & Answers

Page breaks and line breaks

Hi All, Need an urgent solution to an issue . We have created a ksh file or shell script which generates 1 DAT file. the DAT file contains extract of a select statement . Now the issue is , when we are executing the ksh file , the output is coimng with page breaks and line breaks . We have... (4 Replies)
Discussion started by: Ayaskant
4 Replies

4. Shell Programming and Scripting

How to get reason for ping failure using perls Net::Ping->new("icmp");?

Hi I am using perl to ping a list of nodes - with script below : $p = Net::Ping->new("icmp"); if ($p->ping($host,1)){ print "$host is alive.\n"; } else { print "$host is unreacheable.\n"; } $p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies

5. UNIX for Dummies Questions & Answers

What breaks inittab

Today there was a situation where processes running from inittab was broken. Can someone help me understand, how to find out, who might have stopped those processes? Or how does it get broken? G (2 Replies)
Discussion started by: ggayathri
2 Replies

6. Shell Programming and Scripting

Animation Ping on Solaris Like Cisco Ping

Hi, I develop simple animation ping script on Solaris Platform. It is like Cisco ping. Examples and source code are below. bash-3.00$ gokcell 152.155.180.8 30 Sending 30 Ping Packets to 152.155.180.8 !!!!!!!!!!!!!.!!!!!!!!!!!!!!!. % 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies

7. Shell Programming and Scripting

Help with wc and line breaks

Hi everyone, I have gone through the forum trying to find an answer to this question but was unsuccessful. I am hoping that someone can help me with this please. I am trying to get my script to recognise line breaks from a file and to give me a result for wc of each line. So basically, if you... (7 Replies)
Discussion started by: stargazerr
7 Replies

8. Shell Programming and Scripting

Fix the breaks

The file FTP'd got few breaks and the data looks like: ABCTOM NYMANAGER ABCDAVE NJ PROGRAMMER ABCJIM CTTECHLEAD ABCPETERCA HR and i want the output like: ABCTOM NYMANAGER ABCDAVE NJPROGRAMMER ABCJIM CTTECHLEAD ABCPETERCAHR can you please help me in writing the shell... (8 Replies)
Discussion started by: rlmadhav
8 Replies

9. Shell Programming and Scripting

Help on page breaks

Hi, I am new to Unix (AIX). I have a header (in a text file) that needs to be wrtitten on all the pages of a result file (text file). After the header is written, data needs to be read from a file A(text file) and inserted to the result file. If the number of lines reaches 80 in a page, page... (1 Reply)
Discussion started by: simhasuri
1 Replies

10. Programming

Page Breaks

Hi, I have a program in Pro*c when I run it I have no problem with the output but when it runs via the at command and except the output has page breaks every 66 lines. I don't want those page breaks to be in the output. any idea? (9 Replies)
Discussion started by: rama71
9 Replies
Login or Register to Ask a Question