#!/bin/sh localIp='192.168.1.10/24' localBroadcast='192.168.1.255' netAdp=$1 sudo ip addr add $localIp broadcast $localBroadcast dev $netAdp