anonymous123 DD-WRT User
Joined: 20 Feb 2008 Posts: 120
|
Posted: Fri Nov 28, 2008 23:53 Post subject: 3 LANs on one Buffalo WHR HP 54 - problem w/ DHCP |
|
hello there,
First of all I have a fairly basic question. When I create multiple vlans, each w/ their own DHCP-server and different nets, how are they separated from each other? Is there some sort of NAT going on between them? Or just routing?
I have a Buffalo WHR-HP-54 router with dd-wrt v24sp1 on it. My goal is this:
I want my LAN-Ports to be in one vlan, a WPA2-encrypted WLAN in another one and a WPA-encrypted in a third. Each of them should have its own DHCP-server. They should be separated from each other and from the WAN by NAT.
I already had a working WPA2-WLAN running. Here is what I did after reading the tutorials on creating separate wlans / wlan/lan (also see the pics in the attachment):
In Setup/VLANs I assigned ports 1 to 4 to vlan2. The WAN-port is still assigned to vlan1 and vlan0 contains no ports, but is assigned to bridge "LAN", as is "Wireless" at the bottom of the page.
In Wireless/Basic Settings I created a virtual interface, unbridged, and entered the desired ip/snm.
In Setup/Networking I changed vlan2 to unbridged (wl0.1 already was) and gave it an ip.
then I added 2 DHCPs, 1 for each of them.
This is what i got:
The existing WPA2-WLAN still works fine. So do the LAN-ports. But when I try to connect to the WPA-WLAN none of my PCs can obtain an ip from the DHCP. If I give them an ip manually they successfully connect but loose the connection after about 5 seconds.
As I only know very little about linux (I can use mount, useradd, chown and so on, but thats it) I have no idea what I did wrong. I am really grateful for any help you can give!
thx,
Alex
PS: I really appreciate the work you do - I was able to replace the ugly, unstable and uncomfortable router from my isp with this Buffalo and haven't had a disconnect ever since, plus better ping and quicker lan transfers!
PPS: I'm not If you find any spelling errors you may keep them
Description: |
|
Download |
Filename: |
@dd-wrt.v24sp1.zip |
Filesize: |
264.33 KB |
Downloaded: |
486 Time(s) |
|
|
anonymous123 DD-WRT User
Joined: 20 Feb 2008 Posts: 120
|
Posted: Sat Nov 29, 2008 11:15 Post subject: |
|
I just connected to my router via telnet to look at the dnsmasq.conf and this is what I got:
root@dd-wrt:/tmp# cat dnsmasq.conf
interface=br0,wl0.1,vlan2
resolv-file=/tmp/resolv.dnsmasq
domain=lan
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=176
dhcp-option=lan,3,10.123.46.1
dhcp-option=wl0.1,3,192.168.0.1
dhcp-option=vlan2,3,192.168.1.1
dhcp-authoritative
dhcp-range=lan,10.123.46.2,10.123.46.9,255.255.255.0,1440m
dhcp-range=wl0.1,192.168.0.2,192.168.0.162,255.255.255.0,3600m
dhcp-range=vlan2,192.168.1.2,192.168.1.10,255.255.255.0,3600m
root@dd-wrt:/tmp#
what am I missing?
thx4help,
Alex
|
|