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.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to