I'm working with a bash script which is for the ip-configuration.
So the user can type in his ip and subnetmask and broadcast and networkadress and his Defaultgateway like:
echo "Type in your ip:"
echo "Type in your Subnetmask:"
echo "Type in your Broadcast:"
echo "Type in your Networkadress:"
echo "Type in your Defaultgateway:"
So yet i Need a kind of Syntax check or something else so that the defaultgateway is only validate when the Input is
between the Network and the broadcast like this:
Network < Gateway < Broadcast