Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access to Internet fr remote office via Main Office Router ?

Status
Not open for further replies.

chooiw

Technical User
Sep 4, 2003
4
US
I have a main router in the main office, all clients access to the Internet using the Main Router IP address as the Gateway IP address. My branch office client is link to the main office via Frame Relay using the different subnet IP address. I wanted to configure the branch office client PC to access to the Internet via Main router at the Main office as the gateway, how can I do that? Pls help.

Regards,
Frankie
 
You'll need the following routing setup.

1 Your branch office router needs a static route pointing all traffic towards the main router,
ip route 0.0.0.0 0.0.0.0 IP-of-main-rtr
This static can use either the next hop IP address, or the egress interface on the main router towards the branch office.

2 your Branch office PC will need its default gateway setting to the branch office router

3 the main router will need a static route to the branch office subnet via either the next hop IP or the frame relay sub-interface.

Hope that helps
 
Thank you so much for your help routerman. I did try to configure the way you recommend , I did setup the main and branch routers but unfortunately the client pc at branch office still unable to connect to the Internet. I did check the IP route, it went to the main router and main router when to the branch router but when I ping the DNS, it says "timeout".

Could you pls help? Thank you.

 
If you use the traceroute command, you will see where the dead hop is. Can you ping both interfaces of the main router from the branch router and from a workstation on the branch router? Can you ping anything on the main side beyond the router?

MikeS

Find me at
"Take advantage of the enemy's unreadiness, make your way by unexpected routes, and attack unguarded spots."
Sun Tzu
 
Thank you for your feedback Sun Tzu, really appreciate it.

I can ping my Main router IP from the branch router. I can also ping my Main office client IP from the Branch router.

My main office client also can ping to the branch router and also to the Branch Office client IP.

My Main Office Client IP using IP starting from 10.1.x.x, whereas my Branch Office client IP using IP starting from 10.2.x.x

When I perform traceroute command from my branch IP router, it successfully find my main router by a single hop via ip address 172.15.x.x

When I perform traceroute from my branch office client, it goes to 10.2.x.x (branch router IP) then 172.15.x.x (branch network address), then …….time out…..,

I did try to ping to DNS 4.2.2.1 from the branch office client but failed.

Could anyone pls assist me or pls teach me, I have been cracking my head for the last 5 days. Really appreciate it. Have a wonderful day.


My Main Office Router Config
!
interface Ethernet0/0
description connected to LAN at Main Office
ip address 10.1.x.x 255.255.0.0
!

interface Serial0/0
description Frame to Branch Office
ip address 172.15.x.x 255.255.x.x
!
!
router eigrp 1
network 10.0.0.0
network 172.15.0.0

My Branch Office Router Config
interface Serial0/0
description Frame to Branch Office
ip address 172.15.x.x 255.255.x.x
!
!
interface Ethernet0/0
description connected to LAN at Main Office
ip address 10.2.x.x 255.255.0.0
!

router eigrp 1
network 10.0.0.0
network 172.15.0.0
!
!


 
ping 66.218.71.92
what do you get

tracert 66.218.71.92
post result.


Steve Bowman
steve.bowman@ultraex.com

 
clarification

ping 66.218.71.92
what do you get

tracert 66.218.71.92
post result.

run from branch office client!

Steve Bowman
steve.bowman@ultraex.com

 
Seems your NAT is not transilating your Global address. Also, varified that your DNS and DG are setup in your config.
 
At your main office, I assume you have a firewall out to the internet. Does your NAT statement cover the remote subnet? Does the firewall have routes for your remote subnet?
 
You must have some other device (firewall) sat on the HQ LAN, as your HQ router config doesnt show an internet link. So your HQ router will need a route pointing any unresolved traffic to that address.

IP route 0.0.0.0 0.0.0.0 firewall-ip
Add
`redistribute static' under your HQ router eigrp configuration, then the branch office router will pick it up.

The firewall will need a route to your branch office subnet via the LAN address of the HQ router.

Also check out routing on the HQ PC's, they should use the HQ router as their default gateway.


 
Thank you so much guys, millions thanks to wybnormal, steveb7, jamin123, dx1, routerman.

Without your valuable info, I wouldn't able to solve it. I forgot to add the subnet mask of remote office to the Firewall.

I am still new to router configuration. Thank you for teaching me,keep up the good work guys. Hava a wonderful day.

Regards,
Chooiw
 
You may be able do this by configuring NAT correctly. Please provide the configuration of the main office router.

andf1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top