How to create private and guest access points

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
SigmaPic
DD-WRT Novice


Joined: 07 Oct 2017
Posts: 6

PostPosted: Sat Oct 07, 2017 18:53    Post subject: How to create private and guest access points Reply with quote
Hello,

I have a main router.
On my LAN (private), I would like add another router with dd-wrt.

On this second router, I would like to:
- use ethernet ports to devices to my private LAN
- a private wireless access point
- a guest access point isolated from private one with internet access

I followed this tutorial:
http://blog.danjoannis.com/?p=1362

My private access point work, but guest access point doesn't have internet access.

I searched on the net how to fix that without success.

I looked to this post (https://www.dd-wrt.com/wiki/index.php/Guest_Network), but this woul only work if DHCP and WAN port are enabled.

Please, can you tell me how to configure the router to reach my needs.
Maybe have you some tutorials?

How can diagnostic why my guest network have no internet access ?

Router: TP-Link TL-WR841ND v11
dd-wrt: v3.0-r29837 std (06/06/16)

Thanks.

---------------------------
When I connect to my guest AP, I get an address ip, so DHCP is working.

It may be a problem of DNS, but, when I pin google IP, it times out. So, I think there is another issue.


Last edited by SigmaPic on Sun Oct 08, 2017 6:45; edited 2 times in total
Sponsor
ATHF
DD-WRT Guru


Joined: 14 Dec 2015
Posts: 774
Location: 127.0.0.1

PostPosted: Sun Oct 08, 2017 4:24    Post subject: Reply with quote
Not sure if this may help you also,

http://tips.desipro.de/2013/12/06/guest-wifi-setup-dd-wrt/

as I know it is older, but I have saw it mentioned many times.

_________________
Tutorial for flashing WRT series
WRT Installation,Upgrade & Basic Setup–Cliff Notes
r52242: WRT3200ACM, WRT1200ACv1 & 1 Velop in bridge mode(IoT subnet), r52242 WRT1900ACv1 AP
Velop:2 WHW0101, RE6500, RE9000(AP)
Spectrum - 1000/50
SysLog Watcher 5, New security Onion box coming soon, Fingboxes, PiHoles, NEMS, Cacti, rpisurv
SigmaPic
DD-WRT Novice


Joined: 07 Oct 2017
Posts: 6

PostPosted: Sun Oct 08, 2017 6:35    Post subject: Re: How to create private and guest access points Reply with quote
jxm wrote:
Try looking here:
https://www.dd-wrt.com/wiki/index.php/Multiple_WLANs

It includes instructions for setting up DHCP only on the guest wifi, which I think may be what you are missing.

Cheers


I already read this wiki.
I followed this tutorial http://blog.danjoannis.com/?p=1362 and this DHCP step is included.
SigmaPic
DD-WRT Novice


Joined: 07 Oct 2017
Posts: 6

PostPosted: Sun Oct 08, 2017 6:38    Post subject: Reply with quote
ATHF wrote:
Not sure if this may help you also,

http://tips.desipro.de/2013/12/06/guest-wifi-setup-dd-wrt/

as I know it is older, but I have saw it mentioned many times.


I already read this tutorial as well but it only work if WAN is enabled (according to my understanding).
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Sun Oct 08, 2017 21:02    Post subject: Reply with quote
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1047143#1047143
SigmaPic
DD-WRT Novice


Joined: 07 Oct 2017
Posts: 6

PostPosted: Mon Oct 09, 2017 6:08    Post subject: Re: How to create private and guest access points Reply with quote
jxm wrote:
Check the IP settings for a device connected to your guest wifi and post the details (IP address, subnet mask, default gateway, DNS server address). Also post the ip details of your main router



My private LAN parameter (from my main router) are:
Main router IP: 192.168.0.1
Subnet mask: 255.255.255.0
Gateway: 192.168.0.254
DNS: 192.168.0.254

A device on my guest network:
IP: 192.168.10.147
Subnet mask: 255.255.255.0
Gateway: 192.168.10.1
DNS: 192.168.10.1


jxm wrote:
One last point, I hope you made corrections to thetutorial that you followed, to take into account that the tutorial instructions are for a Netgeat router, and yous is a Atheros based router.


No I didn't made any correction.
Please, can you tell me what correction should I had to do ?

------------------------------------------------

By writin my main ip config, I realized that I never used my main router gateway and DNS address in the ddwrt config.

So I checked in Setup->Basic Setup->Network Setup->Router IP, and both gateway and DNS was set to main router IP (192.168.0.1 instead of 192.168.0.254).

After changing these settings, it works!!!!!!

Thanks for asking me what is my ip config?

I'm still interested to know what correction should I had to do.

Thanks
SigmaPic
DD-WRT Novice


Joined: 07 Oct 2017
Posts: 6

PostPosted: Mon Oct 09, 2017 6:13    Post subject: Reply with quote
mrjcd wrote:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1047143#1047143


Please can you explain me differences between settings in Setup->Networking and direct config in VAP?

From what ddwrt version your method is the prefered one?

Thanks
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Mon Oct 09, 2017 12:29    Post subject: Reply with quote
SigmaPic wrote:
mrjcd wrote:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1047143#1047143


Please can you explain me differences between settings in Setup->Networking and direct config in VAP?

From what ddwrt version your method is the prefered one?

Thanks


From the link I gave you:
Quote:
WNDR3700v4 is using build 30082 (07/01/16)
E2500v1 using build k3.x 30605 (09/09/16) --- K3.x and above should work fine with this method.


That was written over a year ago but all should be the same.
I suggest using a new or fairly recent build.
NOTE: some TP-Link routers have had many problems with last couple dd-wrt public releases.
You should read new build threads in the atheros forum.
I understand there should be a new release today that should fix many of the TP-Link problems.

You should use the unbridged method in wireless settings to setup a wireless interface on a different subnet.

The settings on the Networking page will reflect what you put in on the wireless page.
. . . . . .
If you wanted to combine interfaces onto one separate subnet you would leave the wireless interfaces
as the default 'bridged' in wireless settings and create a bridge (br1) on the Networking page.
You could then:
assign any wireless interface or vlan to the br1 so they could share a common subnet.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Mon Oct 09, 2017 13:45    Post subject: Reply with quote
You can use Kong's guide: http://tips.desipro.de/2013/12/06/guest-wifi-setup-dd-wrt/ and setup the DHCP server in the Setup/networking section or use MRJCD's guide: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1047143#1047143 and use the DNSMasq options to setup the DHCP server, his guide is very good and also gives you the instructions when a VAP is used on a WAP regarding the extra firewall rules to allow internet access from the VAP.

I have used Kong's this also works the only thing you then have to add is an extra firewall rule for internet access (if you are on a WAP):
Code:
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to `nvram get lan_ipaddr`


And very important always reboot after setup otherwise you will not get a DHCP address

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
SigmaPic
DD-WRT Novice


Joined: 07 Oct 2017
Posts: 6

PostPosted: Sun Oct 15, 2017 7:20    Post subject: Reply with quote
Thanks for your explanations.
I'll make good use of them.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum