| 802.1q trunking on the Linksys WRT54G/S/L with DD-WRT |
|
|
|
| Written by Kevan | |
|
Page 10 of 16 First Step - Changing Network A's VLAN First we will move the default internal LAN network (Network A) from VLAN 0 to VLAN 2 1) Install the v.23 dd-wrt final or SP1 beta version of firmware available HERE -- Instructions for installing DD-WRT are available HERE 2) Logon to the web management interface in DD-WRT. Select the Administration tab. Scroll down until you find the JFFS2 Support information. JFFS2 must be enabled. If you have never enabled JFFS2 before you will also need to select the Clean JFFS2 enable button to initialize the file system. Scroll to the bottom and select Save Settings.
4) Copy the following script and paste on the command line. ------------------- Copy starting below this line. ------------------- mkdir /jffs/etc mkdir /jffs/etc/config nvram set vlan0ports="5*" nvram set vlan2ports="1 2 3 4 5t" nvram commit echo ' #!/bin/ash PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}" ifconfig vlan2 up ' > /jffs/etc/config/vlan2.startup chmod 750 /jffs/etc/config/vlan2.startup --------------- Stop here when selecting text to copy -------------------------- 5) Back to the web management interface in DD-WRT. Select the Setup tab and the select the VLAN sub-tab. 6) For ports 1 through 4 de-select VLAN 0 and select VLAN 2. Then move VLAN 0's bridge from LAN to None and VLAN 2's bridge from None to LAN. 7) Click the Save Settings button at the bottom of the page. 8) Back to the telnet window. At the prompt type reboot and hit <enter> Your router is running with your default VLAN on VLAN 2. Network A is now configured to run on VLAN2. Verify that connectivity to internal hosts and the internet is working correctly. |




