RE: Basic routing question

From: Scott Morris (swm@emanon.com)
Date: Thu Aug 24 2006 - 21:23:34 ART


Use the 'source' part of ping!

interface FastEthernet0/0
 ip address 10.10.10.10 255.255.255.0 secondary
 ip address 10.9.9.9 255.255.255.0 secondary
 ip address 11.11.11.11 255.255.255.255
!
interface FastEthernet0/1
          
R1(config-if)#end
R1#ping
*Aug 25 00:15:16.769: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 20.20.20.20 source ?
  A.B.C.D Source address
  Async Async interface
  BVI Bridge-Group Virtual Interface
  CDMA-Ix CDMA Ix interface
  CTunnel CTunnel interface
  Dialer Dialer interface
  FastEthernet FastEthernet IEEE 802.3
  Lex Lex interface
  Loopback Loopback interface
  MFR Multilink Frame Relay bundle interface
  Multilink Multilink-group interface
  Null Null interface
  Port-channel Ethernet Channel of interfaces
  Tunnel Tunnel interface
  Vif PGM Multicast Host interface
  Virtual-PPP Virtual PPP interface
  Virtual-Template Virtual Template interface
  Virtual-TokenRing Virtual TokenRing
  XTagATM Extended Tag ATM interface

R1#ping 20.20.20.20 source 10.10.10.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.20.20.20, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.10
!!!!!
Success rate is 100 percent (5/5)
R1#

HTH,

 
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
#153, CISSP, et al.
CCSI/JNCI-M/JNCI-J
IPExpert VP - Curriculum Development
IPExpert Sr. Technical Instructor
smorris@ipexpert.com
http://www.ipexpert.com
 

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of N
Mohamed
Sent: Thursday, August 24, 2006 7:38 PM
To: ccielab@groupstudy.com
Subject: Basic routing question

Hi All

I have a small problem but it is big for me,.

Router A-------------Router B---------------Router C----------Router D

Router A can ping Router D
Router B cant ping Router D

Reason, Router B has many secondary IP and the link between Router B and
Router C is one of the secondary IPs.The primary IP is a private one,so
Router C or Router D dont knows this and drops the packet.

My question is how can we make the router to choose the secondary IP
depending up on the destination ?

Thanks
Mohamed.

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to Sify
Limited and is intended for use only by the individual or entity to which it
is addressed, and may contain information that is privileged, confidential
or exempt from disclosure under applicable law. If this is a forwarded
message, the content of this E-MAIL may not have been sent with the
authority of the Company. If you are not the intended recipient, an agent of
the intended recipient or a person responsible for delivering the
information to the named recipient, you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at admin@sifycorp.com

Watch the latest updates on Mumbai, with video coverage of news, events,
Bollywood, live darshan from Siddhivinayak temple and more, only on
www.mumbailive.in

Watch the hottest videos from Bollywood, Fashion, News and more only on
www.sifymax.com



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:58 ART