> I am bit confused on how dsa needs to be actually working,
> Q's
> 1] should I be running a dhcp server on eth1 (where switch is connected)
> so that devices connected on lan* devices get an ip ?
Nope. You need eth1 up, but otherwise you do not use it. Use the lanX
interfaces like normal Linux interfaces. Run your dhclient on lanX, etc.
>
> 2] From the device where switch is connected if the cpu port wants to send
> any data to any other user ports lan* how do i do it (just open
> socket on eth1 or lan*) ?
Just treat the lanX interfaces as normal Linux interfaces.
Andrew