Amazing technological breakthrough possible @S-Logix 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 create Vertical Handoff in heterogeneous Wireless network using NS2?

Step 1

Heterogeneous network

The heterogeneous network consists of 1 mobile node modeled as multiface node that has three interfaces for the access to WiFI, WiMAX and UMTS technologies. Mobile node is downloading the data from server node. Mobile node is initially getting the data via UMTS. After certain period it detects the signal from WiMAX access point and establishes the connection through it. During mobility, mobile node enters into the region of WiFi access point and handover process occurs.

RNC : id=0; addr=0.0.0

bsUMTS: id=1; addr=0.0.1

CN: id=3; addr=1.0.0

Ethernet router1: id=4; addr=2.0.0

bstation1(WIFI) : id=8; addr=3.0.0

bstation802_16(WIMAX): id=10; addr=4.0.0

multiFaceNode : id=7; addr=5.0.0

Mutliface node consists of following four interfaces

e0(UMTS) : id=2; addr=0.0.2

iface2(Ethernet) : id=5; addr=2.0.2

iface1(WIFI) : id=9; addr=3.0.1

iface3(WIMAX): id=11; addr=4.0.1

num_nodes is set 14


create Vertical Handoff in heterogeneous Wireless network using NS2
Step 2

Vertical Handoff

Interfaces

At 0.001000 in 5.0.0, MIH receives get_status for local MIH

MIH_Get_Status results for 4 interface(s):

Link ID: linkType=23, macMobileTerminal=0, macPoA=-1

Capabilities are: commands:3, events:3

MIH User subscribing for events 1ff on Mac 0

Subscription status: requested=1ff, result=3

Link ID: linkType=19, macMobileTerminal=7, macPoA=-1

Capabilities are: commands:f, events:1bf

MIH User subscribing for events 1ff on Mac 7

Subscription status: requested=1ff, result=1bf

Link ID: linkType=15, macMobileTerminal=5, macPoA=-1

Capabilities are: commands:3, events:3

MIH User subscribing for events 1ff on Mac 5

Subscription status: requested=1ff, result=3

Link ID: linkType=27, macMobileTerminal=9, macPoA=-1

Capabilities are: commands:f, events:1bf

At 0.100000 in 5.0.0 Handover1 received link up type 23, MacAddr=0, MacPoA=-1

At 0.100000000 Handover1 utility MN UMTS interface: 0.340000 // Initially established connection is UMTS

At 0.022315 in 5.0.0 Handover1 link detected type 27, MacAddr=9, PoA=8

At 0.022315331 Handover1 utility MN 80216 interface: 0.450000

££££££££££££££££££££££££££££££££££££££

At 0.022315 IAM IN ABC ZONE Link Detected of 4 interface: 80211 0.000000 80216 0.450000 umts 0.000000 LTE 0.000000

££££££££££££££££££££££££££££££££££££££

££££££££££££££££££££££££££££££££££££££

At 0.022315 BEST UTILITY INTERFACE = 1: U= 0.450000

££££££££££££££££££££££££££££££££££££££

// WIMAX link detected

££££££££££££££££££££££££££££££££££££££

best is 1

At 0.100000 BEST UTILITY INTERFACE = 1:

££££££££££££££££££££££££££££££££££££££

YES found !! it’s 1 0At 0.100000 Studying flow 0 using interface 0.0.2

Must redirect this flow to use interface 4.0.1

// Send redirect message to WIMAX

At 0.100000 MIPv6 Agent in 5.0.0 send redirect message using interface 4.0.1

Case2: sending RS

// recv redirect message

At 5.668929 MIPv6 Agent in 1.0.0 received redirect packet from 4.0.1

At 5.688955 in Mac 8 DestClassifier classifying packet for 9(size=48, type=ifmngmt_red)

At 5.690740 MIPv6 Agent in 5.0.0 received ack for redirect packet from 1.0.0

// WIFI Link detected

At 19.101751 in 5.0.0 Handover1 received link up type 19, MacAddr=7, MacPoA=6

At 19.101750501 Handover1 utility MN 80211 interface: 0.327314

££££££££££££££££££££££££££££££££££££££

best is 0

At 19.101751 BEST UTILITY INTERFACE = 0:

££££££££££££££££££££££££££££££££££££££

YES found !! it’s 0 0At 19.101751 Studying flow 0 using interface 4.0.1

Must redirect this flow to use interface 3.0.1

// Send redirect message to WIFI

At 19.101751 MIPv6 Agent in 5.0.0 send redirect message using interface 3.0.1

Case2: sending RS

// recv redirect message

**At 19.112617704 Mac 7 rxtp 160793.334225At 19.125455 MIPv6 Agent in 1.0.0 received redirect packet from 3.0.1

**At 19.146812802 Mac 7 rxtp 25266.778845At 19.146838 MIPv6 Agent in 5.0.0 received ack for redirect packet from 1.0.0


Vertical-Handoff in NS2
Step 3

OUTPUT

UMTS

create Vertical Handoff

WIFI

heterogeneous Wireless network using NS2

WIMAX

Network Simulator2