Hi folks,
I stumbled upon weird problem. After every reboot "Software VLAN" interface appeares :
I can delete this interface by specifying it as an interface in Luci and then delete it. But after reboot it's back... Also it automaticaly gets IP adddress whitch is reachable from local LAN.
I am not using VLAN functionality. I have no idea when this started and why.
/etc/config/network doesn't specify any VLAN interfaces (except default ones).
Apart from the untagged CPU interface, I don't see anything else wrong.
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
ubus call system board; \
uci export network;
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru
Thanks. So untagget CPU interface is wrong ? I didn't alter VLAN configuration in any way. It was like this since clean install. This device is clasic router. Should I change VLAN configuration ?
Output from your commands :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
inet x.x.x.x/22 brd x.x.x.255 scope global eth0
valid_lft forever preferred_lft forever
4: eth1.1@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 192.168.1.1/24 brd 192.168.1.255 scope global eth1.1
valid_lft forever preferred_lft forever
7: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 10.9.8.1/24 brd 10.9.8.255 scope global br-lan
valid_lft forever preferred_lft forever
8: br-hostia: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 10.10.10.1/24 brd 10.10.10.255 scope global br-hostia
valid_lft forever preferred_lft forever
12: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1549 qdisc fq_codel state UNKNOWN group default qlen 100
inet 10.33.3.23/24 brd 10.33.3.255 scope global tun0
valid_lft forever preferred_lft forever
default via x.x.x.1 dev eth0 table 201
10.9.8.0/24 dev br-lan table 201 proto kernel scope link src 10.9.8.1
10.10.10.0/24 dev br-hostia table 201 proto kernel scope link src 10.10.10.1
192.168.1.0/24 dev eth1.1 table 201 proto kernel scope link src 192.168.1.1
default via 10.33.3.23 dev tun0 table AirVPN
10.9.8.0/24 dev br-lan table AirVPN proto kernel scope link src 10.9.8.1
10.10.10.0/24 dev br-hostia table AirVPN proto kernel scope link src 10.10.10.1
192.168.1.0/24 dev eth1.1 table AirVPN proto kernel scope link src 192.168.1.1
default via x.x.x.1 dev eth0 proto static src x.x.x.x
10.9.8.0/24 dev br-lan proto kernel scope link src 10.9.8.1
10.10.10.0/24 dev br-hostia proto kernel scope link src 10.10.10.1
10.33.3.0/24 dev tun0 proto kernel scope link src 10.33.3.23
x.x.x.0/22 dev eth0 proto kernel scope link src x.x.x.x
192.168.1.0/24 dev eth1.1 proto kernel scope link src 192.168.1.1
broadcast 10.9.8.0 dev br-lan table local proto kernel scope link src 10.9.8.1
local 10.9.8.1 dev br-lan table local proto kernel scope host src 10.9.8.1
broadcast 10.9.8.255 dev br-lan table local proto kernel scope link src 10.9.8.1
broadcast 10.10.10.0 dev br-hostia table local proto kernel scope link src 10.10.10.1
local 10.10.10.1 dev br-hostia table local proto kernel scope host src 10.10.10.1
broadcast 10.10.10.255 dev br-hostia table local proto kernel scope link src 10.10.10.1
broadcast 10.33.3.0 dev tun0 table local proto kernel scope link src 10.33.3.23
local 10.33.3.23 dev tun0 table local proto kernel scope host src 10.33.3.23
broadcast 10.33.3.255 dev tun0 table local proto kernel scope link src 10.33.3.23
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
broadcast x.x.x.0 dev eth0 table local proto kernel scope link src x.x.x.x
local x.x.x.x dev eth0 table local proto kernel scope host src x.x.x.x
broadcast x.x.x.255 dev eth0 table local proto kernel scope link src x.x.x.x
broadcast 192.168.1.0 dev eth1.1 table local proto kernel scope link src 192.168.1.1
local 192.168.1.1 dev eth1.1 table local proto kernel scope host src 192.168.1.1
broadcast 192.168.1.255 dev eth1.1 table local proto kernel scope link src 192.168.1.1
0: from all lookup local
32762: from all fwmark 0x20000/0xff0000 lookup AirVPN
32763: from all fwmark 0x10000/0xff0000 lookup 201
32766: from all lookup main
32767: from all lookup default
It's unusual, but if you didn't touch that I might as well be wrong.
Remove this from wan interface.
Also fix the redacted addresses, you have masked private IPs.
Finally, did you keep settings when upgrading from major releases, like 17.01 or 18.06?
done. Also only public IPs and MACs are now redacted.
This could be true. To be honest, I don't remember as I make changes quite often and save configuration regularly. I keep separate configs only between snapshot and stable branches.
There is one way to find out, backup/reset/reconfigure.
However if you are not too concerned you can leave it as it is. Anytime soon the 21.02 will be released and you can see how it will be after a clean upgrade.
The "software VLANs" are created one for each VLAN in the switch on the assumption you have tagged CPU ports and need them to connect to networks. If you're not tagging the CPU ports you can ignore them.
However, tagged CPU ports are necessary to expand to more than two networks on Ethernet, so many router's default configuration is to have them.
Once your platform is migrated to DSA then all of this becomes moot.
Yes those _orig_ lines are a clue to that. That is no longer used. You can delete all such lines from your config files, they are not affecting anything.