Single Ethernet Port Device, Plus Ethernet Unmanaged Switch

No I just thought maybe there is some kind of device with good ram cpu etc.
But anyway in your case there is no way u can get what u want without L2 switch, so u can use any switch with L2 and higher.
In openwrt u will use VLAN interfaces like real ones and your only port will send tagget packets from diffrent VLANs interfaces to your switch L2 or higher and there will be separated to diffrent ports

1 Like

usually it's pretty simple...

If your singular ethernet port is device eth0, then you'll simply put eth0.x where x is the VLAN ID. By using the dotted notation, it will automatically apply the 802.1q tags the network with the VLAN ID

So, for your lan, you'll use device 'eth0.10'
for the wan, you'll use device 'eth0.20'

Post your config files if you need additional guidance and/or a review:

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

the part where I am stuck is the labeling of the ports for the switch

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '10'
	option description 'lan'
	option ports ''

I dont think so, if u didn't make it tagged it won't be marked automatically

1 Like

Can you tell me what kind of switch you have now?
What model and what OS

1 Like

Zyxel GS1900-24E and Stock firmware

This is the GS1900-24E that you're talking about? or the router?

1 Like

The switch is the

Here is what i have



And i am completely confused as to what to place inside openwrt network config.

OK, you wanna make it openwrt or use their Zyxels firmware?

1 Like

Can i connect to your desctop?

1 Like

Exactly what I had given you earlier...

Were you trying to put this in your OpenWrt config (on the single port router)?

1 Like

I have a single ethernet port mini-pc I want to Tag traffic from the modem, to the openwrt x86/64 mini pc via way of the 24 port zyxel switch using the zyxel firmware to setup tags.

image

The thing is for me it is easier to try to sett this myself using some remotedesktop than explane evrything, but if u don't have it I will type

I am actually not running this online ATM. everything is disconnected.

Let's just see your config files...

1 Like

Well I understand now the chema
Do you have additional temp switch for now? U need to put it beetwin 1 port device and Zuxel and PC from wich you make all configuration

1 Like

no other switches should be necessary.

1 Like

the way I have it setup is the first port is left untagged so i can plug a laptop into it for quick maitenance.