Networking Forums

Networking Forums > Computer Networking > Linux Networking > Slackware 9.1- secondary IP problem

Reply
Thread Tools Display Modes

Slackware 9.1- secondary IP problem

 
 
Matt
Guest
Posts: n/a

 
      06-23-2004, 06:18 AM
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.
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      06-23-2004, 08:05 AM
Matt <(E-Mail Removed)> 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
|
|
 
Reply With Quote
 
GVK
Guest
Posts: n/a

 
      06-23-2004, 10:52 AM
Matt wrote:
> 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.


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

regards,
GVK
 
Reply With Quote
 
Matt
Guest
Posts: n/a

 
      06-23-2004, 11:03 PM
Thanks guys - DNS problem, don't worry I've already kicked myself for
missing that one.


GVK <(E-Mail Removed)> wrote in message news:<cbbnco$r8u$(E-Mail Removed)>...
> Matt wrote:
> > 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.

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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 and BCM4401 nic problem Leo Linux Networking 0 03-14-2005 05:03 PM
Problem bringing up network interfaces with slackware Madhusudan Singh Linux Networking 1 08-09-2004 02:20 PM
slackware 9.0 ppp problem Stojan Linux Networking 0 05-27-2004 12:26 AM
Secondary address problem Jerry Bacon Wireless Internet 4 01-29-2004 02:27 AM
weird network problem with slackware Mark Linux Networking 0 09-28-2003 07:52 PM



1 2 3 4 5 6 7 8 9 10 11