Solved

Which source address will be ?

Posted on 2002-06-23
8
213 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
Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

 

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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

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…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…
Suggested Courses
Course of the Month5 days, 8 hours left to enroll

627 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