Amazing technological breakthrough possible @S-Logix

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • +91- 81240 01111

Social List

How to apply MobileIP protocol in NS2?


Mobile IP is the communication protocol that provides the seamless service to the mobile users with their mobility nature. In file MIP.tcl, mobile user gets the service from home agent and after the user mobility to the another region, user gets the service from the foreign agent through tunneling.

Sample Code

#Filename: MIP.tcl

$ns node-config – mobileIP ON
set temp {1.0.0 2.0.0}
set HA [$ns node [lindex $temp 0]]
set FA [$ns node [lindex $temp 1]]



apply MobileIP protocol in NSs2