Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Slackware 9.1- secondary IP problem

0 views
Skip to first unread message

Matt

unread,
Jun 23, 2004, 2:18:22 AM6/23/04
to
Hello,

I have a Slackware server setup with the following running sendmail &
bind:

ifconfig eth0 172.16.0.1
ifconfig eth0:0 192.168.0.1

I have a PC (IP 192.168.0.10) connected directly to this box.

The PC and ping the server on 192.168.0.1 no problems. But when I try
to telnet to port 25 the SMTP mailer header takes around 20 seconds to
appear. When I change the IP address of the PC to 172.16.0.10 the SMTP
mailing header appears straight away.

I changed eth0:0 to 172.16.0.2 and could telnet to port 25 using both
172.16.0.1 and 172.16.0.2 and the header appears straight away. It
appears only to be a problem when eth0:0 is configured on a different
subnet to eth0.

Any ideas? Thanks.

Davide Bianchi

unread,
Jun 23, 2004, 4:05:00 AM6/23/04
to
Matt <gree...@yahoo.com> wrote:
> ifconfig eth0 172.16.0.1
> ifconfig eth0:0 192.168.0.1

AFAIK the first 'alias' for every Nic is 1, not 0.

> to telnet to port 25 the SMTP mailer header takes around 20 seconds to
> appear. When I change the IP address of the PC to 172.16.0.10 the SMTP
> mailing header appears straight away.

Probably because of name resolutions, check your routing and DNS
configuration.

> I changed eth0:0 to 172.16.0.2 and could telnet to port 25 using both
> 172.16.0.1

That's because the packets are sent to the same interface.

Davide

--
| A copy of the universe is not what is required of art; one of the
| damned things is ample. -- Rebecca West
|
|

GVK

unread,
Jun 23, 2004, 6:52:49 AM6/23/04
to

Try changing eth0:0 to eth0:1. AFAIK, eth0:0 won't work. And, check your
DNS configuration.

regards,
GVK

Matt

unread,
Jun 23, 2004, 7:03:02 PM6/23/04
to
Thanks guys - DNS problem, don't worry I've already kicked myself for
missing that one.


GVK <vams...@students.iiit.net> wrote in message news:<cbbnco$r8u$1...@news.wplus.net>...

0 new messages