Guest network has no internet access

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3  Next
Author Message
b-man
DD-WRT User


Joined: 09 May 2010
Posts: 107

PostPosted: Fri Sep 09, 2016 11:54    Post subject: Reply with quote
ah ok cheers so basically planning ahead
Sponsor
tech2016
DD-WRT Novice


Joined: 14 Oct 2016
Posts: 23

PostPosted: Fri Oct 14, 2016 22:59    Post subject: Guest network has no internet access Reply with quote
Wan is disabled on my router.
If I connect to main SSID I can access internet but not if I connect to guest SSID.
Guest IP is like 192.168.3.1, main IP is like 192.168.2.1
Do I need to create a bridge or run some iptables command to make internet work for guest SID?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6865
Location: Romerike, Norway

PostPosted: Sat Oct 15, 2016 8:38    Post subject: Reply with quote
@tech2016

Is NAT enabled for 192.168.3.0 on the main router? Does the main router have a route to 192.168.3.0?

With a complicated issue like this, you should have started your own topic.

You have provided no information about your main router.
tech2016
DD-WRT Novice


Joined: 14 Oct 2016
Posts: 23

PostPosted: Sat Oct 15, 2016 14:24    Post subject: no internet access from guest network Reply with quote
Sorry for not being clear.
I have a TP-Link c9 router with 3.0 30731 build
Its WAN connection is Disabled.
LAN port is connected to another network that has internet access. wifi access works fine from this C9 with IPs in the range- 192.168.2.x. C9 Router's IP is 192.168.2.60
I followed steps here to add a guest network to c9-
https://www.flashrouters.com/blog/2014/05/31/set-a-dd-wrt-guest-network-flashrouters-faq/
Guest network has IPs in range 192.168.3.x

When I connect to guest network, I get the IP assigned correctly but it does not get access to internet. I can ping 192.168.2.60.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6865
Location: Romerike, Norway

PostPosted: Sat Oct 15, 2016 14:44    Post subject: Reply with quote
Check the nat table:

iptables -t nat -L -n

Enable nat from all sub-nets with this command:

iptables -t nat -I POSTROUTING -o `get_wanface` -j SNAT --to `nvram get wan_ipaddr`
tech2016
DD-WRT Novice


Joined: 14 Oct 2016
Posts: 23

PostPosted: Sat Oct 15, 2016 16:19    Post subject: Reply with quote
It did not seem to help. I ran both iptable commands.

# iptables -t nat -L -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT 0 -- 0.0.0.0/0 0.0.0.0/0 to:0.0.0.0
tech2016
DD-WRT Novice


Joined: 14 Oct 2016
Posts: 23

PostPosted: Sat Oct 15, 2016 16:21    Post subject: Reply with quote
WAN connection is Disabled in dd-wrt basic set up page.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6865
Location: Romerike, Norway

PostPosted: Sat Oct 15, 2016 16:35    Post subject: Reply with quote
You are looking at the wrong router. Check the router that have Internet on it's wan port.
Furball Zen
DD-WRT Novice


Joined: 18 Dec 2009
Posts: 23

PostPosted: Mon Feb 03, 2020 1:01    Post subject: Reply with quote
Sorry for the bump, but im having the same issues. I followed the guide on https://www.dd-wrt.com/wiki/index.php/Guest_WiFi_%2B_abuse_control_for_beginners but im still getting no internet on the Guest network.
Furball Zen
DD-WRT Novice


Joined: 18 Dec 2009
Posts: 23

PostPosted: Tue Feb 04, 2020 17:50    Post subject: Reply with quote
Furball Zen wrote:
Sorry for the bump, but im having the same issues. I followed the guide on https://www.dd-wrt.com/wiki/index.php/Guest_WiFi_%2B_abuse_control_for_beginners but im still getting no internet on the Guest network.


Bump?
Furball Zen
DD-WRT Novice


Joined: 18 Dec 2009
Posts: 23

PostPosted: Tue Feb 11, 2020 22:28    Post subject: Reply with quote
Seriously, no one?
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1413

PostPosted: Tue Feb 11, 2020 23:10    Post subject: Reply with quote
I understand that you are frustrated, but remember we are doing this for free and not all of us log in all the time.

So the first few things I will ask is:

what router and DD-WRT version are you using?
Are you getting internet on any other networks?
Are you able to ping the router on your guest network?
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5690

PostPosted: Tue Feb 11, 2020 23:26    Post subject: Reply with quote
Necro-jacks thread from 2016, provides no information and surprised no one responds. Priceless.
Furball Zen
DD-WRT Novice


Joined: 18 Dec 2009
Posts: 23

PostPosted: Tue Feb 11, 2020 23:27    Post subject: Reply with quote
Linksys 1900ac
30xxxx.xx
2.4 and 5g work fine, guest does not even after redoing it in case a step was missed in the instructions.
I don't know about the ping, I'm not at home now.


Last edited by Furball Zen on Tue Feb 11, 2020 23:31; edited 1 time in total
Furball Zen
DD-WRT Novice


Joined: 18 Dec 2009
Posts: 23

PostPosted: Tue Feb 11, 2020 23:30    Post subject: Reply with quote
Furball Zen wrote:
Linksys 1900ac
30xxxx.xx
2.4 and 5g work fine, guest does not even after redoing it in case a step was missed in the instructions.


You obviously can't read, and of course I bumped it cause it was relevant and apologized for doing so. I also waited more than 24 hours between bumps.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum