40 likes | 181 Views
node1. node10. Topology 12 nodes divided into two groups to simulate a wireless network in each group, 5 nodes communicate with one node which is assumed to be the base station. Each base station is connected to a terminal Each terminal is connected to a satellite.
E N D
node1 node10 • Topology • 12 nodes divided into two groups to simulate a wireless network • in each group, 5 nodes communicate with one node which is assumed to • be the base station. • Each base station is connected to a terminal • Each terminal is connected to a satellite. • - 11 polar satellites in one plane are used.
13 0 node1 18 24 11 12 node10 23 + 50 13 18 cbr 210 ------- 0 13.0 23.0 0 836- 50 13 18 cbr 210 ------- 0 13.0 23.0 0 836r 50.002336 13 18 cbr 210 ------- 0 13.0 23.0 0 836+ 50.002336 18 11 cbr 210 ------- 0 13.0 23.0 0 836- 50.002336 18 11 cbr 210 ------- 0 13.0 23.0 0 836r 50.004672 18 11 cbr 210 ------- 0 13.0 23.0 0 836+ 50.0047 11 0 cbr 210 ------- 0 13.0 23.0 0 836 0.00 -10.00 2.99 -0.21- 50.0047 11 0 cbr 210 ------- 0 13.0 23.0 0 836 0.00 -10.00 2.99 -0.21r 50.0107 11 0 cbr 210 ------- 0 13.0 23.0 0 836 0.00 -10.00 2.99 -0.21+ 50.0107 0 12 cbr 210 ------- 0 13.0 23.0 0 836 2.99 -0.21 0.00 10.00- 50.0107 0 12 cbr 210 ------- 0 13.0 23.0 0 836 2.99 -0.21 0.00 10.00r 50.0168 0 12 cbr 210 ------- 0 13.0 23.0 0 836 2.99 -0.21 0.00 10.00+ 50.016791 12 24 cbr 210 ------- 0 13.0 23.0 0 836- 50.016791 12 24 cbr 210 ------- 0 13.0 23.0 0 836r 50.019127 12 24 cbr 210 ------- 0 13.0 23.0 0 836+ 50.019127 24 23 cbr 210 ------- 0 13.0 23.0 0 836- 50.019127 24 23 cbr 210 ------- 0 13.0 23.0 0 836r 50.021463 24 23 cbr 210 ------- 0 13.0 23.0 0 836
Some Important issues • What if one of the nodes move to a place where it can’t communicate • with its base station. • I used the following code in ns2: • $ns rtproto DV $ns rtmodel-at 200.0 down $node1 $BS0 $ns rtmodel-at 300.0 up $node1 $BS0 13 0 node1 18 24 11 12
$ns rtmodel-at 150.0 down $node1 $BS0$ns rtmodel-at 230.0 down $node1 $node4 $ns rtmodel-at 300.0 up $node1 $BS0 $ns rtmodel-at 350.0 up $node1 $node4