Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
Posted: Sat Feb 24, 2018 16:38 Post subject:
On some routers, the processor port needs tagging.
nvram set vlan1ports="0 1 2 3 4t 5"
nvram set vlan11ports="4t 5t"
nvram set vlan12ports="4t 5t"
nvram set vlan13ports="4t 5t"
nvram set vlan14ports="4t 5t"
On some routers, the processor port needs tagging.
nvram set vlan1ports="0 1 2 3 4t 5"
nvram set vlan11ports="4t 5t"
nvram set vlan12ports="4t 5t"
nvram set vlan13ports="4t 5t"
nvram set vlan14ports="4t 5t"
Hi, I've already run these commands...
Per Yngve Berg wrote:
The ports are labelled backwards, so port labelled 1 is port 4 in the chip. Port 0 is the WAN (not assigned to any VLAN in your screenshot). I have set it to VLAN1.
nvram set vlan11hwname=`nvram get vlan1hwname`
nvram set vlan12hwname=`nvram get vlan1hwname`
nvram set vlan13hwname=`nvram get vlan1hwname`
nvram set vlan14hwname=`nvram get vlan1hwname`
nvram set vlan1ports="0 1 2 3 4t 5"
nvram set vlan11ports="4t 5"
nvram set vlan12ports="4t 5"
nvram set vlan13ports="4t 5"
nvram set vlan14ports="4t 5"
nvram commit
reboot
Edit: After trying to hard reset for the fifth time I seem to now not be able to get into my router. Can't get to 192.168.1.1 (although strangely it does respond to ping when it's initially powering on, with TTL 100). Tried leaving power out but still nbo luck :'(.. Do I need to use tftp to re-flash it do you think?
I've got to unbrick my router then try this again! So in theory once I do these commands I should be able to plug in my laptop to any of the LAN ports and access to router via the router IP address?
Yes, all ports will work except the one PFSense is connected to.
I tried your commands again after unbricking my router. This seems to have somehow reset my router to defaults.
Are you sure the commands are correct? Why would they have wiped all my configs? Is there really no way to do this simple VLAN configuration in the GUI?
For now, I'm going to forget about the LAN port VLAN configuration, causing me too much headache. I'm trying to fix up the multiple SSIDs with different VLANs first and foremost but I can't seem to get that right either! Unable to join when I try and join SSID C Guest or C VPN
Configs here.. if someone is able to help I'd be very grateful
https://imgur.com/a/oJyHX
My ultimate aim is to separate my VLANS as follows:
1) I have pfSense connected to Port1. Pfsense has four VLAN configured, with DHCP Server.
2) I want to have 2 SSIDs, one for VLAN13 and one for VLAN14
3) I want to tag my three remaining LAN Ports as follows:
Port2 = VLAN11
Port3, Port4 = VLAN12
I've been trying to get this working all week and still having problems. I seem to have just bricked my router again which is a right pain, it seems it can't survive more than 5 resets / firmware backups in a row before it decides to brick...
So I've tried every single possible setting in the GUI, followed countless guides and it's still not playing ball so I've decided to try doing it through the CLI. My aim is for port 0 WAN port to be the trunk port connected to my pfSense box. My other aim, at this point, is to just get VLANs working on wireless SSIDs, not on any of the cards on the R7000.
I have WAN Connection type -> Disabled. Assign WAN to switch -> Selected
The following was my most recent attempt after following your advice and some other guides online, does it look right?
This however leaves me locked out after reboot from connecting to 192.168.1.1 via ethernet cable, however I can reach the router through WiFi thankfully.
Also tried it with tagging the processor port but made no difference.
root@DD-WRT:~# nvram show | grep vlan.*ports
vlan12ports=0t 5t
vlan2ports=0 5u
size: 38176 bytes (27360 left)
vlan13ports=0t 5t
vlan11ports=0t 5t
vlan1ports=0t 1 2 3 4 5
I then set my virtual SSIDs and bridges as follows:
Something must still be wrong somewhere but I cannot figure out what. Is there anything noticeably wrong with my nvram configs? I currently don't get any internet when connected on my main SSID, so maybe something wrong with the WAN port configs going to my pfSense.
Thanks for any help!
rsz_screen_shot_2018-03-10_at_172150.png
Description:
My bridge setup
Filesize:
143.47 KB
Viewed:
2339 Time(s)
rsz_1screen_shot_2018-03-10_at_172204.png
Description:
Wasn't sure though what settings to use for the WiFI configs so I tried a couple of things, either way I wasn't able to connect to the Wifi on these SSIDs
Tried those nvram commands from the CLI again and once again after reboot the router did not let me connect to my SSIDs or let me connect via any of the LAN ports. Therefore, I had to reset the router (hold reset button for 30 seconds) and lo and behold it's BRICKED again!!! (TTL 100 on pings.. need to flash with tftpd).
Third time I've bricked this R7000 trying to sort these VLANs out in what really doesn't seem too complicated. I'd literally pay someone to sort it out for me.
Am I resetting it wrong or doing something stupid for it to keep bricking?!