[27024] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Simple? Question...

daemon@ATHENA.MIT.EDU (John Hawkinson)
Mon Feb 7 13:04:04 2000

Date: Mon, 7 Feb 2000 12:58:47 -0500
From: John Hawkinson <jhawk@bbnplanet.com>
To: Some unattributed address <nanog@EnterZone.Net>
Cc: nanog@merit.edu
Message-ID: <20000207125847.V19709@jhawk-foo.bbnplanet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <Pine.LNX.3.96.1000207043350.17775G-100000@Overkill.EnterZone.Net>; from nanog@EnterZone.Net on Mon, Feb 07, 2000 at 04:34:44AM -0500
Errors-To: owner-nanog-outgoing@merit.edu


> Can someone please tell me what I need to do in order to have secondary
> interfaces on a Cisco report themselfs as the alias IP rather than the
> primary interface IP address in a traceroute?

This is a confusing way to state the question...it implies some
standard for what it means to "report oneself as an alias IP," and I
think you will find that there is no standard interpretation of that
language.

> Example:
> 
> FastEthernet 1/0/1 has a primary address of 10.1.1.1
> It has a secondary address of 172.16.1.1
> 
> In a traceroute, where it would be expected that the box report itself as
> 172.16.1.1, it is reporting itself as 10.1.1.1
> 
> Is there a way to remedy this situation and have it report itself as the
> IP address that is actually being used for that flow?

No. Upon receipt of the packet, a router (R1) does not have any data
about what IP address the prior hop (R0) may have used to decide to
forward the packet to R1. It merely knows that it came in on that
interface, and might now a MAC address if it was a multiple-access
interface.

So R1 can only send ICMP time exceededs (traceroute responses) from
one address per interface, and it chooses (rightly so) the canonical,
primary address of the interface.

If you wanted to acheive this functionality, you could do it with tunnels,
wherein the rotuer would receive the traffic on a tunnel interface with
your 172.16.1.1 address.

--jhawk

p.s.: Is it asking too much to request people identify themselves by name?


home help back first fref pref prev next nref lref last post