equal
deleted
inserted
replaced
82 NetDeviceContainer nd0 = csma.Install (c0); // First LAN |
82 NetDeviceContainer nd0 = csma.Install (c0); // First LAN |
83 NetDeviceContainer nd1 = csma.Install (c1); // Second LAN |
83 NetDeviceContainer nd1 = csma.Install (c1); // Second LAN |
84 |
84 |
85 NS_LOG_INFO ("Add IP Stack."); |
85 NS_LOG_INFO ("Add IP Stack."); |
86 InternetStackHelper internet; |
86 InternetStackHelper internet; |
87 internet.Install (c0); |
87 internet.Install (c); |
88 internet.Install (c1); |
|
89 |
88 |
90 NS_LOG_INFO ("Assign IP Addresses."); |
89 NS_LOG_INFO ("Assign IP Addresses."); |
91 Ipv4AddressHelper ipv4Addr; |
90 Ipv4AddressHelper ipv4Addr; |
92 ipv4Addr.SetBase ("10.1.1.0", "255.255.255.0"); |
91 ipv4Addr.SetBase ("10.1.1.0", "255.255.255.0"); |
93 ipv4Addr.Assign (nd0); |
92 ipv4Addr.Assign (nd0); |