Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-14-2011, 06:05 AM   #1
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
Unhappy Address overflow!!


i am simulating mesh networks 802.11s in ns-3 .i wanted to run simulation using over 1000 nodes but this is not possible since it shows me address overflow.this is a part of my code

Ipv4AddressHelper address;
address.SetBase ("", "");

and i get the error

assert failed. cond="m_address <= m_max", msg="Ipv4AddressHelper::NewAddress(): Address overflow", file=../src/
internet/helper/, line=108

i then made the following change
address.SetBase ("", "");
into this
address.SetBase ("", "");

thinking this would give enable me to use more nodes but again i am shown an error

"assert failed. cond="(m_network & ~m_mask) == 0",
msg="Ipv4AddressHelper::SetBase(): Inconsistent network and mask",
file=../src/internet/helper/, line=75 "

please help me out.i do not have much knowledge of ip networking and subnet masking.would be of great help if you can guide me.

thanks a lot!!
Old 11-14-2011, 06:55 AM   #2
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
i think i solved it
i changed it to address.SetBase ("", "");

works for 30x30 grid..but doesnt work out for 50x50 ..any suggestions for to get it working for even larger number of nodes??


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stack Overflow primenu Programming 4 02-07-2010 04:57 AM
Heap overflow:.. primenu Programming 8 02-01-2010 05:30 PM
memory overflow venusian Linux - General 3 03-02-2006 02:21 PM
buffer overflow, finding return address using gdb true_atlantis Linux - Security 9 10-31-2004 06:46 PM
spool overflow wedgeworth Linux - Software 1 01-06-2004 12:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration