[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ2oMh+=1VKbJmj8v5s__xoJEb1JcUPRwrvJP3hQA6gBLiCLgg@mail.gmail.com>
Date: Wed, 2 May 2018 23:20:05 +0300
From: Ran Shalit <ranshalit@...il.com>
To: netdev@...r.kernel.org
Subject: DSA switch
Hello,
Is it possible to use switch just like external real switch,
connecting all ports to the same subnet ?
In our architecture, we prefer that all IPs connected to board shall
be in the same subnet.
Yet, I am not sure if it is possible with dsa switch, because in dsa
the ports are seen in linux as separated interfaces. If we set all
interfaces to the same subnet, it will be problematic, because cpu
won't know in which interface to send output packets, Right ?
for example, can I use the following configuration ? Does it only
require to config ip address of lan0-lan3 ?
net mask 255.255.0.0
lan0 - 10.1.0.1 ------ connected to PC 10.1.0.2
lan1 - 10.1.0.3
lan2 - 10.1.0.5
lan3 - 10.1.0.7 ------ connected to PC 10.1.0.8
Thank you,
ranran
Powered by blists - more mailing lists