[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180726153906.GA10686@lunn.ch>
Date: Thu, 26 Jul 2018 17:39:06 +0200
From: Andrew Lunn <andrew@...n.ch>
To: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [Query]: DSA Understanding
> 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
Powered by blists - more mailing lists