Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: hacktrix2006 on September 18, 2018, 12:16:37 PM

Title: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 12:16:37 PM
Hi all so i have a  ZyXEL VMG1312-B10A now, i have managed to get my supervisor password and change both admin and supervisor passwords. I am using the Jumboframe firmware as well.

However before i go to connect it to the DSL socket i am trying to get the setup just like my old HG612 to Archer V2600 where i had the following setting

192.168.3.1 (DSL Bridge HG612)
|
192.168.1.2 (Archer V2600 with DHCP enabled access point mode)

now i was able to access said webgui on HG612 after putting in a static router to which i used the same setup for the  ZyXEL VMG1312-B10A where i am using the following

Destination network address: 192.168.1.0
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.2
Interface: LAN/br0

Firewall: Disabled

However i can not ping it which means i can not open the webgui when i am connected to the VR2600.

So anyone have any ideas that could help me with this please.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 12:37:59 PM
So previously you had the HG612 set to 192.168.3.1? And you have set the Zyxel to something different now?

Are you using a single cable or 2?
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 12:48:50 PM
Originally i had the HG612 set to 192.168.3.1 but as that died the zyxel is replacing the hg612.

So i set the VMG1312-B10A into bridge mode so it acts as the soul modem and then the vr2600 which is ip 192.168.1.2 is the router for DHCP and wifi stuff.

Now on the HG612 i was able to connect to it via the VR2600 just by simply adding a route to the hg612 using

dest: 192.168.1.0
sub: 255.255.255.0
gw: 0.0.0.0
Br0

however this is not working even with firewall off on the zyxel modem.

