Re: Multiple targets with same IP address?
From: pankaj jain
Date: Thu Aug 09 2007 - 04:36:49 EST
On 8/8/07, Brian Candler <B.Candler@xxxxxxxxx> wrote:
> On Wed, Aug 08, 2007 at 04:18:29PM +0530, pankaj jain wrote:
> > you have mentioned only eth0 in the figure, I dont know how you can
> > connect to multiple devices using single interface. if you are able to
> > connect then I am assuming that you are using a switch in between.
> > I would say you can use vlan aware switch.
>
> Yes, that's correct. eth0.1, eth0.2, eth0.3, eth0.4 are VLANs 1-4 on eth0 in
> the diagram I gave.
>
> > the port in which eth0 is connected will be configured for all
> > vlan-ids and the other ports on which the routers are connected will
> > be configured only for the corresponding vlan-id.
> >
> > The only problem I feel can occur in the learning phase of the switch
> > is whether it will forward arp requests on the basis of vlan-id or
> > broadcast to all ports. If it broadcasts it will be a problem.
>
> If it does, then it is not a switch, but a heap of junk. Broadcasts of any
> sort (ARP or otherwise) on one VLAN should never appear on ports belonging
> to any other VLAN.
>
> Anyway, I don't have any problem with the switch part; it's the Linux
> configuation to allow the same IP address range to appear on multiple
> interfaces which is the issue.
> If you prefer, consider my original diagram with four separate ethernet
> cards called eth0, eth1, eth2 and eth3. The problem remains the same.
>
> Regards,
>
> Brian.
>
It would be very helpful if you could please explain the issues which
we can face if we plumb the same IP address range on multiple interfaces
because I normally assign the ip addresses from the same subnet to all
of my interfaces.
--
Thanks
Pankaj Jain
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html