Hello Oki,Thank you.

> > Hi all.
> >
> > Sorry,I have amateur problem. Please help me.
> >
> > When my computer has one NIC(eth0 only),SENDMAIL starting very fast,
> > But when the computer has more than two NIC(eth0 and 2),SENDMAILtakes
> > long time (about 2min).Where is Packet.
> > Telnet from local PC get connection,but takes long time,too.
> > Who can understand my mistakes?
>
> Once, I had the same problem too, but I had a NIC and a PPP connections.
> The problem was due to the DNS server that couldn't be found; in
> /etc/resolv.conf, usually you have:
> nameserver a_dns_server
>
Actualy,Local Networks doesn't have DNS,resolve.conf has Global Network DNS
only.
Was this a cause?
>
> If the a_dns_server can't be found (or is not up during the lookup),
> telnetting to the server would take a long time.
>
I find another cause now. When I was setting up ip_masq(ipchains),
I set up,
     ipchains -A forward -s 192.168.1.0/24 -j MASQ
instead of,
     ipchains -A forward -s 192.168.1.0/24 -d ! 192.168.1.1 -j MASQ

Can you understand?.

My local packet always transfered to global interface.

>
> My mail server, which is a dial-up client, doesn't have any references to
> outside dns servers. It's a bit unfortunate, but since telnetting is
> faster...
>
 I will try it that you say, Thank you.

-Katsumi


Reply via email to