public void writeTable()
	{
		lock.lock();
		try {

			System.out.println("[RountingThread] Reconfiguration ip");
			SystemCommand.cmdExecPrint("ip addr flush dev " + "eth0");
			SystemCommand.cmdExecPrint("ip route flush dev " + "eth0");
			try {
				SystemCommand.cmdExecPrint("ip addr add " + InetAddress.getLocalHost().getHostAddress()  + "/16 dev " + "eth0" + " brd +");
				SystemCommand.cmdExecPrint("ip route add to default via " + InetAddress.getLocalHost().getHostAddress());
			} catch (UnknownHostException e) {
				e.printStackTrace();
			}
			for (IP m : table.keySet()) {
				SystemCommand.cmdExecPrint("ip route add to " + m + "/32 via " + table.get(m));
				System.out.println("[RountingThread] ip route add to " + m + "/32 via " + table.get(m));
			}
		}
		finally {
			lock.unlock();
		}
	}