Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem with multiple virtual interfaces

Reply
Thread Tools Display Modes

Problem with multiple virtual interfaces

 
 
Brian Laughton
Guest
Posts: n/a

 
      06-23-2004, 08:53 AM
I am having a problem with multiple virtual interfaces on a Linux
(slackware) box running kernel 2.4.22

The box is being used to host multiple FTP sites (hence multiple IP's on
the same subnet)

I have multiple interfaces configure as follow

eth0 xxx.xxx.xxx.48 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:1 xxx.xxx.xxx.49 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:2 xxx.xxx.xxx.50 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:3 xxx.xxx.xxx.51 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:4 xxx.xxx.xxx.52 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:5 xxx.xxx.xxx.53 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:6 xxx.xxx.xxx.54 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
eth0:7 xxx.xxx.xxx.55 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255


From a second machine I can ping everything execpt xxx.xxx.xxx.52. I
have removed and added the interface back. changed the order, put the
IP on a different interface. Switched the interface with another, but
it refuses to ping.

A tcpdump shows the following ...

tcpdump -n <host doing the ping>02:45:18.837306 IP 209.250.142.154 >
209.250.128.44: icmp 64: echo request seq 240
02:45:19.837932 IP yyy.yyy.yyy.yyy > xxx.xxx.xxx.52: icmp 64: echo
request seq 241
02:45:19.837932 IP yyy.yyy.yyy.yyy > xxx.xxx.xxx.52: icmp 64: echo
request seq 242
02:45:19.837932 IP yyy.yyy.yyy.yyy > xxx.xxx.xxx.52: icmp 64: echo
request seq 243
02:45:19.837932 IP yyy.yyy.yyy.yyy > xxx.xxx.xxx.52: icmp 64: echo
request seq 244


Why are there no echo respones ? The tcpdump for trying to ping any
other interface on the box does show the "echo response". I see the
same behavior with any other kind of attempt to reach the box. I see
requests coming in, but no responses going out

Any help appreciated.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      06-24-2004, 01:15 AM
On Wed, 23 Jun 2004, Brian Laughton <(E-Mail Removed)> wrote:
> I am having a problem with multiple virtual interfaces on a Linux
> (slackware) box running kernel 2.4.22
>
> The box is being used to host multiple FTP sites (hence multiple IP's on
> the same subnet)
>
> I have multiple interfaces configure as follow
>
> eth0 xxx.xxx.xxx.48 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:1 xxx.xxx.xxx.49 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:2 xxx.xxx.xxx.50 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:3 xxx.xxx.xxx.51 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:4 xxx.xxx.xxx.52 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:5 xxx.xxx.xxx.53 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:6 xxx.xxx.xxx.54 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
> eth0:7 xxx.xxx.xxx.55 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>
>
> From a second machine I can ping everything execpt xxx.xxx.xxx.52. I
> have removed and added the interface back. changed the order, put the
> IP on a different interface. Switched the interface with another, but
> it refuses to ping.


Maybe the host you are trying to ping from does not understand your
inconsistant netmask/broadcast. That netmask/broadcast pair would be for
network x.x.x.128 IPs from x.x.x.129 to x.x.x.254. For your IPs
(x.x.x.126 or lower) and that netmask, the broadcast would be x.x.x.127.

But maybe it is some other routing glitch. Does the output of
"/sbin/route -n" mention that IP or any other funky network/netmask pairs
that might accidently include it?

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Brian Laughton
Guest
Posts: n/a

 
      06-24-2004, 06:34 PM
David Efflandt wrote:
> On Wed, 23 Jun 2004, Brian Laughton <(E-Mail Removed)> wrote:
>
>>I am having a problem with multiple virtual interfaces on a Linux
>>(slackware) box running kernel 2.4.22
>>
>>The box is being used to host multiple FTP sites (hence multiple IP's on
>>the same subnet)
>>
>>I have multiple interfaces configure as follow
>>
>>eth0 xxx.xxx.xxx.48 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:1 xxx.xxx.xxx.49 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:2 xxx.xxx.xxx.50 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:3 xxx.xxx.xxx.51 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:4 xxx.xxx.xxx.52 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:5 xxx.xxx.xxx.53 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:6 xxx.xxx.xxx.54 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>eth0:7 xxx.xxx.xxx.55 netmask 255.255.255.128 broadcast xxx.xxx.xxx.255
>>
>>
>> From a second machine I can ping everything execpt xxx.xxx.xxx.52. I
>>have removed and added the interface back. changed the order, put the
>>IP on a different interface. Switched the interface with another, but
>>it refuses to ping.

>
>
> Maybe the host you are trying to ping from does not understand your
> inconsistant netmask/broadcast. That netmask/broadcast pair would be for
> network x.x.x.128 IPs from x.x.x.129 to x.x.x.254. For your IPs
> (x.x.x.126 or lower) and that netmask, the broadcast would be x.x.x.127.
>
> But maybe it is some other routing glitch. Does the output of
> "/sbin/route -n" mention that IP or any other funky network/netmask pairs
> that might accidently include it?
>

Correct broadcast to .255, still not working.

A tcpdump on the hosts machine does see the ping requests come in - it
just not replying to them on this one IP



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      06-24-2004, 10:02 PM
can you please print your routing table?


raqueeb hassan
congo (drc)
 
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
IPTables with Virtual Interfaces and Multiple Public IPs martin.fowler@gmail.com Linux Networking 2 08-08-2007 06:36 PM
Multiple Virtual Ethernet Interfaces netfiber@gmail.com Linux Networking 0 02-02-2007 12:05 AM
How to use ospfd and zebra on virtual interfaces? sandy Linux Networking 0 10-28-2005 07:53 AM
Virtual Ethernet Interfaces Troy C Linux Networking 6 10-10-2004 10:52 PM
Help with dhcpd and virtual interfaces noc Linux Networking 1 07-10-2003 04:59 PM



1 2 3 4 5 6 7 8 9 10 11