Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: jeffers on April 17, 2015, 01:41:12 PM

Title: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: jeffers on April 17, 2015, 01:41:12 PM
I have unlocked my HG612 with the hg612_unlocked_sp10_firmware and need to be able to access the line stats from the same ethernet port which is connected to my main router. My main router is running Tomato RAF and supports routing a modem IP.

At the moment I can get one or the other working, depending on the HG612 config. Either I can get line stats or a ppp connection. Bot not both at the same time. I'm fairly sure the config on my main router is OK. Unfortunately running 2 ethernet cables to the back of the modem isn't feasible.

Any suggestions? I'm reluctant to keep changing settings (and rebooting) for fear of DLM kicking in :(

Jeffers


Topic title edited by admin to mark as solved.

[Moderator edited to fix a typo.]
Title: Re: HB612 - line stats and bridge on same ethernet interface?
Post by: Al1264 on April 17, 2015, 02:16:56 PM
I don't think it can be done without connecting to both Ethernet ports on the HG612.

Unfortunately running 2 ethernet cables to the back of the modem isn't feasible.
However, the ethernet ports on the HG612 are 10/100 and 10/100 Ethernet uses only 2 pairs (1/2 and 3/6) so it **may** be possible to use both sockets with one (existing) ethernet cable (it would involve 'modifying' your existing cable to fit 2 plugs on each end).
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: jeffers on April 17, 2015, 03:36:54 PM
hmm, thanks for the info. Might bite the bullet and look at buying a new VDSL-capable router/modem. My main router is a few years old so maybe its time for an upgrade.
Title: Re: HB612 - line stats and bridge on same ethernet interface?
Post by: boost on April 17, 2015, 06:21:31 PM
It might be doable via the CLI, depending on how much of the capability has been chopped out?
Either by using sub-interfaces off the one LAN port or creating a bridged interface, perhaps?

I find myself in the same position at the moment but my solution will be the easy route. A switch :D
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: burakkucat on April 17, 2015, 06:30:12 PM
Jeffers -- Assuming you still have edit capabilities for your two posts, would you please take a moment and adjust the currently shown HB612 to be HG612?

And before I forget, "Welcome to the kitz forum."  :)
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: jeffers on April 17, 2015, 06:32:57 PM
Jeffers -- Assuming you still have edit capabilities for your two posts, would you please take a moment and adjust the currently shown HB612 to be HG612?

And before I forget, "Welcome to the kitz forum."  :)
D'oh! Thanks.

And thanks again!
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: burakkucat on April 17, 2015, 06:36:22 PM
Purrfect.  ;D
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: Chrysalis on April 18, 2015, 07:25:12 PM
you need to be able to add a second lan subnet to the hg612, and to be able to do some manual routing on the router to pull it off, see my billion thread.

http://forum.kitz.co.uk/index.php/topic,14621.0.html
Title: Re: HB612 - line stats and bridge on same ethernet interface?
Post by: jeffers on April 23, 2015, 07:06:56 PM
I don't think it can be done without connecting to both Ethernet ports on the HG612.

Unfortunately running 2 ethernet cables to the back of the modem isn't feasible.
However, the ethernet ports on the HG612 are 10/100 and 10/100 Ethernet uses only 2 pairs (1/2 and 3/6) so it **may** be possible to use both sockets with one (existing) ethernet cable (it would involve 'modifying' your existing cable to fit 2 plugs on each end).

It looks like im a cheap-arse. I bodged a cable together and its working nicely. Thanks for the info!

For anyone else interested in doing something similar this is very helpful..

http://www.instructables.com/id/How-to-make-your-own-Ethernet-%22splitter%22/

Now to hook the stats into my mrtg setup :)
Title: *** SOLVED *** Re: HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 27, 2015, 02:18:17 PM
Hi,

For those wanting to have both PPPoE Bridging (Internet Access), and Access to the HG612 (for line stats & admin interface), I've managed to make it work by making the following changes through the GUI to the ptm1.101 WAN profile.

Disable the Port Binding onto LAN port 1, and I've also changed the bridge mode from IP_Bridged to PPPoE Bridged (which is definitely correct, but may not be strictly neccessary).

See attached screenshot.

ADDENDUM:

Although this will allow simultaneous access to the routers LAN IP, and also PPPoE Bridging - you will also need to ensure ON YOUR ROUTER, that IP routing is enabled to your WAN interface to the modem, on OpenWRT that I use, I've just added a second IP routing interface to the WAN port with IP address 192.168.2.2, and changed the HG612 LAN IP address to 192.168.2.1 as my local network is on 192.168.1.xxx and therefore the HG612 default IP address of 192.168.1.1 would clash. There is another discussion on doing this for a Billion router here for reference, although I have not followed it in my setup:

http://forum.kitz.co.uk/index.php/topic,14621.0.html


MODERATORS MAY WISH TO UPDATE ANY FAQ'S / INITIAL INSTRUCTIONS?
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: Chrysalis on June 27, 2015, 04:07:33 PM
so this is similar to what I did with the 8800nl in bridge mode to get lan access over the wan cable.  Nice.
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 27, 2015, 05:17:23 PM
Do you happen to know if this would work with TalkTalk connections which use DHCP rather than PPPoE?

I'm using Gargoyle which is based on OpenWRT BTW.
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 27, 2015, 05:53:26 PM
RE:

Do you happen to know if this would work with TalkTalk connections which use DHCP rather than PPPoE?

I'm using Gargoyle which is based on OpenWRT BTW.

Possibly IF you change the bridge mode back to IP_Bridged, I wasn't aware that any other connections over Openreach VDSL infrastructure used IP bridging, although I had an ISP on the VDSL Digital Region network in South Yorkshire that did.
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 27, 2015, 06:04:47 PM
Done, thanks.

