1 / 16

Network Simulator NS-2

Network Simulator NS-2. Wired-cum-Wireless Networks. 공주대학교 노승환 2009-11-10. Wired-cum-wireless Network. Wired-cum-wireless simulation example Network toplogy of multiple LANs connected through wired nodes. Mixed scenario consisting of a wireless and a wired domain.

Download Presentation

Network Simulator NS-2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Simulator NS-2 Wired-cum-Wireless Networks 공주대학교 노승환 2009-11-10

  2. Wired-cum-wireless Network • Wired-cum-wireless simulation example • Network toplogy of multiple LANs connected through wired nodes. • Mixed scenario consisting of a wireless and a wired domain. • Creating wired-cum-wireless scenario wireless2.tcl by modifying wireless1.tcl • Topology • 2 wired nodes, W(0) and W(1) connected to wireless domain • 3 mobilenodes in wireless domain via base station node.

  3. Wired-cum-wireless Network • Topology

  4. Wired-cum-wireless Network • Definition of the type of network components • Adhoc routing protocol : DSDV • TCP and CBR connections between wired and wireless nodes. • Don’t use connection pattern file. • opt() : scope is defined only in the test script.

  5. Wired-cum-wireless Network • Hierarchical routing • In order to route pkts between wireless and wired domains. • Adhoc routing is used in wireless domain routing. No concept of “link” in wireless domain. • Base station is used as gateway between two domains. • Wired and wireless nodes are segregated by placing them in different domains.

  6. Wired-cum-wireless Network • Tracing for simulation • Traces are generated for both wired and wireless domains. • Wireless traces begin with “WL”. • Setting up traces and nam traces. • Address hierarchy • for wired nodes(2 nodes) • Node 1 : 0(domain 0).0(cluster 0).0(only node) • Node 2 : 1(domain 0).1(cluster 1).0(only node) • for wireless nodes(4 nodes) • Base-station : 1(domain 1).0(cluster 0).0(first node in cluster) • WL node#1 : 1.0.1(second node in cluster) • WL node#1 : 1.0.2(third node in cluster) • WL node#1 : 1.0.3(fourth node in cluster)

  7. Wired-cum-wireless Network • Creating wired, wireless and base-station • Configure for base-station

  8. Wired-cum-wireless Network • Creating base-station and wireless nodes

  9. Wired-cum-wireless Network • Setup traffic between wired and wireless nodes

  10. Mobile IP in a simple wired-cum-wireless Network • Extend mobile IP support in the wired-cum-wireless scenario(wireless3.tcl) • Roaming outside the domain of its basestation. • 2 basestations : HA(Home Agent), FA(Foreign Agent) • MH(Mobile Host) roams from HA to FA.

  11. Mobile IP in a simple wired-cum-wireless Network • Number of mobilenode and time of simulation • Don’t use connection type and movement pattern files • Define the TCP flow starttime. • Number of wired, base-station and mobile nodes. • The base-station nodes, HA and FA, are individually created and handled.

  12. Mobile IP in a simple wired-cum-wireless Network • Cluster and node parameters • Setup ns trace and nam files.

  13. Mobile IP in a simple wired-cum-wireless Network • Configure for FA and HA nodes.

  14. Mobile IP in a simple wired-cum-wireless Network • Configure for mobilehost.

  15. Mobile IP in a simple wired-cum-wireless Network • Create link between Wired node and HA/FA and setup TCP Connection.

  16. That’s it

More Related