Posted: Sat Sep 10, 2016 20:59 Post subject: WAN over switch
Hi everyone,
Let me explain you what I want to try to achieve :
ISP Router (internet connection) ----- switch ------ DD WRT WAN port
My DD WRT router is configured in AP.
It works fine (with or without the switch), but I would like now to connect other devices to that switch (the one that connects to the WAN port of my DD WRT router).
I cannot managed to have both my internet connection and connected devices at the same time through the WAN port, I can have either the internet connection, or access to the devices (by changing settings in DD WRT), but not both.
Is possible to achieve that?
Thank you very much
EDIT : let me rephrase, I think it's quite confusing ^^
So, I have my WNDR4500v2 with DD WRT as the main entry point of my home network (all my devices connect to it, via eth or wifi).
I have another router (not DD WRT), the one of my ISP, with the internet connection. This one is connected to a simple switch, and this switch is connected to my WNDR4500v2 via its WAN port.
My WNDR is configured as follow:
- Wan connection type: Automatic Configuration - DHCP
- Wireless Mode: AP
It works all fine, meaning that my devices connected to my WNDR can access internet.
BUT, if I connect any device to the switch (the one between the ISP and WNDR), I cannot access to them, and this is what I would like to achieve.
Last edited by igoooor on Sun Sep 11, 2016 12:56; edited 2 times in total
If your switch cannot handle vlan, connect the dd-wrt router's wan port directly to the isp router and the switch to a lan port.
I can't connect the switch to the lan port, only to the WAN port, that's the problem (too long to explain why, but it's because of the configuration of my house).
I currently have an unmanaged switch, do you think the problem comes from that?
Tuesday I'll have a managed one, I will try with it
On the router do a "nvram show | grep vlan\.ports"
Currently on my router, here is the result:
Code:
vlan2ports=4 8
vlan1ports=0 1 2 3 8*
on the link you provided me, I until the first Step 5 (so configuring only one switch, since I only have one). And I only created 1 extra VLAN (VLAN ID 101) which I gave ID 2 for now.
But now I don't know how to configure my DD WRT since it's not the same GUI of course
the switch has IP address 192.168.0.1
my router has 192.168.2.1
Now I managed to make the configuration as you did, and I have internet acces (like with a regular switch), but I still don't see devices connected to the switch
Also, the switch is connected to the WAN port of the router.
EDIT: and also, I can't access the switch while it is connected to WAN port of the router (but I have internet).
And I can access it while it's connected to another port of the router, but then I don't have internet