Separate WLANs

From DD-WRT Wiki

Revision as of 17:31, 13 November 2017 by Ian5142 (Talk | contribs)
Jump to: navigation, search

NOTE: This is an old unmaintained and duplicate guide. You should use one of the following currently maintained guides instead.

To separate the WLAN from the LAN see: Separate LAN and WLAN

To create more than one WLAN and optionally separate them see: Multiple WLANs



Contents

Configuration

Step 1: Create Wireless Networks

a) Go to the 'Wireless -> Basic Settings' Page.

b) Create the secure network on the physical interface (wl0) and the insecure network on a virtual interface (wl0.1). An example configuration is as follows:

Physical Interface wl0
Wireless Mode:                AP
Wireless Network Mode:        Mixed (or whatever you want)
Wireless Network Name (SSID): Home Network
Wireless Channel:             Auto (or whatever you want)
Wireless SSID Broadcast:      Enable
Network Configuration:        Bridged

Virtual Interfaces wl0.1
Wireless Network Name (SSID): Tivo Network
Wireless SSID Broadcast:      Disable
AP Isolation:                 Enabled
Network Configuration:        Unbridged
IP Address:                   192.168.11.1
Subnet Mask:                  255.255.255.0

c) Go to the 'Wireless -> Wireless Security' Page.

d) Configure wireless security settings any way you want (I used WPA for my Secure Network and no security for my Tivos).

Physical Interface wl0
Security Mode:                WPA Personal
WPA Algorithms:               TKIP
WPA Shared Key:               *********
Key Renewal Interval:         3600

Virtual Interfaces wl0.1
Security Mode:                Disabled

Step 2: Create Tivo VLAN (2), bridge (br1), and associate appropriate the appropriate interfaces (port 4 and wl0.1)

a) Go to the 'Setup -> VLANs' page.

b) Change port 4 to VLAN 2

c) In addition to the above (I'm not sure that a & b actually do anything), configure NVRAM to move port 4 to VLAN 2 with the following commands (either through telnet/ssh or 'Administration -> Diagnostics')

nvram set vlan0ports="1 2 3 5*"
nvram set vlan2ports="4 5t"
nvram commit

d) Create the following startup script (through 'Administration -> Diagnostics')

brctl addbr br1
brctl addif br1 wl0.1
brctl addif br1 vlan2 
ifconfig vlan2 up
ifconfig br1 up


Step 3: Internet Access or DHCP Server on Tivo Network

Now that the basic network has been created, some additional things might come in handy (such as Internet access or a DHCP server). This section could be used to document this by another user who has need for these features. The references section provides links to several different tutorials that all provide information that will help in configuring these types of things. Although I would start with VLAN Detached Networks (Separate Networks With Internet)

References