#!/bin/bash
if 
   test "$#" -gt 0
then
    mount -n -o remount,rw /
    ifconfig eth0 192.168.100.$1 -arp up
    ifconfig eth1 192.168.200.$1 up
else
    echo "Error, argument not supplied"
fi