LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-17-2009, 02:58 PM   #1
javacougar
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Dropped/Duplicate Pings


Our firewall (debian) currently has 4 public ip addresses (eth0 1.2.3.4, eth0:0 1.2.3.5, eth0:1 1.2.3.8, eth0:2 1.2.3.9) and 3 internal subnets (eth1 10.1.x.x, eth1:0 10.2.x.x, eth2 10.7.x.x). We are experiencing the following two problems which I believe have the same root cause. 1) The firewall cannot access beyond the isp gateway (1.2.3.1). 2) From externally, we can ping eth0 with no trouble, however, pinging the eth0:0, eth0:1 and eth0:2 interfaces have results similar to the following:
Code:
PING 1.2.3.8 (1.2.3.8) 56(84) bytes of data.
64 bytes from 1.2.3.8: icmp_seq=2 ttl=57 time=59.0 ms
64 bytes from 1.2.3.8: icmp_seq=2 ttl=57 time=63.0 ms (DUP!)
64 bytes from 1.2.3.8: icmp_seq=13 ttl=57 time=59.3 ms
64 bytes from 1.2.3.8: icmp_seq=13 ttl=57 time=63.0 ms (DUP!)
64 bytes from 1.2.3.8: icmp_seq=24 ttl=57 time=62.0 ms
64 bytes from 1.2.3.8: icmp_seq=24 ttl=57 time=65.6 ms (DUP!)
I get the feeling that I'm missing something obvious, especially since all traffic on the internal subnets can access externally as normal. Any thoughts or ideas of things to check would be most appreciated. Thanks in advance.

/etc/network/interfaces
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# EXTERNAL INTERFACE

auto eth0
iface eth0 inet static
  address 1.2.3.4
  broadcast 1.2.3.255
  netmask 255.255.252.0
  gateway 1.2.3.1

auto eth0:0
iface eth0:0 inet static
  address 1.2.3.5
  broadcast 1.2.3.255
  netmask 255.255.252.0
  gateway 1.2.3.1

auto eth0:1
iface eth0:1 inet static
  address 1.2.3.8
  broadcast 1.2.3.255
  netmask 255.255.252.0
  gateway 1.2.3.1

auto eth0:2
iface eth0:2 inet static
  address 1.2.3.9
  broadcast 1.2.3.255
  netmask 255.255.252.0
  gateway 1.2.3.1

# INTERNAL INTERFACE

auto eth1
iface eth1 inet static
  address 10.1.1.1
  netmask 255.255.0.0

auto eth1:0
iface eth1:0 inet static
  address 10.2.1.1
  netmask 255.255.0.0

auto eth2
iface eth2 inet static
  address 10.7.1.1
  netmask 255.255.0.0
route -n
Code:
1.2.3.0      0.0.0.0         255.255.252.0   U     0      0        0 eth0
10.2.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth1
10.1.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth1
10.7.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth2
0.0.0.0         1.2.3.1      0.0.0.0         UG    0      0        0 eth0
0.0.0.0         1.2.3.1      0.0.0.0         UG    0      0        0 eth0
0.0.0.0         1.2.3.1      0.0.0.0         UG    0      0        0 eth0
0.0.0.0         1.2.3.1      0.0.0.0         UG    0      0        0 eth0

Last edited by javacougar; 05-19-2009 at 08:14 AM.
 
Old 05-17-2009, 05:33 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You have 4 default routes, but at least they all go to the same router. I'd try deleting the 3 extra routes (and 3 extra 'gateway' lines in your interfaces file).
 
Old 05-17-2009, 11:04 PM   #3
javacougar
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks...making the adjustments to the /etc/network/interfaces has cleared up problem 1. Now the firewall can access the internet just fine, however #2 is still a problem and I cannot ping eth0:1, eth0:2, and eth0:3 without a lot of dropped packets and Dup! packets.
 
Old 05-18-2009, 05:39 PM   #4
javacougar
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Based on how the symptoms of both problems were the same (dropped and duplicate pings) I suspect that the remaining problem (not being able to access eth0:0 et al) has something to do with routing as that is what was able to fix the first problem. I checked with our ISP and the connection up to the modem is fine, which confirms that it is indeed an issue on the firewall box. Any suggestions?
 
Old 05-20-2009, 11:42 AM   #5
javacougar
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
I rebuilt our firewall on different hardware and now it works fine. Still bugs me that I couldn't figure out where the problem was...oh well.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant PING beyond ISP Gateway tim1348 Linux - Newbie 3 11-08-2006 01:38 PM
second gateway from second ISP on FEdoara Firewall NAT Router SERVER saint99 Linux - Networking 1 05-23-2004 06:02 PM
How do I connect dual nics in firewall to the gateway? scoobadiver Linux - Newbie 3 01-12-2004 05:03 PM
LAN machines unable to connect to Internet through (firewall on )gateway nishi_k_79 Linux - Security 1 11-13-2003 01:30 PM
About GATEWAY AND ISP Tancrede Linux - Newbie 1 08-07-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration