equal
deleted
inserted
replaced
95 // |
95 // |
96 // We've got the "hardware" in place. Now we need to add IP addresses. |
96 // We've got the "hardware" in place. Now we need to add IP addresses. |
97 // |
97 // |
98 NS_LOG_INFO ("Assign IP Addresses."); |
98 NS_LOG_INFO ("Assign IP Addresses."); |
99 ipv4.SetBase ("10.1.1.0", "255.255.255.0"); |
99 ipv4.SetBase ("10.1.1.0", "255.255.255.0"); |
100 Ipv4InterfaceContainer i = ipv4.Allocate (d); |
100 Ipv4InterfaceContainer i = ipv4.Assign (d); |
101 |
101 |
102 NS_LOG_INFO ("Create Applications."); |
102 NS_LOG_INFO ("Create Applications."); |
103 // |
103 // |
104 // Create a UdpEchoServer application on node one. |
104 // Create a UdpEchoServer application on node one. |
105 // |
105 // |