Weird routing problem. (I think)
Hi There,
I'm sorry if I've mailed this to the wrong mailing list , but I reckon you guys would know best :)
Some off my clients started complaining that they're having problems connecting to my mail server. Now all this worked fine up until yesterday. I'm not blocking any ports nor am I blocking ICMP on the network.
If I try and ping the mail server from the clients computer I get the following message.
[root@ceda root]# ping 217.10.176.138
PING 217.10.176.138 (217.10.176.138) 56(84) bytes of data. From 10.0.5.1: icmp_seq=2 Redirect Host(New nexthop: 217.10.176.138) From 10.0.5.1: icmp_seq=3 Redirect Host(New nexthop: 217.10.176.138)
And here comes the weird part, the moment I restart the client's network all problems disappear for at least an hour or two. I have about 50 customers on my network and only about half off them is experiencing this problem and it's on both Windows / linux boxes.
I only have this problem accessing the mail server, the rest of the servers hosted on the 217.10.176.136/29 network works fine. I can also ping the same clients pc from the mail server without any problems.
[root@mail routers]# ping 10.0.5.2
PING 10.0.5.2 (10.0.5.2) 56(84) bytes of data. 64 bytes from 10.0.5.2: icmp_seq=1 ttl=64 time=0.260 ms 64 bytes from 10.0.5.2: icmp_seq=2 ttl=64 time=0.235 ms
Here's my network layout.
Cisco Router : (217.10.176.149/255.255.255.252)
-----------------------------
FIREWALL : eth0 (217.10.176.150/255.255.255.252)
: eth1:client1 (10.0.5.1/255.255.255.252) : eth1:client2 (10.0.4.1/255.255.255.252) : eth1:mail (217.10.176.137/255.255.255.248)
Routing table for the firewall.
10.0.5.0 0.0.0.0 255.255.255.252 U 0 0
0 eth1
10.0.4.0 0.0.0.0 255.255.255.252 U 0 0 0 eth1
217.10.176.136 0.0.0.0 255.255.255.248 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 217.10.176.149 0.0.0.0 UG 0 0 0 eth0
-----------------------------
MAIL SERVER : eth0 (217.10.176.138/255.255.255.248)
Routing table on the Mail Server
217.10.176.136 0.0.0.0 255.255.255.248 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 217.10.176.137 0.0.0.0 UG 0 0 0 eth0
-----------------------------
Client PC 1 : eth0 (10.0.5.2/255.255.255.252)
-----------------------------
Client PC 2 : eth0 (10.0.4.2/255.255.255.252)
-----------------------------
Some input would be greatly appreciated.
Kind Regards
Stephan
Quoted 5 lines · Stephan Viljoen
Some off my clients started complaining that they're having problems connecting to my mail server. Now all this worked fine up until yesterday. I'm not blocking any ports nor am I blocking ICMP on the network.
Rather slow but . . .
[root@mail2 root]# telnet 217.10.176.138 25
Trying 217.10.176.138...
Connected to 217.10.176.138.
Escape character is '^]'.
EHLO *****
220 gabswave.net ESMTP Exim 4.24 Thu, 06 Nov 2003 16:28:14 +0200 501 Syntactically invalid EHLO argument(s)
quit
221 gabswave.net closing connection
Connection closed by foreign host.
Quoted 11 lines · David C. Hart
Quoted 4 lines · Stephan Viljoen
Some off my clients started complaining that they're having problems connecting to my mail server. Now all this worked fine up until yesterday. I'm not blocking any ports nor am I blocking ICMP on the network.
Rather slow but . . .
[root@mail2 root]# telnet 217.10.176.138 25
Trying 217.10.176.138...
Connected to 217.10.176.138.
Sure, the mail server is responding, but that doesn't explain the internal
network response to the pings. I don't think you can trace this problem
from the outside.
My question to Stephan is:
Why do you have multiple network ranges all plugged in to eth1 on the
Firewall? Looks like a bad idea to me (I'm not saying it won't work, but I
really don't like it).
Regards,
Antony.
Signature · 6 lines
The only problem with the Universe as a platform, though, is that it is
currently running someone else's program.
- Ken Karakotsios, author of SimLife
Please reply to the list;
please don't CC me.It works 100% fine from outside of the network. I'm getting the problem from some off my users on a private subnet. The thing that baffles me is that they can connect to any other server on the same IP subnet as the mail server with no problems.
-----Original Message-----
From: David C. Hart [mailto:[email protected]]
Sent: Thursday, November 06, 2003 4:34 PM
To: Stephan Viljoen
Cc: Iptables Mailing List
Subject: Re: Weird routing problem. (I think)
Quoted 5 lines · Stephan Viljoen
Some off my clients started complaining that they're having problems connecting to my mail server. Now all this worked fine up until yesterday. I'm not blocking any ports nor am I blocking ICMP on the network.
Rather slow but . . .
[root@mail2 root]# telnet 217.10.176.138 25
Trying 217.10.176.138...
Connected to 217.10.176.138.
Escape character is '^]'.
EHLO *****
220 gabswave.net ESMTP Exim 4.24 Thu, 06 Nov 2003 16:28:14 +0200 501 Syntactically invalid EHLO argument(s)
quit
221 gabswave.net closing connection
Connection closed by foreign host.
It's most probably ICMP redirect from your firewall to the clients since the firewall receives the packets and send them out of the same interface.
Try turning that off on the firewall.
echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects echo 0 > /proc/sys/net/ipv4/conf/default/send_redirects echo 0 > /proc/sys/net/ipv4/conf/eth1/send_redirects
Ramin
Quoted 74 lines · Stephan Viljoen
Hi There,
I'm sorry if I've mailed this to the wrong mailing list , but I reckon you guys would know best :)
Some off my clients started complaining that they're having problems connecting to my mail server. Now all this worked fine up until yesterday. I'm not blocking any ports nor am I blocking ICMP on the network.
If I try and ping the mail server from the clients computer I get the following message.
[root@ceda root]# ping 217.10.176.138
PING 217.10.176.138 (217.10.176.138) 56(84) bytes of data.Quoted 2 lines
From 10.0.5.1: icmp_seq=2 Redirect Host(New nexthop: 217.10.176.138) From 10.0.5.1: icmp_seq=3 Redirect Host(New nexthop: 217.10.176.138)
And here comes the weird part, the moment I restart the client's network all problems disappear for at least an hour or two. I have about 50 customers on my network and only about half off them is experiencing this problem and it's on both Windows / linux boxes.
I only have this problem accessing the mail server, the rest of the servers hosted on the 217.10.176.136/29 network works fine. I can also ping the same clients pc from the mail server without any problems.
[root@mail routers]# ping 10.0.5.2
PING 10.0.5.2 (10.0.5.2) 56(84) bytes of data. 64 bytes from 10.0.5.2: icmp_seq=1 ttl=64 time=0.260 ms 64 bytes from 10.0.5.2: icmp_seq=2 ttl=64 time=0.235 msHere's my network layout.
Cisco Router : (217.10.176.149/255.255.255.252)
-----------------------------FIREWALL : eth0 (217.10.176.150/255.255.255.252)
: eth1:client1 (10.0.5.1/255.255.255.252) : eth1:client2 (10.0.4.1/255.255.255.252) : eth1:mail (217.10.176.137/255.255.255.248)Routing table for the firewall.
10.0.5.0 0.0.0.0 255.255.255.252 U 0 0
0 eth1
10.0.4.0 0.0.0.0 255.255.255.252 U 0 0 0 eth1217.10.176.136 0.0.0.0 255.255.255.248 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 217.10.176.149 0.0.0.0 UG 0 0 0 eth0-----------------------------MAIL SERVER : eth0 (217.10.176.138/255.255.255.248)
Routing table on the Mail Server217.10.176.136 0.0.0.0 255.255.255.248 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 217.10.176.137 0.0.0.0 UG 0 0 0 eth0-----------------------------Client PC 1 : eth0 (10.0.5.2/255.255.255.252)
-----------------------------Client PC 2 : eth0 (10.0.4.2/255.255.255.252)
-----------------------------Some input would be greatly appreciated.
Kind Regards
Stephan