Cannot edit LAN interface
-
This is my VLANS table
If I try to delete any of the duplicates from the interfaces/VLANS I get the error
But I cannot disable LAN interface because I still get "This Switch port is already in used by another interface."
I have not added any of these vlans, they seem to get created by the system automatically
-
Um, yeah that VLANs list looks..... interesting! You should only have 3 listed there.
But the important setting, the 'Switch port' value, is on the interface configure page and not shown on any of those tables.
-
Yeah the webgui error checking probably won't let you do that because they are duplicated.
You may have to edit them out of the config directly.
If you backup the config in Diag > Backup/Restore and check the xml file do you see all those VLANs listed?
-
Yes I do.
-
Ok I would remove all but the expected three from the config. The VLANs section should be:
<vlans> <vlan> <if>mvneta0</if> <tag>4090</tag> <descr><![CDATA[WAN]]></descr> <vlanif>mvneta0.4090</vlanif> </vlan> <vlan> <if>mvneta0</if> <tag>4091</tag> <descr><![CDATA[LAN]]></descr> <vlanif>mvneta0.4091</vlanif> </vlan> <vlan> <if>mvneta0</if> <tag>4092</tag> <descr><![CDATA[OPT]]></descr> <vlanif>mvneta0.4092</vlanif> </vlan> </vlans>
While you are there check the interfaces section. Only the LAN should show:
<switchif>switch0.port2</switchif>
The WAN and OPT should be using ports 3 and 1 respectively.
-
Ok I deleted the duplicate vlans and now the interface assignments/vlans page looks like this
But I still cannot edit the settings on the LAN port
Can I use the same method to fix this, by editing the config file directly?
I know the WAN and OPT ports are correct, I am using the router now.
*Just to clarify the IPv6 Configuration Type is listed, and will revert to on refresh, "Track Interface"
-
Right because it's seeing a conflict. Did you check the WAN and OPT to see what Port those are set to? One of them is probably, incorrectly, also set to Port2.
-
I backed up the XML of interfaces only and it looks like this
Interestingly, the WAN interface does not explicitly state which port is in use, but that is the port that is plugged into my modem.
Can I just change my LAN IP here and reupload this config? I note that on my LAN 2 (opt) there are no entries for ipaddrv6 or subnet v6 so if I delete these entries in the LAN section of the file will this have the desired effect of setting the IPV6 Configuration type to none?
-
Hmm, curious. Yes the WAN is PPPoE so it's not on the switch interface directly.
Yes, you can just set the LAN IP there and restore the config bypassing the gui error checking.
You may need to update the DHCP server range for LAN also.
I'll try to replicate that.
-
Thanks a lot for your time today.