From: Lupi, Guy (Guy.Lupi@xxxxxxxxxxxxx)
Date: Sat Mar 09 2002 - 14:58:59 GMT-3
Is the requirement just to make r3 respond to pings from r2, or to truly
have r2 send icmp with the source of the secondary ip address? If it is
just to make r3 respond, you can just give it a route to the ip address of
the source IP that is pinging it, and that will work. Other than that I'm
not sure. Do you know for a fact that it can be done in the way that you
stated, forcing r2 to actually source the ping with the secondary interface
address?
R3
interface Serial0/0
ip address 1.1.1.8 255.255.255.0
!
ip route 140.100.28.2 255.255.255.255 Serial0/0
R2
interface Serial1
ip address 1.1.1.2 255.255.255.0 secondary
ip address 140.100.28.2 255.255.255.252
ipx network 28
ipx nlsp enable
r2#ping 1.1.1.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
r2#
01:04:14: ICMP: echo reply rcvd, src 1.1.1.8, dst 140.100.28.2
01:04:14: ICMP: echo reply rcvd, src 1.1.1.8, dst 140.100.28.2
01:04:14: ICMP: echo reply rcvd, src 1.1.1.8, dst 140.100.28.2
01:04:14: ICMP: echo reply rcvd, src 1.1.1.8, dst 140.100.28.2
01:04:14: ICMP: echo reply rcvd, src 1.1.1.8, dst 140.100.28.2
~-----Original Message-----
~From: alain faure [mailto:alainfaure@yahoo.fr]
~Sent: Saturday, March 09, 2002 10:04 AM
~To: Paul Borghese; Shadi; ccielab
~Subject: Re: For smart CCIE Candidates
~
~
~Hi,
~
~I looked at it, but find no thing to set the IP source address.
~
~Best regards
~
~ --- Paul Borghese <pborghese@groupstudy.com> a icrit : > Have
~you tried IP
~policy routing?
~> ----- Original Message -----
~> From: "Shadi" <ccie@investorsgrp.com>
~> To: "ccielab" <ccielab@groupstudy.com>
~> Sent: Saturday, March 09, 2002 4:05 AM
~> Subject: For smart CCIE Candidates
~>
~>
~> > Hi,
~> >
~> >
~> > If you have two IP addresses on the same interface (one
~primary and the
~> other
~> > secondary), how can you make the router for each network
~it tries to reach
~> it
~> > should use one of the ip addresses as the source ip for
~that network?
~> >
~> >
~> > R1 wants to ping R2 it should use 10.1.1.1 (which is by
~default works)?
~> >
~> > R1 wants to ping R3 is should use 204.100.100.1 as the
~source IP address
~> not
~> > 10.1.1.1,
~> >
~> > I tried it with Nating but it didn't work with me!!!
~> >
~> > So anybody have any ideas?
~> >
~> >
~> >
~> >
~> >
~>
~R1(10.1.1.1)---------------------------------------------------
~-------------
~> R
~> > 2(10.1.1.1)
~> > (204.100.100.1 Secondary)
~> > |
~> > |
~> > |
~> > |
~> > |
~> > R3
~> > (204.100.100.2)
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:58 GMT-3