how to set a master port and a slave port

hello,
I have this situation:
internet ---- router --(eth1)-- switch ---- machines
The lan is 192.168.1.0
The local address of the router is 192.168.1.1
I configured address list, routes, nat and everything is ok

Now I want to connect direcly on the router (eth2) a wifi AP
Actually the ip address of the AP is 192.198.1.2: it belongs to the same lan

Shall I declare the eth2 port as the slave of eth1 and eth1 as the master ?
If yes, where can I find the method (in the forum, in a tutorial, …) ?

Note that I didn’t use the bridging !
Thank you by advance

A typical setup is where you have ether1 as your WAN interface. It’s master is NONE and it is not a bridge port member. Then you have ether2 set to master None. It is, however, a member of a bridge. Then you get ether3-ether5 and make them slaves of ether2. Connect your AP to any port other than ether1.

As I wrote, I connected AP on ether3 but no access to internet !?
Shall I declare ether3 as slave of ether2 ?
If yes, I didn’t find the method in the gui (no options in the interfaces window.

If you look at the interfaces and select a LAN connection (in your case ether3) you see the option ‘Master Port’. Here you can select ether2.
In the picture the master port hasn’t been set yet:

Not me ! Note I have a ccr1009-7g-1c-pc
I don’t know how to paste an image to show you :frowning:

You can’t do master/slave on a CCR.

You will need to create a bridge and add all the ports to that if you want to switch them. The CCR’s don’t have a switch chip.

Why didn’t you say that in post #1 then?
And mention the version of ROS you are using.
Not rocket science, is it?

because I am a newbie :laughing:

A bridge already exist by default (bridge1). All ports have the “S” mention.
Shall I create a new bridge ?

If ports have an “S” next to them then this means they are part of a switch configuration. They are probably part of the existing bridge. Have a look in Bridge>Ports and see which belong to it.

Yes they belong to it.
Is it possible to disable one of ports ?
If yes, is it usefull ? i.e personnalized the port for the voip traffic