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


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

# ETH3 BEGIN
ip address add dev eth3 local 172.16.1.2/24
ip link set eth3 up

# additional addresses

# VLAN

# Routes

# ETH3 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 $?

