CLI commands on Huawei HG256s Home Gateway

I've just subscribed to a 200Mbps fiber plan with StarHub in Singapore. It comes with a Huawei HG256s Home Gateway. I'm told that I have to use this to terminate the service and some research suggests that just plugging my old router (LinkSys RV042) in its place won't work - even if I clone the MAC address.

Unfortunately I need to add one static route and the HG256s web configuration interface appears to have no way to allow this. What I need is a static route which directs traffic for 10.0.1.0/24 to 192.168.1.2 which is a port on a local Cisco router that is part of my home office network. The HG256s is at 192.168.1.1 as normal.

If anybody knows of a way please let me know!

I've explored one solution which is to put the RV042 behind the HG256s. I've set this up and it works OK but it slows things down (I'm getting 40Mbps download instead of 80Mbps using speedtest.sg) and I don't like having the extra box there.

I've also discovered that I can telnet into the HG256s and use the command "sh" to get to a linux-like shell (BusyBox vv1.9.1 built-in shell (ash)). Unfortunately I can't find any command reference that would help me to configure a static route. If anybody has any information which can help me here I'd be very grateful.

Thanks, Chris
chrwilAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

surbabu140977Commented:
I just went through the user manual (link below) but surprisingly the whole document never mentions any addition of static route whatsoever.

http://www.mediafire.com/?7ka33m4gbrrivnn

Best,
0
chrwilAuthor Commented:

Thanks anyway. Indeed the documentation and web interface is for simple home use only.

I worked some more on this and found a way to add the static route in the CLI shell:

      route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.1.2 br0

where br0 is the name of the LAN interface.

This works and my two subnets are happily talking again (through the Cisco box) although I'm led to believe that the route will be gone if I restart of power cycle the gateway. That shouldn't happen too often so I have a bit of time to figure out how to put this into a configuration file somehow.

If anybody has experience of this last step please let me know. Thanks.
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chrwilAuthor Commented:
Closing the question as I figured out how to set the static route (see previous post). On exiting from the BusyBox shell there is an "ATP Cli" menu with a couple of options (cls, debug, help, save, ?. exit). With some hesitation I tried save. After a second or two the ATP> prompt reappeared. I'm not sure whether this has saved the configuration including my static route. I guess that I'll find out next time the router gets rebooted!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.