Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: Berrick on August 21, 2013, 11:31:59 AM

Title: HG612 adsl bridge??
Post by: Berrick on August 21, 2013, 11:31:59 AM
Hi

was wondering if it is possible to configure these routers as a bridge on BT PPPoA whether via the cli or web interface? Ideally I want to bridge the WAN to pfSense.

Iburakkucat, I know we discussed using a Vigor 120 for this but I got both a HG612 and ECI B-Focus for an unbelievable price so I couldn't resist.

Thanks in advance
Title: Re: HG612 adsl bridge??
Post by: biohead on August 21, 2013, 01:41:24 PM
I did manage to get the HG612 working on a Talktalk adsl connection just over a year or so ago. I seem to think the HG612 still had to handle the authentication as I couldn't get it working as a pure bridge.
Title: Re: HG612 adsl bridge??
Post by: burakkucat on August 21, 2013, 04:14:49 PM
burakkucat, I know we discussed using a Vigor 120 for this but I got both a HG612 and ECI B-Focus for an unbelievable price so I couldn't resist.

Have you looked at the Kitz Wiki pages (http://wiki.kitz.co.uk/index.php?title=Huawei_HG612) regarding the Huawei HG612?

Many of us have used the HG612 as a two port modem/router on G.Dmt/ADSL2/ADSL2+ services (using PPPoA). I have never attempted to configure one as a pure bridge (using PPPoE) . . .
Title: Re: HG612 adsl bridge??
Post by: Berrick on August 21, 2013, 09:59:38 PM
TY both for the replies.

Configuring the HG612 to work on ADSL is straight forward but it appears as though it is not possible to configure it as a bridge on ADSL using PPPoA. Certainly not via the gui. I could probably use the DMZ and connect to pfSense but I have had issues due to double nat'ing doing this in the past.

Not to worry I can use it as a router and get line stats which is more than I could do with the HH :)
Title: Re: HG612 adsl bridge??
Post by: bmn on December 16, 2013, 04:03:16 AM
Old topic, but hopefully this will help someone else. I've got it working as a bridge (Linux router for me).
Quote
root:~# plog
Dec 14 19:30:11 pppd[1769]: pppd 2.4.5 started by root, uid 0
Dec 14 19:30:26 pppd[1769]: PPP session is 536
Dec 14 19:30:26 pppd[1769]: Connected to 00:30:88:1e:f1:94 via interface eth1
Dec 14 19:30:26 pppd[1769]: Using interface ppp0
Dec 14 19:30:26 pppd[1769]: Connect: ppp0 <--> eth1
Dec 14 19:30:26 pppd[1769]: CHAP authentication succeeded: CHAP authentication success, unit 44580
Dec 14 19:30:26 pppd[1769]: CHAP authentication succeeded
Dec 14 19:30:26 pppd[1769]: peer from calling number 00:30:88:1E:F1:94 authorized
Dec 14 19:30:26 pppd[1769]: local  IP address 84.13.187.xxx
Dec 14 19:30:26 pppd[1769]: remote IP address 84.13.184.1

These were the settings I used:
Quote
Under ATM, a new interface (atm1) with appropriate settings (VPI/VCI VCMUX/LLC) and a DSL link type of EoA.

A new wan connection, configured to use atm1, WAN connection enabled, Service type: Internet, Connection Mode: Bridge, Bridge type: PPPoE Bridge.

Under LAN, disable DHCP and NAT.

I can't remember if I had to change anything. I'm unable to access the web interface at all (LAN2 might work if LAN1 is disconnected). Setting port binding to all resulted in no internet or web interface on any. Need to find time to play with the settings (I'm avoiding it because DLM already put me down to 1.8Mb from 2.8Mb thanks to a powercut).


I did manage to get the HG612 working on a Talktalk adsl connection just over a year or so ago. I seem to think the HG612 still had to handle the authentication as I couldn't get it working as a pure bridge.
I'm also on TalkTalk ADSL, I couldn't get it working like that. It seemed to connect, but my router couldn't get an IP from it (static didn't help either).
Title: Re: HG612 adsl bridge??
Post by: biohead on December 16, 2013, 11:43:18 AM
Ah I'm glad I've seen this again. I've since moved house and I'm back on ADSL  :'(

