Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: Access Zyxel Behind Netgear AP  (Read 1837 times)

zvirus

  • Member
  • **
  • Posts: 47
Access Zyxel Behind Netgear AP
« on: May 06, 2020, 05:51:06 PM »

Hi,

 Did plenty of research but no joy...

 Cant access my Fancy new router set as Modem/BRIDGE. Cant get stats over telnet.

 Its Zyxel VMG8924-B10A (AAKL.28)

 I have followed this one:
 https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm#linestats

 and then tried something else https://forum.kitz.co.uk/index.php/topic,21825.0.html   - still no success... :(

Does not over WAN, Does not work on 2 lan cables too

 My routing table on R7000:
..
Destination   Gateway   Genmask   Flags   Metric   Ref   Use   Iface
92.20.160.1   *   255.255.255.255   UH   0   0   0   WAN
192.168.2.0   *   255.255.255.0          U   0   0   0   LAN
192.168.1.0   *   255.255.255.0         U   0   0   0   WAN
92.20.160.0   *   255.255.224.0         U   0   0   0   WAN
default         92.20.160.1   0.0.0.0       UG   0   0   0   WAN

Routing on Zyxel:


R7000 ip: 192.168.2.1
Zyxel ip: 192.168.1.1

In the past it worked with ALL routers I  had HG612 3b, D-link 3872

I managed to get them to  work via WAN - did not use 2 LAN cables with HG612

On top of it, when connected to my PC to get an access to Zyxel I can login and do whatever I like but... telnet does not work  :o SORTED

HELP  :baby:

Thank You in advance

Tomas
« Last Edit: May 06, 2020, 07:31:19 PM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #1 on: May 06, 2020, 11:13:03 PM »

Ok. Got it...

First thing on Zyxel:



Second: I set the R7000 xwrt  ip to: 192.168.1.254 - making sure DHCP will end at .253 not .254(!)


Made some start scrips on my R7000 xwrt  including two commands:

Code: [Select]
ifconfig eth0:1 192.168.2.253 netmask 255.255.255.0

and:

Code: [Select]
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.2.0/24 -j SNAT --to 192.168.2.253
So I do not have to run them after reboot/s

And now I can access Zyxel WITHOUT 2 cables over WAN.... by typing 192.168.2.254

and R7000 by typing 192.168.1.254


Cheers!

« Last Edit: May 07, 2020, 09:56:38 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Access Zyxel Behind Netgear AP
« Reply #2 on: May 06, 2020, 11:56:15 PM »

. . . now I can access Zyxel WITHOUT 2 cables over WAN.... by typing 192.168.2.254

and R7000 by typing 192.168.1.254

That's good to know. Thank you for posting your solution.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #3 on: May 07, 2020, 07:31:43 AM »

Hi,

 My pleasure! You guys are so helpful here - its my duty to share my little knowledge ;)

So, If you owe Asus AP(might work for other decent routers) connected to a modem you can use these scripts placed in: /jffs/scripts/

wan-event

Code: [Select]
#!/bin/sh
ifconfig eth0:1 192.168.2.253 netmask 255.255.255.0

nat-start

Code: [Select]
#!/bin/sh
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.2.0/24 -j SNAT --to 192.168.2.253

Make sure their ownership is: 0755, and make sure to: Enable JFFS custom scripts and configs in your router


And in my case (unfortunately I must use MS Windows due to Music Editing and production) you MUST run this command:

