Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

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

Social List

How to apply MobileIP protocol in NS2?

Description

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]]

 

Screenshots

apply MobileIP protocol in NSs2