I am using a HG612 in bridge mode, with Talktalk as the ISP with a TPLink WDR3600. Here's some screenshots of all the settings Ive made/changed for those using the GUI. I think I did change some of the PTM settings so I've included those too... If anyone wants to use these for the wiki for a bridging guide feel free.
Title: Re: HG612 adsl bridge??
Post by: biohead on December 16, 2013, 11:43:57 AM
And the rest:
Title: Re: HG612 adsl bridge??
Post by: les-70 on December 16, 2013, 04:55:49 PM
 Many thanks for your post biohead I had wondered about bridging adsl but never tried it.   Worked first time!   :)  I don't think anything on the ptm side is needed.   For just adsl the ptm 's could be deleted or left as they are.  It is just the atm settings that are needed for adsl.
Title: Re: HG612 adsl bridge??
Post by: biohead on December 16, 2013, 10:10:20 PM
I wasn't sure if the port bindings would make a difference or not. I seem to think I altered them on ptm but I don't have the original config to hand. May or may not have made a difference but all that matters is it work  :)

And pretty well on my connection - estimated 3-7.5mb when I signed up with talktalk. And I'm now getting between 9-10mb throughput - makes the change from VDSL a bit less painful.
Title: Re: HG612 adsl bridge??
Post by: roseway on January 01, 2014, 01:50:52 PM
I've set up an HG612 in bridge mode, exactly as in Biohead's instructions above (thanks!), and installed it with a TP-Link TL-WR841N router. It works perfectly, and it's a combination I'd like to stick with. The one problem is that I can't access the HG612 from the network to monitor the connection stats. Have I missed something in the router configuration?
Title: Re: HG612 adsl bridge??
Post by: les-70 on January 01, 2014, 07:34:50 PM
   Access to the HG612  should work with the HG612 Lan2 connected to the router provided the HG Lan IP is on the same subnet at the routers DCHP range.  DHCP should be off on the HG612.
Title: Re: HG612 adsl bridge??
Post by: roseway on January 01, 2014, 10:38:54 PM
Thanks Les, I'll check it out tomorrow.
Title: Re: HG612 adsl bridge??
Post by: roseway on January 04, 2014, 08:22:08 AM
Just a small postscript on this: I'm grateful for all the help on this, but I've been completely unable to access the bridged HG612 from behind the router. I can connect a PC directly to the unused ethernet port, but this of course bypasses the firewall, so it isn't a usable solution. Port binding doesn't help - in fact I've realised that port binding is a restriction, not an enabling feature (when a port is bound to the WAN connection it can't be used for anything else).

So for the time being I've given up on this approach, which is a pity because in all other respects the combination of a bridged HG612 and a wireless router is exactly what I would like to use. It works very well, but I do need the monitoring capability.
Title: Re: HG612 adsl bridge??
Post by: les-70 on January 04, 2014, 08:52:33 AM
  I don't quite understand your problem.  You should be able to access the HG612 by connecting LAN2 to a router port.  If you do, as you say there is no firewall between the PC and LAN2 but surely there is no internet access or WAN access on LAN2 as the WAN is bound to LAN1.    I would have though that there was nothing to firewall?  It would be just same for all using Bald_Eagle1's HG612 modem stats?
Title: Re: HG612 adsl bridge??
Post by: roseway on January 04, 2014, 10:59:23 AM
My problem is probably misunderstanding. But with the WAN interface bound to LAN1 I can still get WAN data through LAN2. In other words, to use it for normal internet access, I can connect the router to either LAN port, but I can only monitor the HG612 through the port which isn't bound to WAN.

I rather think that the HG612 behaves differently in bridge mode on ADSL to how it behaves on VDSL2. I've looked at the factory default setup for VDSL2 and reproduced it in my ADSL2+ setup, only making necessary changes for it to work with ADSL2+, and it behaves differently regarding port usage.
Title: Re: HG612 adsl bridge??
Post by: les-70 on January 05, 2014, 12:21:25 PM
   I never did that test and with vdsl now it is too late try.  Do you know what a full scan from "Shields Up" shows, i.e. is there really wan access?
Title: Re: HG612 adsl bridge??
Post by: roseway on January 05, 2014, 12:40:46 PM
I didn't try a Shields Up test while I was investigating this. For the moment I've made other arrangements, but I'll go back to the HG612 bridge some time.
Title: Re: HG612 adsl bridge??
Post by: pcourtney on February 28, 2014, 12:58:07 PM
Hi Eric,
did you ever go back to bridge mode with HG612 Eric ?

I'm looking to do exactly the same thing as you with the HG612 in bridge mode but need DSLstats

all the best
Peter
Title: Re: HG612 adsl bridge??
Post by: roseway on February 28, 2014, 01:17:22 PM
Hi Peter,

