[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns2]: TCP-connections get pruned ?!



>>> From: "Christoph Haenle" <christoph@starburstcom.com>
>>> Date: Fri, 08 Aug 1997 12:47:14 EDT

> I'd wish I could. I'm using a graphical front end (TkIned) for
> interactively setting up network topology, traffic, etc. I use a tcl-script
> to interact between Tkined and ns, thus, I don't actually have a script
> that is interpreted by ns.
> I checked if I easily could generate one with my interactive configuration
> program, but it appears to be a heavy task. I'll thus have a closer look
> myself at the problem and post another mail if I can't get the problem
> fixed.

The conjecture is that, by default, addresses are 8 bytes for the node
address, and 8 bytes for the port id.  So, any host address 128 and over
gets treated as a multicast address, which appears to be what you are
seeing.

Lee and Polly had fixed this problem when they encountered it earlier.
I had mistakenly thought that this fix to expand addresses was the
default.  You might try adding the line:

	Node expandaddr

right after you acquire the instance of the simulator.  Then, allocate
your multicast address as 

	set group [Node allocaddr]


Kannan