Solved

Which source address will be ?

Posted on 2002-06-23
8
207 Views
Last Modified: 2010-04-17
I configure ip address on the Cisco 2620 with 1 primary and 2 secondary within the FastEthernet interface as followings

  ip address 203.114.2.12 255.255.255.0
  ip address 192.168.1.1 255.255.255.0 secondary
  ip address 172.16.10.1 255.255.255.0 secondary

Then , I ping to another client from Cisco to 172.16.10.208 ,I observed that it used its primary ( 203.144.2.12 ) address as the source address to the destination 172.16.10.208.

the question is
 1.why doesn't it use the 172.16.10.1 to be its source address ?  
 2.Have any approach can I force the router to use the 172.16.10.1 to be the source address when pinging 172.16.10 network. ? ( the same with 192.168.1 network )

0
Comment
Question by:sirator
  • 4
  • 4
8 Comments
 
LVL 17

Accepted Solution

by:
mikecr earned 50 total points
ID: 7101665
Any time you ping from any interface on a Cisco router, it will ping from the interfaces primary address. If you want to ping and use the 172.0.0.0 address as your coming from point, just type ping without any parameters and you will get the extended ping command. One of the options will be to use extended commands. Choose yes and put in the source address of 172.16.10.1 and your pings will come from that address instead of the 203 address.
0
 

Author Comment

by:sirator
ID: 7102541
And how about the other brand name router ? Is it the same ?

Thanks
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7103385
Most routers support the extended ping now. You may want to check your documentation on that but as for Cisco, ALL routers and switches support the extended command for ping.
0
 

Author Comment

by:sirator
ID: 7130983
Thanks so much mikecr.I try it and it's o.k.
0
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

by:sirator
ID: 7131016
Anyway mikecr , Is there a method to force the CISCO router to be automatically set to use Source address of its interface when traffic's going through that interface ???
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7137437
I'm not sure I understand what you mean. Can you elaborate a little more.
0
 

Author Comment

by:sirator
ID: 7148885
I meant that , suppose I have two ip on ethernet interface of Router ,
   primary is ip address 203.114.2.12 255.255.255.0
   secondary is ip address 172.16.10.1 255.255.255.0 secondary

   then suppose , I'm at that Router and then I ping to 172.16.10.208 with command "ping 172.16.10.208" , for this case I want the source address of router to be 172.16.10.1 instead of 203.114.2.12. Can I?  Or I always have to use the ping's extended option ?
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7149581
No, at that point the ping will probably come from the IP address that is located on that network, in this case the 172.16 address.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now