I am currently only using one cable right now between both routers trying to get this to work before connecting it to the DSL line (As i don't want to keep rebooting and cause DLM to kick in)
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 12:52:04 PM
Ok, sorry for being slow, but what IP do you have the Zyxel set to?
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 12:57:20 PM
Network Topology incoming

Zyxel IP: 192.168.3.1
Zyxel Subnet: 255.255.255.0
DHCP: Off
Firewall: Off

VR2600 IP: 192.168.1.2
VR2600 Subnet: 255.255.255.0
DHCP: on

VR2600 2nd IP: 192.168.3.2
VR2600 Subnet: 255.255.255.0

Settings for route on zyxel as to the guide i am using which is AAISP is set to

Des: 192.168.1.0
Sub: 255.255.255.0
Gate: 0.0.0.0
Default/BR0

but even with the firewall rules off on the zyxel i can not ping nor connect to the Webgui which i was able to do before with the same settings which is what is puzzling me.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 01:15:21 PM
How odd that the same route settings that allowed access to the HG612 on a different subnet do not work with the 1312.

From your original post:

Quote
Destination network address: 192.168.1.0
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.2
Interface: LAN/br0

but the latest:
Quote
Des: 192.168.1.0
Sub: 255.255.255.0
Gate: 0.0.0.0
Default/BR0

The gate or gateway has changed between these?
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 01:17:59 PM
Thanks will give that a shot do i need to set the route up still, yes i have been changing the route to see if i could get it to work but no dice thus far.

Code: [Select]
iptables -t nat -I POSTROUTING ! -s 192.168.1.1 -d 192.168.2.1 -j SNAT --to 192.168.2.2

which ip in that is your bridge and which is your router?? just so i now how to set this up
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 01:19:09 PM
You could try having the Zyxel on the same subnet eg. 192.168.1.10 or similar. I'm not sure if it really needs to be on a separate one.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 01:28:22 PM
Thanks will give that a shot do i need to set the route up still, yes i have been changing the route to see if i could get it to work but no dice thus far.

Code: [Select]
iptables -t nat -I POSTROUTING ! -s 192.168.1.1 -d 192.168.2.1 -j SNAT --to 192.168.2.2

which ip in that is your bridge and which is your router?? just so i now how to set this up


This may be over complicating things. Are you trying at the moment with the Zyxel plugged into the WAN port of your Archer VR2600?
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 01:29:39 PM
Zyxel is in the normal Ethernet ports right now in the archer.

Sent from my LLD-L31 using Tapatalk

Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 01:36:26 PM
I have no knowledge of the Archers GUI, but does the route you are trying to apply not specify an interface, i.e the wan port?

You could try plugging the Zyxel into the WAN port and only be dropping the PPP session, not resyncing the modem. Since it works how you have it with the HG612, the only difference is the port.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 01:40:45 PM
Basically I am trying to set it up so that say on the zyxel Ethernet port 1 is for the archers wan connection and then port 2/3/4 is for GUI access to the router.

Will give the suggestion you made a try when no one else is using the network my dad gets cranky when YouTube doesn't work lol.

Sent from my LLD-L31 using Tapatalk

Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 01:49:01 PM
Basically I am trying to set it up so that say on the zyxel Ethernet port 1 is for the archers wan connection and then port 2/3/4 is for GUI access to the router.

Will give the suggestion you made a try when no one else is using the network my dad gets cranky when YouTube doesn't work lol.

Sent from my LLD-L31 using Tapatalk

Sorry but for clarity:

The Zyxel has 4 ports, you are using just 1 with 1 cable going to the Archer. Which it is does not matter unless you have set "Interface Groups" on it (you have not).

The Archer has 5 ports, 1 WAN and 4 for LAN devices.

If your HG612 with IP 192.168.3.1 was/is accessible when connected to the WAN port of your Archer, then it is worth trying the Zyxel configured with the exact same IP (192.168.3.1) and the exact same "route" setting in the Archer GUI, and connected to the WAN port.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 01:52:26 PM
My plan is to use 2 cables from zyxel to the archer like I did with the hg612.

So in hg612 setup I had port 1 on hg612 to archers wan and port 2 on hg612 to any port on archers Ethernet ports that's what I am trying to mimic on the zyxel.

Sent from my LLD-L31 using Tapatalk

Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: Jon21 on September 18, 2018, 01:56:40 PM
Does this help? https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm#interface (https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm#interface) 

It's for the VMG8324-B10A but would guess it's similar.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 02:00:12 PM
My apologies, from this:

I am currently only using one cable right now between both routers trying to get this to work before connecting it to the DSL line (As i don't want to keep rebooting and cause DLM to kick in)

I was thinking you were trying to use just 1 cable and had the modem in place but without the phone line connected.

2 cables is easy, set the Zyxel modems default IP to one on your Archers subnet, i.e 192.168.1.100 or something.

Set up an "Interface Group" to assign a specific port to be the MODEM -> WAN connection. A detailed guide is here:
https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm

1 cable goes from the LAN port you chose for the VDSL/ADSL connection eg LAN1 to the WAN port of the Archer, then the second cable from any of the 3 others to your Archer or switch etc.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 03:16:12 PM
Nothing is working as of yet, i have edited this as my rant could be constuded as rude, which is what i wasn't trying to come over as.

Why can't networking be so easier.

So i have reset the zyxel used the config that your suggested in the link along with that snippet of code you supplied as well. I have also changed the passwords for both users as well.

So will test again tonight when no one is on the network streaming youtube or gaming.
I will be glad when this setup is up and running and i swear if the line kills this modem off i will be going banana's. I though my vaping addiction was expensive this whole network is even more so lol.

Thanks for you help and time as well as your replies guys i am truly grateful for the help.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 05:38:31 PM
So i have reset the zyxel used the config that your suggested in the link along with that snippet of code you supplied as well. I have also changed the passwords for both users as well.

There is absolutely no need for that code (if you are talking about the SNAT line) if you are using the modem with 2 cables. Even with 1 its very specific to my connection and is only going to cause problems with yours.

With your setup as is, if you set the Zyxel to an IP that doesnt conflict but is on the same subnet as your router and you still cant ping it from another device connected to the same router then I have no words.

How are you making changes to the Zyxel without connection from the router, a laptop/pc directly connected?
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 05:46:24 PM
Yes i am using my laptop to make configuration changes (My Programming Laptop), however i did test with the Archer to see if the PPPoE would work whilst it was connected to the line to where i had WAN connected from archer to LAN 1 on Zyxel and then Port 4 from the archer to Port 4 on the zyxel.

I do have the config dumped right now though from the zyxel and i can always make a copy and remove the passwords if needed before sending you a copy via pm.

Its just funny HG612 and TG589vac v2 i have no problems with setting in bridge with old settings but this zyxel is so different but i must admit the sync rate on Downstream is way higher then the HG612 and the TG589vac v2.

But as it stands with the zyxel

LAN Port 1 (the one that vr2600 connects to via WAN) is set to 192.168.2.1
LAN Port 2/3/4 which anything can connect to is set to 192.168.1.1  both have DHCP disabled and both are on the 255.255.255.0 subnet.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 05:53:29 PM
You keep moving the goal posts!  :D

First you said 1 cable, then 2, then you say its not really connected to the WAN port of the router, now you have tried it... is that still the case? I'm sorry its just really hard to follow.

So if I'm reading correctly - Its currently connected with a PPPoE session live? Have you set up the Interface Groups? Do you have 2 cables running from it to the Archer?

Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: j0hn on September 18, 2018, 06:02:55 PM
A static route is only needed if you have a single cable coming from the zyxel.
With 2 cables and following the guide kitz made, posted above, the zyxel should be accessible via its LAN IP.

If using a single cable you want to connect to 192.168.2.1 as that is the bridge interface address by default on the zyxel (can be changed though).
This would need a static route on the router to reach it.
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 06:08:21 PM
Right got ya. I know I keep moving the goal post but I am trying my best so I she'll remove the iptables code I take it's the same line off code but with delete instead of add?

Will try it with archer later tonight thanks for you help.

Sent from my LLD-L31 using Tapatalk
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: johnson on September 18, 2018, 06:15:01 PM
I honestly meant no offence hacktrix, this kind of troubleshooting by delayed messages when someone is working on a problem and trying things anyway just gets really confusing.  ???
Title: Re: ZyXEL VMG1312-B10A Help Required
Post by: hacktrix2006 on September 18, 2018, 06:16:43 PM
No offense taken bud. I am just grateful for any reply.

Edit: I am now on my Zyxel Modem and its working fantastically so i shell be doing a full network reboot tomorrow morning to make sure it all sticks.

So i reset the router followed the Bridging guide you guys linked flushed the iptables after disabling the firewall then reinstalled the firewall to get the iptables back and its all working not sure if i needed to flush the iptables but i did. Now its time to see if i have any ports open that shouldn't be.