[ns] agent timeout in Mobile IP module NS2.34

2011-01-05 Thread Mário Augusto
Hi people, I was analyzing Mobile IP module from NS2.34 and RFC 2002 (which describes Mobile IP). The lifetime field sent within Advertisement messages informs "The maximum length of time that the Advertisement is considered valid in the absence of further Advertisements" (such as described in RF

[ns] Correct routing protocol in wired-cum-wireless network

2010-09-30 Thread Mário Augusto
Hi All, I'm simulating a wired-cum-wireless scenario with hierarchical addressing  and Mobile IP ($ns node-config -addressType hierarchical -mobileIP ON), NS version 2.34. Each mobile node downloads a CBR flow from a wired host. I'd like to know which is the correct routing protocol to use (DSDV,

Re: [ns] AgentList gets empty in NS2 MobileIP

2009-12-12 Thread Mário Augusto
Sorry, people, forget my last message. I've had a mistake with some pointers in C++. The AgentList is OK. Best regards, Mario Ezequiel 2009/12/11 Mário Augusto : > Hi All, > > I'm studying mip-reg.cc module because I need to get a list of > available agents which the m

[ns] AgentList gets empty in NS2 MobileIP

2009-12-11 Thread Mário Augusto
Hi All, I'm studying mip-reg.cc module because I need to get a list of available agents which the mobile could connect to. I've put some fprintf(stdout) into MIPMHAgent::recv and into MIPMHAgent::timeout to dump the AgentList every 0.2 seconds and I realised that the AgentList gets empty less tha

Re: [ns] Selecting manually a base-station for connection with MobileIP

2009-11-11 Thread Mário Augusto
Sorry, I did not say what was the version of my NS: version 2.33. Thanks, Mario Ezequiel University of Sao Paulo - Brazil 2009/11/11 Mário Augusto : > Hi All, > > I'm using MobileIP in a scenario with three 802.11 base-stations and a > mobile node > that pass near to them.

[ns] Selecting manually a base-station for connection with MobileIP

2009-11-11 Thread Mário Augusto
Hi All, I'm using MobileIP in a scenario with three 802.11 base-stations and a mobile node that pass near to them. Because of MobileIP, a base-station is *automatically* chosen (foreign agent) and the packets start to be sent to this base-station. What I need to do is choosing what base-station t