Can't ping lan from router

I have a cisco 2811 router that has a t1 connection.  I can ping the vlan IP address of 192.168.21.1 from my location fine.  The issue arrises when I try to ping backwards from the 192 network back to my network without having to specify the interface to ping from.  

Is there a way I can specify the interface to take when reaching other lan networks, without having to specify that every time?
sstireAsked:
Who is Participating?
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.

Ken BooneNetwork ConsultantCommented:
yes type the following:

ping x.x.x.x source y.y.y.y

where x.x.x.x is the dest and y.y.y.y is the source ip that you want to ping from.

By default the router will use the ip address of the outbound interface for the source ip address of a packet that is generated by the router.
0
sstireAuthor Commented:
Correct, that's how I have to do it right now.  Which sucks when I try to do any ftp from the router to back up configs etc, because the default outbound interface is the public serial IP  interface.
0
Ken BooneNetwork ConsultantCommented:
Use the ip ftp source-interface command
or
ip tftp source-interface command to fix that problem.
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
sstireAuthor Commented:
Ken-that seams to have fixed the FTP problem now:)  Thank you, also is there a way to take that one step further so that all traffic originates from the vlan interface instead of from the serial interface?
0
Ken BooneNetwork ConsultantCommented:
nope
There are other things you can specify the source address for though.

snmp and ntp are two others I can think of off the top of my head.

There is no global blanket that covers everything though.
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.

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.