Solved

Can't ping lan from router

Posted on 2012-03-09
5
687 Views
Last Modified: 2012-03-12
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?
0
Comment
Question by:sstire
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:Ken Boone
ID: 37702930
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
 

Author Comment

by:sstire
ID: 37703024
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
 
LVL 24

Accepted Solution

by:
Ken Boone earned 500 total points
ID: 37703100
Use the ip ftp source-interface command
or
ip tftp source-interface command to fix that problem.
0
 

Author Comment

by:sstire
ID: 37709398
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
 
LVL 24

Assisted Solution

by:Ken Boone
Ken Boone earned 500 total points
ID: 37709984
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

Featured Post

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.

Question has a verified solution.

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

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…

785 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