Routing issue

Posted on 2010-08-27
Last Modified: 2012-05-10
I have one core switch catalyst 4506 having following VLAN's
Vlan 10 (GW
Vlan11 (GW
Vlan12 (GW
Vlan13 (GW
One Juniper firewall SSG-140 in which one ADSL connection is configured for the internet purpose (IP is
One Cisco 1700 series router for the leased line (IP is for site A and for the site B the IP is

The routing is --> core switch --> All the users are connected to the core switch directly and having GW and in the core switch we have added default route via
As of now we have one exchange server in which we have added one windows static route to pass its traffic through .50 ( cisco router), rest all the users are not able to route through .50 since they are going out from juniper.

I want all my users to access the site B network which is and for the internet purpose the traffic should go out from Juniper as well.

Please advise.
Question by:tayyabq8
  • 4
  • 2

Expert Comment

ID: 33541426
you'd probably need a static route on your core switch pointing towards it would go something like this

core(config)#ip route nexthop-ip

next hop ip would be the interface on your A router. Off course with this, your A router should know where would be. Are you running a dynamic routing protocol between site A and B? or do you wish to accomplish this my static routes only? if you wish to accomplish this using static routes, you would then need to add a static route (or a default route as it only has one exit) on site B router towards router A.

as a side note, i see your using a public ip addressing on your site B, you might encounter some problems on accessing real public ip address with the same range.

I've attached a diagram from what i understand, kindly advise if i got i wrong, clarify then i may discuss further.

hope this helps :-)

Author Comment

ID: 33543350
Hi ffleisma,

Thank you for your reply.

There is one more part which i did not discuss, that the juniper firewall is connected to the site B juniper firewall which is through public IP. Rest all the topology is fine.We are using static routing.

I have following concerns regarding this
1. Why we are adding the wild card mask instead of subnet mask in the IP ROUTE?
2.I have checked by adding the route "ip route" but it did not work. If i will take the tracert from a system connected to VLAN 10, its still going out through juniper i.e.
3. As of now i am able to reach network by adding the windows static route for the VLAN 10 systems which mean the static routes are added to the both side routers.


Expert Comment

ID: 33543441
sorry about that, wrong syntax on my mask,

where did you place the ip route? on router A or at the core (4506), it should be placed at the core, pointing at the ip address of the interface connected to router A, not

then router A should have the ip route then try tracert. and trace the packet.

does that make sense? give it a try and let me know.

hope it helps :-)
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Author Comment

ID: 33543803
yes it makes sense.

The router interface IP is, i do not have access to the router, let me check from my vendor and i hope it will work.

i will let you posed the result. Thx


Author Comment

ID: 33552163

What I understand from your posted diagram that you are assuming and are pointing towards each other, that is not the case, (router A) and (router B) are configured by ISP and they are pointing towards each other, 172.188.x.x are our internal IP addresses, apart from this, your posted diagram is perfectly fine, meanwhile I wanted to clarify below point with you:

where did you place the ip route? on router A or at the core (4506), it should be placed at the core, pointing at the ip address of the interface connected to router A, not

I placed the route at core (4506) using command core(config)#ip route

but still I'm not able to ping from other vlans, is there something wrong? is connected with my network (172.188.110.x) because I'm able to access it from 172.188.110.x network but not from other vlans. Please advise.

PS: Sorry I couldn't get password for Router A and Router B from ISP, so can't share more information on that.

Accepted Solution

keakathleen earned 500 total points
ID: 33591690
If you do not have access to the routers, then I am not sure that you will be able to route the traffic unless your ISP agrees to do so. Router B needs to have an interface in vlan 172.188.110.x and Router A needs to know how to forward this traffic through an IP route to Router B. Since it's a private vlan, your ISP may or may not agree to do this.

Author Closing Comment

ID: 33767193
ISP took care of the routing between remote sites.

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question