|
@ -288,7 +288,7 @@ void Simulation::natOverflowSimulation(int nNodes) |
|
|
client[i].setMask("255.255.255.0"); |
|
|
client[i].setMask("255.255.255.0"); |
|
|
client[i].setGatewayIp("10.13.12.254"); |
|
|
client[i].setGatewayIp("10.13.12.254"); |
|
|
ss.str(""); |
|
|
ss.str(""); |
|
|
ss << "IP 10.13.12." << (i + 1) << "/24, Gateway: 10.0.0.1"; |
|
|
|
|
|
|
|
|
ss << "IP 10.13.12." << (i + 1) << "/24, Gateway: 10.13.12.254"; |
|
|
client[i].print(ss.str()); |
|
|
client[i].print(ss.str()); |
|
|
usleep(12500); |
|
|
usleep(12500); |
|
|
} |
|
|
} |
|
|