Solved

Which source address will be ?

Posted on 2002-06-23
8
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sirator
ID: 7130983
Thanks so much mikecr.I try it and it's o.k.
0
 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…

756 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