Should I use a static route to reach an external ip on a private network?

I am trying to connect an MQ box that is multi homed to a private network that is connected to a 3rd party vendor.  

Server  setup 10.x.x.x  with a gateway at 10.x.x.250 on the LAN interface and on the private with no gateway on the Private interface.   I am trying to get to a 172.19.1. X server on the private network.  

Private network is cisco 1800 series router on  

It has a static route 172.19.1.X (server ip) 172.18.254.X (external router ip)

I can not ping the 172.19.1.x machine from the server.  Do i need a static route on the server? and if so what route?

TreyCarrIT DirectorAsked:
Who is Participating?
You need to make a route referencing the private network to the IP of the 1800.
Also, since no default gateway is used, please make sure line protocol is up by running a "sh int x" on the Cisco 1800 where x is the interface the server is connected to.
TreyCarrIT DirectorAuthor Commented:
I've already tried this from the 2003 server route -p ADD 172.19.1.XXX  and it says bad argument.  Any ideas?

Gateway of last resort is not set is variably subnetted, 2 subnets, 2 masks
S is subnetted, 1 subnets
C       172.18.254.XXXis directly connected, Serial0/0/0.1
C is directly connected, FastEthernet0/0

Also this is the interface.  
FastEthernet0/0 is up, line protocol is up
  Hardware is Gt96k FE, address is 001a.6c6b.5816 (bia 001a.6c6b.5816)
  Description: Inside
add the word MASK to the route add command. it should look like this.

route ADD 172.19.1.XXX MASK

Should I use a static route to reach an external ip on a private network?
You will need to add a static route for each external subnet that will not be using the 'LAN interface'

TreyCarrIT DirectorAuthor Commented:
OK i added a static route on the server. i used the first reply as my basis for discovery. I forgot to add mask before the netmask and all is pingable!!

Thanks. Points coming your way
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.