I did have another try recently, with the router connected to both ethernet ports on the HG612. But although I could monitor the connection with DSLstats and access the GUI interfaces of both the router and the modem, I couldn't access the WAN to actually use the connection. I expect that it's just something I haven't configured properly, but I couldn't find it and didn't spend a lot of time trying.
Title: Re: HG612 adsl bridge??
Post by: les-70 on February 28, 2014, 07:04:47 PM
  Bridge mode worked perfectly for me when I had adsl.  I think you just need all the atm related settings in biohead's posts above.

 I think like biohead I had EoA and not PPoA on the atm tab -- I am not 100% on that as it was while ago, EoA did puzzle me as without the bridge it is PPoA.

 The ptm ones can be deleted or left as they only apply to vdsl connections. 

  With the bridge bound to lan1, as in bioheads post, lan1 is then connected to the wan port of the router and with ppoe and your usual log in details set in the router the router should connect via ppoe and give internet (wan) access to the router lan. 
Title: Re: HG612 adsl bridge??
Post by: samrno194 on June 14, 2014, 02:26:24 PM
Ah I'm glad I've seen this again. I've since moved house and I'm back on ADSL  :'(

I am using a HG612 in bridge mode, with Talktalk as the ISP with a TPLink WDR3600. Here's some screenshots of all the settings Ive made/changed for those using the GUI. I think I did change some of the PTM settings so I've included those too... If anyone wants to use these for the wiki for a bridging guide feel free.

Hi I have a version b2 hg612 and a asus n66u and using your setting as show in the pictures I can't get the asus router to connect to the wan, I am using ee adsl broadband. When connecting via the asus I click ppoe then put in my details but it just doesn't connect and internet status remains disconnected. In the hg612 status it shows the adsl link is up. If I out in a cable to LAN 2 as we'll I can access the GUI.  It seems the asus can't communicate with the modem for some reason. Any help?
Title: Re: HG612 adsl bridge??
Post by: samrno194 on June 14, 2014, 02:45:35 PM
I guess what I'm asking is there any other settings I need changed other than those in the screenshots like firewall etc ?
Title: Re: HG612 adsl bridge??
Post by: kitzuser87430 on June 14, 2014, 05:40:31 PM
The settings pictured are not for an adsl bridged modem.

Try the settings below then you can pass the pppoe auth through to the asus.

Ensure firewall is disabled, along with dhcp.

on the wan page you have to uncheck the port binding on the ptm connection (or delete the whole connection)



Ian

Title: Re: HG612 adsl bridge??
Post by: HighBeta on June 14, 2014, 05:51:52 PM
Worth double checking there  both not  using the same 192.168.1.1 ip.
{Asus likes to default back to 192.168.1.1}

192.168.1.1 for the HG612
192.168.1.254 for the asus

Is a popular combination to use.

Title: Re: HG612 adsl bridge??
Post by: samrno194 on June 15, 2014, 01:20:50 AM
For anyone wondering I managed to get it to work, thanks for the help everyone.

A brief overview of my settings -

Firewall disabled on HG612
QoS disabled on HG612
DHCP diabled on HG612
PTM connections deleted under WAN
ATM connection set to bridged mode and PPPoE bridge type
Asus router IP added as DMZ on HG612
LAN 2 connected to one of router ports 1-4 and LAN 1 connected to router WAN port, allowing access to GUI and internet connectivity.
HG612 IP set to 192.168.0.50, Asus router kept on 192.168.0.1

The main thing that seemed to solve the issue for me was that under the ATM tab setting the encapsulation type to LLC instead of VC MUX and the Asus router connected first time without problem.

Hopefully my sync speed starts to go back to normal soon after all these disconnects its gone through today. Prior to this I was using the EE router as a modem and passing the connection through DCHP to the asus but this was causing problems with port forwarding and nat on some applications, so hopefully this solves it. Now the wait for FTTC continues.
Title: Re: HG612 adsl bridge??
Post by: samrno194 on June 15, 2014, 01:29:24 AM
For anyone wondering I managed to get it to work, thanks for the help everyone.

A brief overview of my settings -

Firewall disabled on HG612
QoS disabled on HG612
DHCP diabled on HG612
PTM connections deleted under WAN
ATM connection set to bridged mode and PPPoE bridge type
Asus router IP added as DMZ on HG612
LAN 2 connected to one of router ports 1-4 and LAN 1 connected to router WAN port, allowing access to GUI and internet connectivity.
HG612 IP set to 192.168.0.50, Asus router kept on 192.168.0.1

The main thing that seemed to solve the issue for me was that under the ATM tab setting the encapsulation type to LLC instead of VC MUX and the Asus router connected first time without problem.

