Be sure to save an NVRAM backup first, particularly noting your default vlan config. Good luck.
Thanks jwh7 for your answer!
However, I'm not an expert in networks, so I would need some help to adapt the script to my need and double check my process is correct.
Ok, so my current local network is like this...
The ISP is Free.fr. It provides 2 boxes: 1 router/server and 1 A/V player.
But I need to insert my Asus RT-AC66U/DD-WRT router by setting the server box to Bridge mode and transferring the routing to DD-WRT...
Problem: to communicate the 2 boxes use a VLAN tagged 100.
That's why I need to setup this tagged VLAN with a VID > 16 and unfortunately can't do it over the GUI.
Also, note that I need 2 VLANs on the port/cable going to the player box, as it's first going to an unmanaged switch that also serve the TV and an Apple TV.
At last, my current VLAN config is the following...
...and I want to setup the VLAN 100 on the port 4 (and move the cable from port 2 to 4 once the setup is done).
Now questions:
1/ I've seen the example of script in the Wiki. But I'm not confident to adapt it as ok I have to switch from 2 VLANs 1000 & 2000 to 1 VLAN 100, but I also need to set it on the port 4 with another untagged VLAN
So I would appreciate if you could help/guide me to adapt the script.
2/ Will the script be enough?
Or will I also need to do some pre and post settings on the GUI? Like for the VLAN 100 network configuration, the DHCP server of the VLAN 100 or the firewall setting?
The more I can do via the GUI the better it is
Regarding the script content, I've done a kind of first attempt, but clearly I really don't know if I can be right:
Are you able to get the WAN IP for the RT-66U and get on the Internet? From my understanding you should not be able to. From your diagram it seems like your WAN port need to be both tagged for VID100 and untagged. Similarly for LAN port 4. From what I understand, a port cannot be both tagged and untagged.
I'll make a test ASAP but just to make sure:
- Question 2: no need of anything else than the script? VLAN 100 network configuration, the DHCP server or firewall setting?
- Question 3: my process is correct? No mistake, nothing missing?
quarkysg wrote:
Are you able to get the WAN IP for the RT-66U and get on the Internet?
Yes, but before using any script! I did not tried the script yet!
I just suggested an adjustment but did not tested it yet (too many question marks). I was waiting for a reply like yours.
Last edited by FTP on Fri Nov 30, 2018 21:49; edited 1 time in total
I'll make a test ASAP but just to make sure:
- Question 2: no need of anything else than the script? VLAN 100 network configuration, the DHCP server or firewall setting?
- Question 3: my process is correct? No mistake, nothing missing?
No need for any other configuration changes other than running the script and see if it works.
As far as I can tell, you should be on the right track.
Ooops, it's not working.
Bigger problem, I can not reach the router any more.
I still have access to Internet via the LAN but the 192.168.0.1 is not responding.
And in ipconfig gives me something weird:
Code:
Windows IP Configuration
Ethernet adapter Connexion au réseau local 4:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Connexion au réseau local 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Did you save the script via GUI? I forgot to tell you to try the script first by SSHing to telneting into the router.
But if you did save the script using GUI and it runs after reboot, and since you're getting the WAN IP address, that means the router is still running.
Try disconnecting the RT-66U from the ISP box and restart the router. You should be able to get back the 192.168.0.x IP and remove the startup script, save, connect the router back to the ISP box and reboot the router and try again.
Did you save the script via GUI? I forgot to tell you to try the script first by SSHing to telneting into the router.
Nope. Transfer via WinSCP.
quarkysg wrote:
But if you did save the script using GUI and it runs after reboot, and since you're getting the WAN IP address, that means the router is still running.
Try disconnecting the RT-66U from the ISP box and restart the router. You should be able to get back the 192.168.0.x IP and remove the startup script, save, connect the router back to the ISP box and reboot the router and try again.
Yes, perfect, it worked.
Thanks!
So now, back to the script, any idea what went wrong?
And for future scripts, there's a way to test them before?
So now, back to the script, any idea what went wrong?
And for future scripts, there's a way to test them before?
Do you know how to telnet/ssh into the DD-WRT router? If you know how to do it, just run the commands in the telnet/ssh console one at a time.
If not, you can use the GUI to run the commands. Go to:
Administration -> Commands
Copy and paste the script into the Commands text field and click on the 'Run Commands' button. If the router becomes unresponsive, reboot and start again.
Do you know how to telnet/ssh into the DD-WRT router? If you know how to do it, just run the commands in the telnet/ssh console one at a time.
Via PuTTY/SSH, line by line, the connection to the router crashes after the 2nd line.
But via the GUI/Run Commands, the lines are ran, the router is still manageable, the Internet connection is still fine, but the IPTV box still can't communicate with the server box
Do you know how to telnet/ssh into the DD-WRT router? If you know how to do it, just run the commands in the telnet/ssh console one at a time.
Via PuTTY/SSH, line by line, the connection to the router crashes after the 2nd line.
But via the GUI/Run Commands, the lines are ran, the router is still manageable, the Internet connection is still fine, but the IPTV box still can't communicate with the server box
It could be the IPTV don’t need a tagged frame. Try this instead.
Nope. Same.
The script is ran, the router and Internet are ok, but the IPTV still can't communicate with the server box
I've even removed the unmanaged switch in between to test with direct connection in between DD-WRT and the IPTV box but it makes no difference.
Sorry that it didn't work.
Do you have information of how your ISP is configuring the IPTV VLANs? Some ISPs need certain VLAN priority flags to be set before the IPTV box works. That's what my ISP does.
If you can point me to some information for your ISP, I will try to help.
Also from the two diagrams that you posted earlier, i.e. the one with the AC66U sitting in between the FTTH box and the rest of the devices, I suppose the AC66U obtained the WAN IP from the FTTH box? How was the VLAN configured for the AC66U?
Thanks so much for your support quarkysg!
I really appreciate!!!
quarkysg wrote:
Also from the two diagrams that you posted earlier, i.e. the one with the AC66U sitting in between the FTTH box and the rest of the devices, I suppose the AC66U obtained the WAN IP from the FTTH
Correct. The Server box is in Bridge mode and gives the WAN IP to the RT-AC66U.
quarkysg wrote:
How was the VLAN configured for the AC66U?
Do you need more ? Just tell me.
quarkysg wrote:
Do you have information of how your ISP is configuring the IPTV VLANs? Some ISPs need certain VLAN priority flags to be set before the IPTV box works. That's what my ISP does.
If you can point me to some information for your ISP, I will try to help.
Well, we have nothing from the ISP of course, but some people who have succeeded to setup the VLAN have posted some information. Unfortunately, 1/ I've not found the same context, on DD-WRT, that's why once we succeed I'll also post the method to do it on DD-WRT, 2/ the ISP being French all the posts are in French. But maybe just reading the command lines may help you.
FYI, both topics (the one above and this one below) confirm that on the port going to the IPTV box, we must have the default VLAN untagged + the VLAN tagged 100 as the IPTV box get it's IP address, access to Internet and other services via the default VLAN untagged and only the video frames go via the VLAN 100 (be careful, on the topic below, the 1st screenshot on OpenWRT is a setting not working - the right setting comes at the end)...
https://forum.universfreebox.com/viewtopic.php?p=592001#592001
Not sure it's enough for you.
I'll try to find more.
And sorry for the posts in French but it's a French ISP and we can hardly find discussion about it in English
Last edited by FTP on Tue Jul 30, 2019 7:45; edited 2 times in total