[SOLVED] No Luci web console / creating a bridge [SOLVED]

So i installed OpenWRT x64 on a custom build
ASUS veriton PC
Default integrated nic (1x port 10gb RTL8211DN) eth5
and I installed and got working (as far as i can tell) 2 cards
1x port 2.5gb Realtek 8125BG eth4
4x port 1gb BC5719-4P eth0-3

What i would like is the 5 new ports given by the 2 cards to be part of one bridge network (all ips on the same subnet) and the single integrated ethernet port on the motherboard to be the WAN port. I know it is possible but I am not skilled enough in /etc/config/network. I can download updates through the eth5 WAN port which seems to be working fine. I believe this bridging can be done through the web interface right? Except I cant figure out how to get there. LuCi is installed, must I enable it or something? Should this just be done through /etc/config/network anyways? here is my current /etc/config/network file before i gave up after some hours.
I apologize in advance i ripped it apart and i have no idea what im doing anymore


config interface 'loopback'
 option device 'lo'
 option proto 'static'
 option ipaddr '127.0.0.1'
 option netmask '255.0.0.0'

config globals 'globals'
 option ula_prefix 'fd97:cdea:361d::/48'

config interface 'lan'
 option type 'bridge'
 option ifname 'eth0 eth1 eth2 eth3 eth4'
 option device 'eth0 eth1 eth2 eth3 eth4'
 option proto 'static'
 option ipaddr '192.168.1.1'
 option netmask '255.255.255.0'

config interface 'wan'
 option device 'eth5'
 option proto 'dhcp'

if you notice, im not using ipv6, and am setting this up as a main router/modem that ideally will have switches and access points plugged into it and maybe some devices directly.
Any and all help is appreciated! thank you

Hi

how did you get /etc/config/network file ?
with SSH ?

took a photo and retyped it :stuck_out_tongue:

i can get it through ssh if you want it that way, but i copied it word for word

i think that this line should be removed

should be

list ports 'eth0'
list ports 'eth1'
list ports 'eth2'
list ports 'eth3'
list ports 'eth4'

ill try that right now

Sorry
writing on forum without morning coffe is bad idea :frowning:

so

config device
        option type 'bridge'
        option name 'br-lan'
        list ports 'eth0'
        list ports 'eth1'
        list ports 'eth2'
        list ports 'eth3'
        list ports 'eth4'


config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'

will be better :slight_smile:

okay one minute, gonna try this now

and theres no name behind 'config device'? like with other lines?

after a reboot of the machine im getting this

Management side-band traffic will be interrupted during phy settings change
br-lan: port1 entered blocking state
br-lan: port1 entered disabled state

for eth0-eth4
Should i be worried?
I AM however getting 192.168.1.1 showing on br-lan after an ip addr

that was it man! i can access the luci web interface now too!

Hi

i am glad that your OpenWRT is up&running

please edit title with [solved]
and mark answer as "solution"

will do, youre a legend! thank you so much, where did you learn more about options inside /etc/config/network

my job is maintaining a networks at customers, with very exotic devices & vendors :smiley:

very cool, thank you again!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.