#5, First Floor, 4th Street , Dr. Subbarayan Nagar, Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • 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