vlan on 610n (DD-WRT v24-sp2 (07/24/13) mega )

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Wed Dec 25, 2013 9:07    Post subject: vlan on 610n (DD-WRT v24-sp2 (07/24/13) mega ) Reply with quote
hi to all,
i am connecting wirelles as client bridge and the range is 192.168.1.xxx
in my apartnent i want to have range 192.168.2.xxx

Can anybody help me with the vlans settings? i am trying several days but with no success.

thanks in advance
Sponsor
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Wed Dec 25, 2013 11:34    Post subject: Reply with quote
http://www.vspecialist.co.uk/creating-vlans-in-dd-wrt-part-1/
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Wed Dec 25, 2013 17:47    Post subject: Reply with quote
so far, i 've separate the 2 range 192.168.1.xxx and the new 192.168.6.xxx

but when i am connect to my second 6.xxx i have NO internet connection. LAN is ok but no internet
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Wed Dec 25, 2013 18:58    Post subject: Reply with quote
Have you enabled NAT (masquerade)?
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Thu Dec 26, 2013 9:05    Post subject: Reply with quote
where is this?
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Thu Dec 26, 2013 9:35    Post subject: Reply with quote
Setup->Networking->Port Setup when the interface is set to unbridged.
nolimitz
DD-WRT Guru


Joined: 26 Nov 2010
Posts: 597

PostPosted: Thu Dec 26, 2013 10:16    Post subject: Reply with quote
why are you using client bridged if you want two subnets?

use Client mode:
http://www.dd-wrt.com/wiki/index.php/Client_Mode
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Thu Dec 26, 2013 15:05    Post subject: Reply with quote
nolimitz wrote:
why are you using client bridged if you want two subnets?

use Client mode:
http://www.dd-wrt.com/wiki/index.php/Client_Mode


because i want to "broadcast" also wireless to my phone, laptop etc
nolimitz
DD-WRT Guru


Joined: 26 Nov 2010
Posts: 597

PostPosted: Thu Dec 26, 2013 15:23    Post subject: Reply with quote
vagder wrote:
nolimitz wrote:
why are you using client bridged if you want two subnets?

use Client mode:
http://www.dd-wrt.com/wiki/index.php/Client_Mode


because i want to "broadcast" also wireless to my phone, laptop etc


client/client bridge will not allow you to achieve that as both of them will be in client mode.

you have to use Repeater mode:

http://www.dd-wrt.com/wiki/index.php/Repeater
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Thu Dec 26, 2013 15:41    Post subject: Reply with quote
yes, i am connected as "Repeater mode" not as client
sorry for my mistake
Here is my configuration:



Untitled.png
 Description:
 Filesize:  39.89 KB
 Viewed:  9250 Time(s)

Untitled.png


vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Sat Dec 28, 2013 9:35    Post subject: Reply with quote
anyone?
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Sat Dec 28, 2013 10:24    Post subject: Reply with quote
Can you ping from a station at 192.168.6.x to 192.168.1.x?
and reverse?

Start looking at the Firewall and iptables
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Sat Dec 28, 2013 11:12    Post subject: Reply with quote
no i cannot ping.
what i am suppose to look in firewall and iptables?
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Sat Dec 28, 2013 14:16    Post subject: Reply with quote
Code:
iptables -I FORWARD -i vlan3 -j ACCEPT
iptables -I FORWARD -i br0 -o vlan3 -j ACCEPT


Administration->Commands

Past into command box and press "Save Firewall"
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Sat Dec 28, 2013 16:26    Post subject: Reply with quote
from range 6.xxx i CAN ping range 1.xxx
from range 1.xxx i CANNOT ping range 6.xxx
still NO Internet connection from 6.xxx range

i also add
iptables -I FORWARD -i vlan+ -o vlan+ -j DROP
command in order to block conneciton between to subnets

Now only the internet connection i am missing
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware 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