No route to host, SMTP doesn't work!

No route to host, SMTP doesn't work!

Post by hiroshiis.. » Mon, 08 May 2000 04:00:00



Hi ALL:

I am getting a network error, Deferred: No route to host. from sendmail.

Ping, nslookup and everything work fine.

So I tested as in the following example:

 telnet mx2.mail.yahoo.com 25

 telnet: unable to connect to remote host: No route to host

nslookup mx2.mail.yahoo.com returns valid IP addresses, of course.

Now I wonder the order in my routing table has something to do with it.

Or I have to enable ip_forword?

Can anyone tell me where to look for correction?

T.I.A.

-Hiroshi

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

No route to host, SMTP doesn't work!

Post by Maciej Mastalarczu » Tue, 09 May 2000 04:00:00


Quote:> Hi ALL:

> I am getting a network error, Deferred: No route to host. from sendmail.

> Ping, nslookup and everything work fine.

> So I tested as in the following example:

>  telnet mx2.mail.yahoo.com 25

>  telnet: unable to connect to remote host: No route to host

> nslookup mx2.mail.yahoo.com returns valid IP addresses, of course.

Hi,

Have you tried "traceroute mx2.mail.yahoo.com"?
What does it say?

Cheers,

--
Maciej Mastalarczuk


 
 
 

No route to host, SMTP doesn't work!

Post by hiroshiis.. » Tue, 09 May 2000 04:00:00


I did as below:

Back ground of the problem:

My goal is to replace a sendmail (8.9.3) server running on SunOS 4.1.4
(Sun Sparc 10)
with sendmail (8.9.3) on Debian Linux 2.2.12.

Have configured the most network components to run sendmail 8.9.3.
Can receieve mail without any problems, and can exchange mails locally.
However, outgoing mails were queued because of an error, Deferred: No
route to host.


Found its MX record, by sendmail -bt >/mx yahoo.com, as
mx2.mail.yahoo.com.
nslookup mx2.mail.yahoo.com returned 128.11.68.142 and more.
telnet  128.11.68.142 then got an error, Unable to connect to remote
host:No route to host.
If I use telnet mx2.mail.yahoo.com, it will translate 128.11.68.142 and
gives the same error.

So I tested another mailserver within fujitsu network but outside of my
subnet,
which is fujitu1.fujitsu.com at 133.164.254.1
 telnet 133.164.254.1 gave me log-in prompt
 telnet 133.164.254.1 25 started SMTP session.

I can telnet and log in without proble.  Just can make SMTP work!!

netstat -rn gave the foolowing:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
133.164.150.0   0.0.0.0         255.255.255.0   U     0      0        0
eth0
0.0.0.0         133.164.150.254 0.0.0.0         UG    1      0        0
eth0

(BTW, I have even added localhost itself to the above routting table
without success.)

traceroute mx2.mail.yahoo.com returned the following hops:

1  gateway1 (133.164.150.254)  2.028 ms  1.836 ms  1.684 ms
 2  133.164.211.254 (133.164.211.254)  5.253 ms  3.526 ms  3.515 ms
 3  GWI-FSC-7513.fujitsu.com (133.164.253.253)  3.856 ms  4.003 ms
4.046 ms
 4  GWI-VerioGate.fujitsu.com (133.164.253.251)  4.099 ms
GWI-DigexGate.fujitsu.com (133.164.253.250)  4.115 ms
GWI-VerioGate.fujitsu.com (133.164.253.251)  4.14 ms
 5  209.116.50.9 (209.116.50.9)  5.62 ms
hs-4-1-0.a01.snjsca01.us.ra.verio.net (204.247.122.142)  5.004 ms
209.116.50.9 (209.116.50.9)  5.149 ms
 6  p1-5-2.a05.snjsca01.us.ra.verio.net (129.250.122.98)  4.503 ms
sjc4-core2-fa0-0-0.atlas.digex.net (165.117.244.2)  5.975 ms  5.704 ms
 7  p4-1-2-0.a06.mtvwca01.us.ra.verio.net (129.250.122.106)  4.984 ms
