Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion 32bit address issue (ns-3.2 stable)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tom Henderson  
View profile  
 More options Nov 24 2008, 11:50 pm
From: Tom Henderson <t...@tomh.org>
Date: Mon, 24 Nov 2008 20:50:20 -0800
Local: Mon, Nov 24 2008 11:50 pm
Subject: Re: 32bit address issue (ns-3.2 stable)

Norman wrote:
> Hi Mathieu,

> Is there any way to assign a second address to that loopback,
> so that I could have 127.0.0.1 and my RID on that interface?

> Thanks,

> --
> Norman

Norman,

In response to above, no, presently there is not clean support for that.
  See this bug:
http://www.nsnam.org/bugzilla/show_bug.cgi?id=188

We are reworking the Ipv4Interface class to allow it to hold multiple
IPv4 addresses (one primary and multiple secondary), as in Linux, but
that support will not be merged until after ns-3.3 is released.  The
code that implements this IP aliasing is presently in the private branch
http://code.nsnam.org/tomh/ns-3-ip

Regarding your other question:

 > My personal observation is that  the same type of symptom (lack of
 > routing) is same for three different (separate) type of
 > configurations:
 > 1. Adding an extra loopback (as described above)
 > 2. Adding second IP address to the same interface (this is unsupported
 > as you pointed out Mathieu)
 > 3. Adding a sort of pseudo-interface (additional csma or p2p) to act
 > as loopback and addressing it with /32 (as I described in my initial
 > email).
 >
 > All three scenarios are failing in the same way - routing is broken.
 >

I believe that this in general is related to the lack of support for
stub networks, as has been recently called out in the end of bug 406:
http://www.nsnam.org/bugzilla/show_bug.cgi?id=406

I believe that, after bug 406 is fixed, you should be able to create a
new virtual device (a second loopback) and put an address on it and use
that as a router ID; I'll write a test case for that scenario.

I am going to prioritize fixing the above this week and will get back to
you when I make progress.

- Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.