Internet on Vlan's

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
yapa
DD-WRT Novice


Joined: 24 Nov 2010
Posts: 8

PostPosted: Wed Jan 05, 2011 23:27    Post subject: Internet on Vlan's Reply with quote
Hi,

I've got a linksys with dd-wrt.v24_vpn_generic and have this configuration:
WAN - Vlan1 (default)
Port1,4 - Vlan 2
Port2 - Vlan 3
Port3 - Vlan 4

I already connect a cable in WAN port that is connected to my internet and i don't have internet on my Vlan's.
What can i do to provide internet from my WAN port to my Vlan2,3 and 4.

Best regards
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Thu Jan 06, 2011 17:49    Post subject: Reply with quote
http://www.dd-wrt.com/wiki/index.php/VLAN_Detached_Networks_%28Separate_Networks_With_Internet%29#GUI_Tutorial
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
yapa
DD-WRT Novice


Joined: 24 Nov 2010
Posts: 8

PostPosted: Fri Jan 07, 2011 4:33    Post subject: Reply with quote
Yes, I've already done this, and still without internet on vlan's. By the way, when i made a reset to the linksys, by default wan port is set to vlan1, and port1,2,3 and 4 are for vlan0, and this way i still not have internet on ports 1,2,3, and 4.

Best regards
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Fri Jan 07, 2011 17:04    Post subject: Reply with quote
If you really configured it as the guide says then the VLAN's should all have internet access. Post your firewall script and pictures of your networking page.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
yapa
DD-WRT Novice


Joined: 24 Nov 2010
Posts: 8

PostPosted: Sat Jan 08, 2011 16:44    Post subject: Reply with quote
Pictures of my configuration:
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sat Jan 08, 2011 22:47    Post subject: Reply with quote
The pics show that vlan2 is assigned to the LAN bridge (br0) but also set to be unbridged with an IP of 192.168.1.1 (possibly overlapping the LAN subnet?). Conflicting settings like this can cause all sorts of trouble. You have a bridge that you're not using that you ought to delete. You're also using a bad build that is known to have wireless problems as you can read about in the announcements.

Last and most important of all, you have no WAN IP. Naturally without a WAN IP you won't have any internet access.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
yapa
DD-WRT Novice


Joined: 24 Nov 2010
Posts: 8

PostPosted: Sun Jan 09, 2011 12:50    Post subject: Reply with quote
I don't have wan ip because no cable was connected, just want to print the images of my configuration. About the conflicting settings, when i made a reset to the lynksys, configuration is by default, why cannot access to internet on ports 1,2,3 and 4 (of course that internet cable is connected to wan port).
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Jan 09, 2011 17:46    Post subject: Reply with quote
Not being able to access the internet with a default configuration usually means that you're connecting to another router and so the WAN IP is on the same subnet as the LAN IP. If your WAN Ip starts with 192.168 then you need to reconfigure one of the devices to use a different subnet.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
yapa
DD-WRT Novice


Joined: 24 Nov 2010
Posts: 8

PostPosted: Mon Jan 10, 2011 16:14    Post subject: Reply with quote
It's working, the problem was the WAN IP and LAN IP was on the same subnet.

Thanks phuziOn.
Display posts from previous:    Page 1 of 1
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