[Ns-bugs] [Bug 471] New: [contribution] access point address manager
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Fri Jan 16 13:37:49 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=471
Summary: [contribution] access point address manager
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: wifi
AssignedTo: ns-bugs at isi.edu
ReportedBy: tomh at tomh.org
Estimated Hours: 0.0
This contribution is from Francesco Malandrino, 1/5/09 ns-3-users post.
Quoting:
"Hi,
Attached the "magic DHCP" I was talking about.
Functions are (shortly) documented with comments; you basically do the
following:
1. add APs, stating base (network) address, e.g. "192.168.1." and first
available IP (eg. 2 if the AP has 192.168.1.1). Note that only /24
networks are supported;
2. add stations.
The manager takes care for both addressing and routing. Additionally,
you may specify one or more multicast route, in case you use it (by
default, multicast frames sent from your stations won't be automatically
forwarded).
Also note that if you use this component you do NOT have to call
GlobalRouteManager::PopulateTables.
Ah, stations (more correctly: WifiNetDevices of stations) do need to
have a (any, possibly a bogus one) address when they are not associated,
so please make sure not to Add WifiNetDevices without an address, or
Send from your applications will fail.
Comments or suggestions are welcome (especially if you want to turn this
stuff into a DHCP implementation ;))
Francesco"
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list