Hopefully my sync speed starts to go back to normal soon after all these disconnects its gone through today. Prior to this I was using the EE router as a modem and passing the connection through DCHP to the asus but this was causing problems with port forwarding and nat on some applications, so hopefully this solves it. Now the wait for FTTC continues.

another quick question using the no bt agent firmware V100R001C01B030SP06 under dsl status the uptime is showing as 0 permanently is there a way to get this to show a accurate time ?
Title: Re: HG612 adsl bridge??
Post by: kitzuser87430 on June 15, 2014, 08:54:57 AM
Quote
dsl status the uptime is showing as 0 permanently

In the GUI....no

via telnet 
Code: [Select]
xdslcmd info --stats
at the bottom of this output "Since Link time = 3 days 53 min 23 sec"

IAn
Title: Re: HG612 adsl bridge??
Post by: Bald_Eagle1 on June 15, 2014, 09:08:26 AM
Quote
dsl status the uptime is showing as 0 permanently

In the GUI....no

via telnet 
Code: [Select]
xdslcmd info --stats
at the bottom of this output "Since Link time = 3 days 53 min 23 sec"

IAn


That data is occasionally reset between resyncs, so it could mislead.

From the --stats data, 'AS' is a count of available seconds.
Dividing that by 3600 will confirm the number of hours the connection has been up:-

AS:      254193  equates to roughly 70.61 hours.





Title: Re: HG612 adsl bridge??
Post by: samrno194 on June 15, 2014, 03:43:46 PM
I'm not too familiar with the CLi. Is there any way to force my sync speed higher to my normal speed other than waiting for it to gradually increase, as on the DSL status page under line rate it shows attainable rate 5716 and under statistics it shows line rate of 4199.
Title: Re: HG612 adsl bridge??
Post by: kitzuser87430 on June 15, 2014, 06:46:15 PM
Quote
it shows attainable rate 5716 and under statistics it shows line rate of 4199

I think attainable rate is not really a rate you can connect at in the real world.......my shows 7992 kbps; My ideal maximum sync is 6816kbps (so my IP Profile would be 6000).

What is your default SNR margin (6 db?)

Mine is 6db and I use the cli command
Code: [Select]
xdslcmd start --up --snr 85
to connect at over 6816 kbps at a margin of 5 db; during the nights this drops to about 2.5 to 3 and leads to a little bitswapping and some fec errors.


Also fyi the errors reported in the gui are also incorrect.


Ian
Title: Re: HG612 adsl bridge??
Post by: roseway on June 15, 2014, 07:22:33 PM
There's some information on the Broadcom CLI here: http://wiki.kitz.co.uk/index.php/Broadcom_CLI

If you look at the graph, you'll see that Ian's choice of an snr value of 85 corresponds with a change in target SNRM of -1 dB, which is what he wanted.
Title: Re: HG612 adsl bridge??
Post by: joaoasilva on July 16, 2015, 12:03:45 AM
For anyone wondering I managed to get it to work, thanks for the help everyone.

A brief overview of my settings -

Firewall disabled on HG612
QoS disabled on HG612
DHCP diabled on HG612
PTM connections deleted under WAN
ATM connection set to bridged mode and PPPoE bridge type
Asus router IP added as DMZ on HG612
LAN 2 connected to one of router ports 1-4 and LAN 1 connected to router WAN port, allowing access to GUI and internet connectivity.
HG612 IP set to 192.168.0.50, Asus router kept on 192.168.0.1

The main thing that seemed to solve the issue for me was that under the ATM tab setting the encapsulation type to LLC instead of VC MUX and the Asus router connected first time without problem.

Hopefully my sync speed starts to go back to normal soon after all these disconnects its gone through today. Prior to this I was using the EE router as a modem and passing the connection through DCHP to the asus but this was causing problems with port forwarding and nat on some applications, so hopefully this solves it. Now the wait for FTTC continues.

