|
Author |
Message |
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Wed Dec 25, 2013 9:07 Post subject: vlan on 610n (DD-WRT v24-sp2 (07/24/13) mega ) |
|
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
|
|
Back to top |
|
|
Sponsor
|
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6856 Location: Romerike, Norway
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Wed Dec 25, 2013 17:47 Post subject: |
|
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
|
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6856 Location: Romerike, Norway
|
Posted: Wed Dec 25, 2013 18:58 Post subject: |
|
Have you enabled NAT (masquerade)?
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Thu Dec 26, 2013 9:05 Post subject: |
|
where is this?
|
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6856 Location: Romerike, Norway
|
Posted: Thu Dec 26, 2013 9:35 Post subject: |
|
Setup->Networking->Port Setup when the interface is set to unbridged.
|
|
Back to top |
|
|
nolimitz DD-WRT Guru
Joined: 26 Nov 2010 Posts: 597
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Thu Dec 26, 2013 15:05 Post subject: |
|
because i want to "broadcast" also wireless to my phone, laptop etc
|
|
Back to top |
|
|
nolimitz DD-WRT Guru
Joined: 26 Nov 2010 Posts: 597
|
Posted: Thu Dec 26, 2013 15:23 Post subject: |
|
vagder wrote: |
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
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Thu Dec 26, 2013 15:41 Post subject: |
|
yes, i am connected as "Repeater mode" not as client
sorry for my mistake
Here is my configuration:
Description: |
|
Filesize: |
39.89 KB |
Viewed: |
9250 Time(s) |
|
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Sat Dec 28, 2013 9:35 Post subject: |
|
anyone?
|
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6856 Location: Romerike, Norway
|
Posted: Sat Dec 28, 2013 10:24 Post subject: |
|
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
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Sat Dec 28, 2013 11:12 Post subject: |
|
no i cannot ping.
what i am suppose to look in firewall and iptables?
|
|
Back to top |
|
|
Per Yngve Berg DD-WRT Guru
Joined: 13 Aug 2013 Posts: 6856 Location: Romerike, Norway
|
Posted: Sat Dec 28, 2013 14:16 Post subject: |
|
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"
|
|
Back to top |
|
|
vagder DD-WRT User
Joined: 08 Mar 2008 Posts: 91
|
Posted: Sat Dec 28, 2013 16:26 Post subject: |
|
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
|
|
Back to top |
|
|
|