Hi,
this is my first post here so please be gentle
I would say that I am very familiar with linux, networking and the cli and understand the most of the OpenWrt configs as well. But after numerous tries of resetting OpenWrt, trying snapshot and stable and so on I can't find where my problem is
The following steps have I performed:
I created a new bridge device (br-test)
I created a new interface (test) and set it to static with the ip 192.168.1.1 and the subnet 255.255.255.0 and enable the dhcp option in here
I attached this interface to the wireless adapter
My config looks like the following (With omiting lan, wan etc. for now):
Yeah, of course Bad example haha.
Yesterday I also had the ip address of the lan interface changed and also tried it right now again => Still no ip assigning
For reference, changed it now to this:
# /etc/config/network
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 'fdb1:7633:017a::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config device
option name 'lan'
option macaddr '34:98:b5:04:51:53'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option type 'bridge'
option name 'br-test'
option bridge_empty '1'
config interface 'test'
option proto 'static'
option device 'br-test'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
When I assign the "lan" network I get an ip address from the pool 192.168.1.0/24. But the "test" network still does not do it
What I want to try is to implement an AP in my existing network to have additional, separated IoT Networks for example which I can route from and to my home network.
Thanks but no, I enabled the 2.4 one for testing Otherwise I wouldn't have been able to connect in first place.
So yes, one is (now ) active, I can connect but my device gets stuck on "receiving ip address", so obviously some dhcp error.
Sorry, was a bit in a rush
Thought I have enabled the radio before copying the config but must have been other way around But now it is my actual config
so, nobody got an idea?
I really tried everything but I only get dhcp on the default, already existing "lan" interface. Every custom created interface doesn't resolve an ip address from its pool
this "Netgear EAX12" device has only:
1 ethernet port (br-lan)
1 2.4 GHz radio (probably assigned to br-test)
1 5.0 GHz radio (probably assigned to br-lan)
a repeater of an existing network (lan - etherport)
other
for now your br-test bridge is empty and it is therefore obvious that connecting a pc to the only ethernet port offers an ip address of the br-lan interface
regarding the 2.4 GHz wifi network on br-test please repost all the complete files as you have made changes after the first post and diagnose errors is really difficult ...
ps: some general tips that will allow you to choose what you want to achieve:
I'm trying to build (atleast) one wifi SSID which serves an isolated network for some IoT devices.
At the moment it is just testing so I tried to let everything mostly basic, therefore there is no upstream or anything atm.
My (learning) goal at the moment is just the following: I want to create a new isolated network on this OpenWrt device for some IoT devices that can connect via wifi to it (and later route it to my main network selective per device).
As mentioned: If I assign the lan bridge (without any upstream!) to my wifi I get an ip address of the br-lan ip range.
If I assign br-test to it (with different ip range) I don't get an ip assigned when I connect via wifi.
So: I am just testing at the moment, I will later integrate it to my existing network
Of course I can post the rest of my config later but I am currently not in reach of the device
Maybe we should roll it the other way around: What would be the best way to achive my goal of an isolated network on this device?
Did you assign this new network to a firewall zone? Try assigning it to the lan firewall zone (remove it from any other zones, if applicable). Then restart and test again.
If it doesnβt work, please post all of the latest configs.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have: