#!/bin/sh
#
#	This script will configure network interfaces, VLAN's, and routes
#


start() {
	logger -s -p "user.info" -t "$0" "Configuring network"

# ETH2 BEGIN
ip address add dev eth2 local 192.168.2.111/24
ip link set eth2 up

# additional addresses


# VLAN

# ETH2 END

}



stop() {
    logger -s -p "user.info" -t "$0" "Taking network down"
}



case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  restart|reload)
    $0 stop
    $0 start
    ;;
  *)
    echo $"Usage: $0 {start|stop|restart}"
    exit 1
esac

exit $?
