I'm new to OpenWRT. I am looking around for a new firewall and found I can install this on a generic intel 4 port mini PC (Similar to Protectli). I managed to install it and found that the first nic is set in a bridge br-lan. When I tried to remove it from the bridge everything fell apart, even recreating the bridge did not allow network traffic.
Each VLAN has an interface for routing. I don't wish to do bridging with any of the NICs. I could not find a guide for doing this and I'm guessing because it was written for embedded devices?
Thank you for reply, although I think I didn't explain it properly. Configuring the VLANs is all good and I do have multiple networks on a single link. What I would like to know is the configuration as it did not seem to work. All examples use a bridge. I don't need a bridge.
Forget VLANs for the moment just simple setup as shown below does not work? noticed there is a config interface and config device. Believe I am missing something. When I use this configuration my eth1 interface does not come up and it doesn't have an IP address. Forgive me learning the syntax.
Following
config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'
config globals 'globals'
option dhcp_default_duid '0004redacted'
option ula_prefix 'fd9f:acbd:1234::/48'
option packet_steering '2'
# Remove bridge information
# Do I need a config device here ?
# config device
# option name 'eth1'
# ports eth1
config interface 'lan'
option device 'eth1'
option proto 'static'
list ipaddr '192.168.1.1/24'
option ip6assign '60'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
some guidance on configuration would be awesome - appreciate it !
You have 2 network interfaces claiming the same device. This is impossible.
It also is invalid because both would be untagged on the same device.
Is it your intent to have the lan and wan operate on the same physical port? (This can be done -- it's called a "router on a stick", but it's not always best practice and/or the best method).