2002-04-09 15:26:01 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# This file sets up the tap device.
|
|
|
|
# It gives you the freedom to do anything you want with it.
|
|
|
|
# Use the correct name for the tap device:
|
2003-08-24 20:38:31 +00:00
|
|
|
# The environment variable $INTERFACE is set to the right name
|
|
|
|
# on most platforms, but if it doesn't work try to set it manually.
|
2002-04-09 15:26:01 +00:00
|
|
|
|
|
|
|
# Give it the right ip and netmask. Remember, the subnet of the
|
|
|
|
# tap device must be larger than that of the individual Subnets
|
|
|
|
# as defined in the host configuration file!
|
2003-08-24 20:38:31 +00:00
|
|
|
ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0
|