aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorjjako <jjako>2003-04-11 09:40:12 +0000
committerjjako <jjako>2003-04-11 09:40:12 +0000
commita7cd249501b869ed518746b301eb92230ec50f50 (patch)
tree685d542efae0d9e14c1bd21ecb64117521f8c5a9 /examples
parentafb2a970de8bcc78142bf0a40a8481012a6d2f34 (diff)
added ippool.h and ippool.c
Diffstat (limited to 'examples')
-rw-r--r--examples/ggsn.conf39
-rw-r--r--examples/sgsnemu.conf27
2 files changed, 34 insertions, 32 deletions
diff --git a/examples/ggsn.conf b/examples/ggsn.conf
index c2d3678..5550525 100644
--- a/examples/ggsn.conf
+++ b/examples/ggsn.conf
@@ -36,13 +36,8 @@ listen 10.0.0.240
# TAG: net
# IP network address of external packet data network
-# Used to allocate dynamic IP addresses and set up routing.
-#net 192.168.0.0
-
-# TAG: mask
-# IP network mask of external packet data network
-# Used to allocate dynamic IP addresses and set up routing.
-#mask 255.255.255.0
+# Used to set up network interface.
+#net 192.168.0.0/24
# TAG: ipup
# Script executed after network interface has been brought up.
@@ -54,12 +49,36 @@ listen 10.0.0.240
# Executed with the following parameters: <devicename> <ip address>
#ipdown /etc/ggsn/ip-down
+# TAG: dynip
+# Dynamic IP address pool.
+# Used for allocation of dynamic IP address when address is not given
+# by HLR or radius server.
+#dynip 192.168.0.0/24
+
+# TAG: statip
+# Use of this tag is currently UNSUPPORTED
+# Static IP address pool.
+# Used for allocation of static IP address by means of either HLR or
+# radius server.
+#statip 192.168.1.0/24
+
+# TAG: pcodns1
+# Protocol configuration option domain name system server 1.
+#pcodns1 0.0.0.0
+
+# TAG: pcodns2
+# Protocol configuration option domain name system server 2.
+#pcodns2 0.0.0.0
# TAG: timelimit
# Exit after timelimit seconds.
# Setting timelimit to zero will cause the program not to exit.
#timelimit 0
+# TAG: apn
+# Use of this tag is EXPERIMENTAL
+# Access point name to connect to when run in client mode.
+#apn internet
# TAG: qos
# Use of this tag is EXPERIMENTAL
@@ -67,12 +86,6 @@ listen 10.0.0.240
# 3 bytes corresponding to ????
#qos 0x0b921f
-# TAG: apn
-# Use of this tag is EXPERIMENTAL
-# Access point name to connect to when run in client mode.
-#apn internet
-
-
diff --git a/examples/sgsnemu.conf b/examples/sgsnemu.conf
index 343f106..f2c97d7 100644
--- a/examples/sgsnemu.conf
+++ b/examples/sgsnemu.conf
@@ -27,13 +27,13 @@ fg
# TAG: statedir
# Directory to use for nonvolatile storage.
# The program must have write access to this directory.
-#pidfile ./sgsnemu.pid
+#statedir ./
# TAG: dns
# DNS server to use for ns lookups.
# If this tag is not set the system default DNS will be used.
-#pidfile ./sgsnemu.pid
+#dns 10.1.2.3
# TAG: listen
# Specifies the local IP address to listen to
@@ -46,17 +46,10 @@ listen 10.0.0.217
remote 10.0.0.240
# TAG: contexts
-# Use of this tag is EXPERIMENTAL
# Number of contexts to establish from the emulator to the ggsn.
# Set this tag to zero to not establish any contexts.
#contexts 1
-# TAG: static
-# Use of this tag is EXPERIMENTAL
-# Use this flag if you do not want to set dynamic tun interfaces.
-# If this flag is set a single network interface is established.
-#static
-
# TAG: timelimit
# Disconnect contexts after timelimit seconds, and exit the program.
# Setting timelimit to zero will cause the program not to disconnect.
@@ -88,11 +81,17 @@ remote 10.0.0.240
# Password used when run in client mode.
#pwd hemlig
+
# TAG: createif
# Use this flag if you want to set up a local network interface after
# a PDP context has been established.
#createif
+# TAG: defaultroute
+# Use this flag if you want to add a default route after a network interface
+# had been established.
+#defaultroute
+
# TAG: ipup
# Script executed after network interface has been brought up.
# Executed with the following parameters: <devicename> <ip address>
@@ -103,16 +102,6 @@ remote 10.0.0.240
# Executed with the following parameters: <devicename> <ip address>
#ipdown /etc/sgsnemu/ip-down
-# TAG: net
-# IP network address of external packet data network.
-# Only used if the defaultroute flag is set.
-#net 0.0.0.0
-
-# TAG: mask
-# IP network mask of external packet data network.
-# Only used if the defaultroute flag is set.
-#mask 0.0.0.0
-
# TAG: pinghost
# Ping a remote host through a PDP context by using ICMP echo messages.
# If more than one PDP context has been established the ICMP messages will