Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Which source address will be ?

Posted on 2002-06-23
8
Medium Priority
?
215 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 200 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
The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

 

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…

670 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