We help IT Professionals succeed at work.

Can't ping lan from router

sstire
sstire asked
on
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?
Comment
Watch Question

Ken BooneNetwork Consultant
CERTIFIED EXPERT

Commented:
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.

Author

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.
Network Consultant
CERTIFIED EXPERT
Commented:
Use the ip ftp source-interface command
or
ip tftp source-interface command to fix that problem.

Author

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?
Ken BooneNetwork Consultant
CERTIFIED EXPERT
Commented:
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.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.