sjc4-core6-pos1-1.atlas.digex.net (165.117.59.69)  5.542 ms
p4-1-2-0.a06.mtvwca01.us.ra.verio.net (129.250.122.106)  5.128 ms
 8  sjc3-core4.pos4-2.atlas.digex.net (165.117.60.1)  6.395 ms
p4-3-0.a05.mtvwca01.us.ra.verio.net (129.250.122.65)  4.831 ms
sjc3-core4.pos4-2.atlas.digex.net (165.117.60.1)  6.727 ms
 9  sjc3-bbn.atlas.digex.net (165.117.56.98)  7.344 ms
p4-0-0.a03.plalca01.us.ra.verio.net (129.250.122.69)  5.873 ms
sjc3-bbn.atlas.digex.net (165.117.56.98)  6.617 ms
10  g5-2-0.pao6.verio.net (129.250.15.1)  5.568 ms
p2-0-0.sucolo-core1.bbnplanet.net (4.0.1.38)  7.411 ms
g5-2-0.pao6.verio.net (129.250.15.1)  5.541 ms
11  fa11-1-0.sucolo-border1.bbnplanet.net (128.11.48.21)  7.531 ms
p3-1.paix-bi1.bbnplanet.net (4.0.6.6)  5.571 ms
fa11-1-0.sucolo-border1.bbnplanet.net (128.11.48.21)  7.997 ms
12  128.11.48.90 (128.11.48.90)  9.108 ms
p7-0.paloalto-nbr2.bbnplanet.net (4.0.6.101)  5.726 ms  5.795 ms
13  mta127.mail.yahoo.com (128.11.68.142)  8.088 ms
p2-0-0.sucolo-core2.bbnplanet.net (4.0.1.66)  6.797 ms
mta127.mail.yahoo.com (128.11.68.142)  9.85 ms

I don't have any firewall.  The default gateway may be a router,
133.164.150.254
Since the Sun mailserver is working, config on the new Linux server must
be wrong somewhere.

The system name and o/s version number in
Debian Linux 2.2.12 with sendmail 8.9.3.

Thank you very mcuh.



> > Hi ALL:

> > I am getting a network error, Deferred: No route to host. from
sendmail.

> > Ping, nslookup and everything work fine.

> > So I tested as in the following example:

> >  telnet mx2.mail.yahoo.com 25

> >  telnet: unable to connect to remote host: No route to host

> > nslookup mx2.mail.yahoo.com returns valid IP addresses, of course.

> Hi,

> Have you tried "traceroute mx2.mail.yahoo.com"?
> What does it say?

> Cheers,

> --
> Maciej Mastalarczuk


Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

1. ping -g 'gateway-IP' 'host-IP' DOESN'T work!

Hello guys,

I have a machine with two interfaces, each connected to
a gateway. This two gateways are then connected to a common
network and I want to ping another router in that network over
the two interfaces.

Looks like this:
                        Gateway 1
                           ----
               ------------|  |------------
              | Subnet A   ----            |
            ----
Machine    |  |                Subnet C   Router
            ----
              | Subnet B   ----            |
               ------------|  |------------
                           ----
                        Gateway 2

Now if I type following on my machine it doesn't work:

ping -g 'IP in Subnet A of Gateway 1' 'Router-IP-address'

But if I do a ping (Defaultgateway is 'IP in Subnet A of Gateway 1'
(without -g) it works fine:

ping 'Router-IP-address'

Can someone give me a hint? Thanks in advance!

Cheers, Walter

2. merge in progress.

3. Re. bffcreate -X doesn't work Re: bffcreate -X Doesn't Work

4. Mounting NeXTStep? UFS?

5. Apache's SSI doesn't work for virtural hosts' directories.

6. Why all the hate?

7. hosts.deny doesn't deny SMTP & HTTP

8. Apache Server V Netscape Server

9. SMTP only listens on host.domain.com:smtp want *:smtp

10. smail vs sendmail WAS: SMTP doesn't work

11. SMTP doesn't work right?

12. DNS works, but get 'no route to host' for everything.

13. 'No route to host' routing problems