Does anyone managed to do this with a Sky ADSL connection? Been struggling a lot :(
Title: Re: HG612 adsl bridge??
Post by: loadbang on September 02, 2015, 05:02:24 PM
I'm really struggling to get this to work. I have a Asus AC68U. I have followed biohead's settings but that doesn't work, anything on the AC68U need changing, am I correct the WAN port needs to be set to PPPoE?
Title: Re: HG612 adsl bridge??
Post by: Dray on September 02, 2015, 05:12:46 PM
Yes, as Les-70 says here http://forum.kitz.co.uk/index.php/topic,12833.msg256652.html#msg256652
Title: Re: HG612 adsl bridge??
Post by: loadbang on September 03, 2015, 11:36:43 PM
Yes, as Les-70 says here http://forum.kitz.co.uk/index.php/topic,12833.msg256652.html#msg256652
So like?

http://forum.kitz.co.uk/index.php/topic,12833.msg264567.html#msg264567
Title: Re: HG612 adsl bridge??
Post by: kitzuser87430 on September 04, 2015, 09:15:44 AM
Morning,

I think the encapsulation has to be LLC

I had an issue (with BT) with the pppoe connection using the bridge settings I posted in that thread, I am on an old g.dmt only exchange; I retired my HG612.

I now run a hg635 (talk-talk super router) in bridge mode using LLC not VC-mux.

Ian
Title: Re: HG612 adsl bridge??
Post by: Weaver on September 04, 2015, 09:36:47 AM
For BT VDSL2, if you are using PPPoEoA, does it nowadays always have to be LLC MUX, VC-MUX no longer allowed? Is that correct?

If so, why is this different to ADSL which I think allows either PPPoEoA + LLC or VC-MUX with PPPoA on the WAN: for example with the DrayTek Vigor 120/130 where I believe you get the highest performance on the WAN link due to minimal overheads because of its use of PPPoA, while on the LAN side it changes changes to PPPoE. It's so obviously the right way to do things - why on earth doesn't everyone do it that way?

In VDSL2, is it because they actually want Ethernet framing for some reason? Even though it just seems like extra unnecessary cruft. So that they can have VLAN tags?
Title: Re: HG612 adsl bridge??
Post by: Weaver on September 04, 2015, 09:42:47 AM
Actually, is there a BT SIN for all this? For ADSL and VDSL?
Title: Re: HG612 adsl bridge??
Post by: loadbang on September 04, 2015, 12:51:11 PM
I have these two configured, rest I don't think is important. also tried LLC. LLC does not connect with my Netgear DG834 which I'm replacing, but VC-MUX works fine.

I so wish BT didn't drop support for PPPoE!


(https://forum.kitz.co.uk/index.php?action=dlattach;topic=12833.0;attach=11135;image)

(https://forum.kitz.co.uk/index.php?action=dlattach;topic=12833.0;attach=11139;image)

Attached are my settings for the AC68
Title: Re: HG612 adsl bridge??
Post by: Dray on September 04, 2015, 01:45:52 PM
Use LLC not VCMUX
Use bthomehub@btbroadband.com as the username
Title: Re: HG612 adsl bridge??
Post by: loadbang on September 04, 2015, 02:07:55 PM
Got it! Disable "Enable VPN + DHCP Connection" on the AC68 PPPoE settings.

Hopefully it may help someone else one day, as this is selected by default.
Title: Re: HG612 adsl bridge??
Post by: jimgb17 on September 17, 2015, 05:03:17 PM
Thanks to loadbang's settings i got mine sorted

I needed to put Bridge type: PPPoE_Briged

Asmall Quastion

I get Vdsl on 25/sep
can anyone recomend the same setup but for VDSL

or will the same settings work ?
Title: Re: HG612 adsl bridge??
Post by: Dray on September 17, 2015, 05:21:00 PM
Vdsl uses PTM not ATM
Title: Re: HG612 adsl bridge??
Post by: jimgb17 on September 17, 2015, 05:31:52 PM
Vdsl uses PTM not ATM


So i just use the same settings but on The
Layer2 interface Ptm1 ?

Title: Re: HG612 adsl bridge??
Post by: Dray on September 17, 2015, 05:42:41 PM
The default config of the HG612 is a Vdsl bridge using PTM for Openreach FTTC.
Title: Re: HG612 adsl bridge??
Post by: BungalowBill on October 13, 2015, 03:17:53 PM
This info is very useful, many thanks.

There's some information on the Broadcom CLI here: http://wiki.kitz.co.uk/index.php/Broadcom_CLI

If you look at the graph, you'll see that Ian's choice of an snr value of 85 corresponds with a change in target SNRM of -1 dB, which is what he wanted.

Does anybody know if it's possible to offset the upstream target SNR margin in a similar way?

I'm tempted to have a play with the CLI and see, but not wishing to incur the wrath of the great god of DLM, I thought I would be a coward and ask first!

Cheers,
Bill
Title: Re: HG612 adsl bridge??
Post by: burakkucat on October 13, 2015, 05:19:31 PM
Does anybody know if it's possible to offset the upstream target SNR margin in a similar way?

Unfortunately no.  :no:  But it would be nice if it was possible.   ;)