Code: [Select]
dos2unix /jffs/scripts/*
Otherwise ALL scripts placed in catalog /scripts/ WONT work - I guarantee You. Unless Your Windows text editor is set to EOL > Unix/OSX

I use Win SCP software to edit/add files in my Access Point.


Cheers!
« Last Edit: May 07, 2020, 08:21:30 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #4 on: May 07, 2020, 09:38:05 AM »

On asus router you don't need scripts, I configured zyxel VMG1312-B10A with one cable and was working perfectly fine.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #5 on: May 07, 2020, 09:50:42 AM »

Yes, You do not need scrips but routes wont be "remembered" after restart - hence you have tu run commands manually....

without these commands I could not connect with my zyxel and trust me - I spent hours on this "issue" :)
My 1st approach was - do not use any extra routing(executed commands adding new routes) - It did not work...

My Zyxel`s default IP is: 192.168.1.1
My R7000 ip is: 192.168.1.254

and guess what? I cant connect with 192.168.1.1 no matter what. Im rather green regarding network...
« Last Edit: May 07, 2020, 09:59:32 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #6 on: May 07, 2020, 10:36:50 AM »

I only mention asus router, therefore not sure how it will looks like on others.
https://forum.kitz.co.uk/index.php/topic,24210.msg410739.html#msg410739
And you can reboot asus as much as you like, always will work.
« Last Edit: May 07, 2020, 10:40:14 AM by mrk26 »
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #7 on: May 07, 2020, 11:22:29 AM »

I only mention asus router, therefore not sure how it will looks like on others.
https://forum.kitz.co.uk/index.php/topic,24210.msg410739.html#msg410739
And you can reboot asus as much as you like, always will work.

Quote
Firstly, ensure the Draytek 130 Modem is on a different subnet to that of the ASUS router.
E.g
Draytek Vigor 130 – 192.168.2.1 (default)
ASUS Router – 192.168.1.1 (default)

(you can use whatever subnets you wish, just substitute your IP values to suit)

Then on the ASUS Router, go to Advance Settings > LAN > LAN IP and ensure IP address is 192.168.1.1
Then go to Advanced Settings > WAN >  Internet Settings and Select – Get the Wan IP Address Automatically, and select the No radial button, and manually enter ……

IP Address – 192.168.2.2 (Draytek Modems Spare IP Address)
Subnet – 255.255.255.0 (Draytek Modems Subnet Address)
Default Gateway 192.168.2.1 (Draytek Modem actual IP Address)

Note, WAN DNS may need to be added, I used Google’s
8.8.8.8 and 8.8.4.4

Now you should be able to telnet to the Draytek Modem via 192.168.2.1 and via browser, Draytek Modem UI via http://192.168.2.1

I had this configuration set on my routers as mentioned in this link provided above:
R7000 ip: 192.168.2.1
Zyxel ip: 192.168.1.1

And it did not work...



Mine R7000 is powered by xwrt vortex = same as any ASUS with Melin Firmware:




This is not for a modem in Bridge mode (I guess) If I do it with modem set as bridge IT DOES NOT WORK - I can connect with the modem but DONT have internet access...

In other words - yes it works without magic commands but not if modem/router is set as BRIDGE. I think  ::)

I want Firewall and all good stuff to be done by PROPER router in my case R7000 so bridge mode on Zyxel is the Best option.... people say.
« Last Edit: May 07, 2020, 11:36:24 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #8 on: May 07, 2020, 11:35:25 AM »

Yes, this instruction is for modem set in bridge mode. I personally have modem setup in bridge, and either vigor2760 or zyxel VMG1312-B10A working that way, on booth stock and Merlin fw. No issues at all. Only difference is that I don't have any vlan setup as for standard UK connection vlan id 101 is set in modem.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #9 on: May 07, 2020, 11:39:23 AM »

Yes, this instruction is for modem set in bridge mode. I personally have modem setup in bridge, and either vigor2760 or zyxel VMG1312-B10A working that way, on booth stock and Merlin fw. No issues at all. Only difference is that I don't have any vlan setup as for standard UK connection vlan id 101 is set in modem.

Looks like I have to learn a lot...  :) But this is fun! Learning IS Fun.. Is not?

Any chance for (more)CLEAR tutorial how to do it for all people like me(green)? Please

In example: This does not exist in my menu:
Quote
Then go to Advanced Settings > WAN >  Internet Settings and Select – Get the Wan IP Address Automatically, and select the No radial button
« Last Edit: May 07, 2020, 11:52:40 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #10 on: May 07, 2020, 11:51:52 AM »

You have above instructions how to setup asus, in thread to which I post link are instructions above my post how to configure zyxel for one cable operation.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #11 on: May 07, 2020, 11:53:45 AM »

You have above instructions how to setup asus, in thread to which I post link are instructions above my post how to configure zyxel for one cable operation.

I do not have this in my menu:
Quote
Then go to Advanced Settings > WAN >  Internet Settings and Select – Get the Wan IP Address Automatically, and select the No radial button

So my journey is over.... regarding one cable and no commands...
If I use static IP option I can get access to my Modem but NO INTERNET then...
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #12 on: May 07, 2020, 11:55:03 AM »

Post screenshot once you go to wan tab on your router.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #13 on: May 07, 2020, 11:55:53 AM »

Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #14 on: May 07, 2020, 11:56:54 AM »

Wan connection type on yours is set to automatic IP, what's other options on drop down list?
Logged
Pages: [1] 2
 

anything