OpenWrt Forum Archive

Topic: Basics

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

I am new to openwrt, but need to try understand some things.

I have flashed my RB750 and her openWRT running. I am confused with the default setup.

on the switch screen I see a CPU port and only 4 other ports, my RB750 has 5 physical ports,
Are vlans always required, what is If just want a five ports switch and just assign a ip tp port 1

Finally is it possible to setup each physical port as a ethernet adapter eth0, eth1, eth2 etc....

On some devices, the WAN port is connected directly to the CPU, so you have eth0 for the switch and eth1 for the WAN port (or viceversa).

Using VLANs will create interfaces like eth0.1, eth0.2, ...

Thanks for the reply.
So one cannot change that config. WAN must remain as cpu.

Is it possible to just use the switch without vlans?
Can you make the wan Port part of the switch so you just have a  5 ports switch?
Can each port be a lan interface eth0 eth1 etc?
How do you assign those physical ports to their interfaces et0 etc

If you want all 5 ports in the LAN, just move both Ethernet interfaces into the LAN network bridge (Network - interfaces - LAN - physical settings in the web configuration).  You can then delete the WAN network since you're not using it.

If you want to be able to attach the 4 "LAN" ports to different networks, like eduperez said, set up the switch (Network - Switch) with VLANs.  They should be tagged to the CPU and untagged to the respective physical port(s).  Each physical port must be "untagged" in only one VLAN and "off" in all the others.  After setting this up, a network that uses eth0.1 will go to the cable number 1 and only to that cable, as if there were multiple CPU ports.

(Last edited by mk24 on 6 Sep 2017, 05:55)

The discussion might have continued from here.