Gargoyle, whilst based on OpenWRT, has a completely different web UI. I've found the "Routing" area and it has several options. I don't know what to put in there though :(
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 27, 2015, 06:21:11 PM
Done, thanks.

Gargoyle, whilst based on OpenWRT, has a completely different web UI. I've found the "Routing" area and it has several options. I don't know what to put in there though :(

Hi,

You shouldn't need to set anything on static routing because the routed WAN subnet will include the subnet of the HG612's LAN IP. I can't see anything on the Gargolye docs for how you add a second interface, BUT you can definitely do it through one of it's config files. If you edit the text file /etc/config/network (using Winscp if you haven't anything else suitable), and add to the end of the file a new section with something similar to this:

Code: [Select]
config interface 'WAN_modem_mgmt'
option proto 'static'
option ifname 'eth0.2'
option netmask '255.255.255.0'
option ipaddr '192.168.2.2'

You will need to edit the 'eth0.2' and change it to the same as the IFNAME entry for your WAN port, which you should be able to see in that file. So, if the ifname entry for your WAN port is eth0.1 change the entry above to eth0.1 also.
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 27, 2015, 06:37:17 PM
And...just like that it's working! :)

I've been trying to figure this out for ages so thanks a bunch! :D
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 27, 2015, 06:41:23 PM
And...just like that it's working! :)

I've been trying to figure this out for ages so thanks a bunch! :D

Well that should probably be another one for the relevant FAQs then - you definitely do not need to change Bridge mode from IP_Bridged to PPPoE_Bridged. Assuming that's how you have it configured Alec?
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 27, 2015, 06:43:49 PM
Jeffers -- Assuming you still have edit capabilities for your two posts, would you please take a moment and adjust the currently shown HB612 to be HG612?

And before I forget, "Welcome to the kitz forum."  :)

Jeffers - could you please update the topic title to show this issue is solved please.
Title: Re: HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 27, 2015, 06:45:25 PM
I'm really sorry to do this but my name is Alec, not Alex - I'm sure it's just autocorrect being silly :)

I'll tell you exactly what I did:
I am using IP_Bridged.
Title: Re: *** SOLVED *** Re: HG612 - line stats and bridge on same ethernet interface?
Post by: kitz on June 28, 2015, 04:00:16 PM
For those wanting to have both PPPoE Bridging (Internet Access), and Access to the HG612 (for line stats & admin interface), I've managed to make it work by making the following changes through the GUI to the ptm1.101 WAN profile.

MODERATORS MAY WISH TO UPDATE ANY FAQ'S / INITIAL INSTRUCTIONS?

Hi and welcome.  Thank you for your information :)

Ive added a link to your post on the main site - HG612 modem & Line stats (http://www.kitz.co.uk/routers/hg612unlock.htm#bridge).   There's also a link there for Chrys's guide how to do this with a Billion 8800NL.



Quote
Jeffers - could you please update the topic title to show this issue is solved please.
Done.
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 29, 2015, 12:14:59 AM
Well my setup worked for a few hours but the modem is once again inaccessible :(
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 29, 2015, 09:20:57 AM
Well my setup worked for a few hours but the modem is once again inaccessible :(

Finding out whether it's the HG612 or the Gargoyle router is the 1st thing to do. It's quite possible if you've changed a setting in Gargoyle, that it's overwritten that network config file you changed.

Have you plugged the HG612 LAN1 directly into your computer to check whether you can ping 192.168.2.254? You'll obviously need to add a valid IP in the range 192.168.2.xxx to your computer.

If you can still ping the HG612 through LAN1 direct from the computer then I'd say you've probably overwritten the network config. If not, then connect the HG612 via LAN2 and have a look at the LAN port binding?
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 29, 2015, 09:35:01 AM
The HG612 is still accessible via 192.168.2.254. Port binding is still disabled on both LAN parts on the HG612.

I haven't changed any Gargoyle settings :(
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 29, 2015, 09:39:58 AM
The HG612 is still accessible via 192.168.2.254. Port binding is still disabled on both LAN parts on the HG612.

I haven't changed any Gargoyle settings :(

The HG612 is still accessible via LAN1? In which case there's nothing wrong with HG612, so it must be your Gargoyle router. Have you checked the network config file to make sure it's the same as you left it? Presumably you've rebooted it too?
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 29, 2015, 09:48:25 AM
I have rebooted and the config is the same :(
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: johnwigley on June 29, 2015, 10:21:37 AM
Just to confirm:

1) If you plug in the HG612 via LAN1 to your PC, you can definitely ping it, and access it's web interface?
2) If you plug it back into the Gargoyle router, and then SSH/telnet into the Gargoyle router, can you ping the HG612 from there?
Title: Re: HB612 - line stats and bridge on same ethernet interface?
Post by: Ragnarok on June 29, 2015, 10:25:24 AM
I don't think it can be done without connecting to both Ethernet ports on the HG612.

Unfortunately running 2 ethernet cables to the back of the modem isn't feasible.
However, the ethernet ports on the HG612 are 10/100 and 10/100 Ethernet uses only 2 pairs (1/2 and 3/6) so it **may** be possible to use both sockets with one (existing) ethernet cable (it would involve 'modifying' your existing cable to fit 2 plugs on each end).

more for other people struggling,

You need a good router (like DDWRT /tomato ) that can run a pppoe and a lan subnet on the same interface. and disable the port binding for wan on the HG612 as if they are enabled that port becomes a bridge only port once pppoe is established. once you have that right and have matching subnets and ip ranges on the modem router wan ports you should have access.

It's worked for me for years, with various modems currently using the ECI rev r  here.
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: GigabitEthernet on June 29, 2015, 08:53:16 PM
Fixed it.

Turns out my Mac's WiFi hotspot was also using 192.168.2.X as its subnet which was interfering with the HG612's subnet :)
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: unaszplodrmann on December 05, 2015, 06:33:16 PM
Such a simple solution! I presumed getting everything running over a single physical connection would be a faff on the HG612, even though I too have used this setup with other bridging modems.

As an addendum, I have the HG612 connected to a homebrew router on 192.168.0.0/24. The PPPoE connection is handled by the router with bridging mode set to 'IP_Bridged' on the HG612. I found that I needed to SNAT my LAN subnet (192.168.1.0/24), otherwise the HG612 would drop inbound connections from anywhere but the router. The firewall level is set to 'standard' on the HG612.
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: ktz392837 on December 06, 2015, 01:42:30 AM
I am using a tomoto based router any chance of someone posting some screenshots of the hg612 & tomato setup pages for a working setup?
Title: Re: ** Solved ** HG612 - line stats and bridge on same ethernet interface?
Post by: kitzuser87430 on December 06, 2015, 05:24:30 PM
I run tomato here is my screenie the modems ip address is in the box labeled "Route Modem IP"

My modem is on 10.10.11.245


On the hg612 go to BASIC >> WAN >> and uncheck the LAN1 checkbox on the port bindings.


Make sure your modem is in a different subnet ie router in 192.168.1.X and modem in 10.10.11.X

Ian