aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorjjako <jjako>2003-01-28 16:15:54 +0000
committerjjako <jjako>2003-01-28 16:15:54 +0000
commit72fb5ab3496ce650e42fda2d29edb70536deef41 (patch)
tree83d6ead98965dcc3b5535b4102e883b2a507bf51 /examples
parent4b26b51bf090e9b81fff0a7336800fab37abc88d (diff)
Updated with new options
Diffstat (limited to 'examples')
-rw-r--r--examples/ggsn.conf10
-rw-r--r--examples/sgsnemu.conf71
2 files changed, 68 insertions, 13 deletions
diff --git a/examples/ggsn.conf b/examples/ggsn.conf
index ad2dcd6..c2d3678 100644
--- a/examples/ggsn.conf
+++ b/examples/ggsn.conf
@@ -44,6 +44,16 @@ listen 10.0.0.240
# Used to allocate dynamic IP addresses and set up routing.
#mask 255.255.255.0
+# TAG: ipup
+# Script executed after network interface has been brought up.
+# Executed with the following parameters: <devicename> <ip address>
+#ipup /etc/ggsn/ip-up
+
+# TAG: ipdown
+# Script executed after network interface has been taken down.
+# Executed with the following parameters: <devicename> <ip address>
+#ipdown /etc/ggsn/ip-down
+
# TAG: timelimit
# Exit after timelimit seconds.
diff --git a/examples/sgsnemu.conf b/examples/sgsnemu.conf
index c378da1..3fd8aa0 100644
--- a/examples/sgsnemu.conf
+++ b/examples/sgsnemu.conf
@@ -37,7 +37,7 @@ fg
# TAG: listen
# Specifies the local IP address to listen to
-listen 10.0.0.220
+listen 10.0.0.217
# TAG: remote
# Specifies the remote IP address to connect to
@@ -45,17 +45,6 @@ listen 10.0.0.220
# access point name (APN) as the remote address.
remote 10.0.0.240
-# TAG: net
-# IP network address of external packet data network
-# This tag is used for setting up routing at the emulator
-#net 192.168.0.0
-
-# TAG: mask
-# IP network mask of external packet data network
-# This tag is used for setting up routing at the emulator
-#mask 255.255.255.0
-
-
# TAG: contexts
# Use of this tag is EXPERIMENTAL
# Number of contexts to establish from the emulator to the ggsn.
@@ -66,7 +55,7 @@ remote 10.0.0.240
# 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.
-#contexts 1
+#static
# TAG: timelimit
# Disconnect contexts after timelimit seconds, and exit the program.
@@ -99,4 +88,60 @@ 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: ipup
+# Script executed after network interface has been brought up.
+# Executed with the following parameters: <devicename> <ip address>
+#ipup /etc/sgsnemu/ip-up
+
+# TAG: ipdown
+# Script executed after network interface has been taken down.
+# Executed with the following parameters: <devicename> <ip address>
+#ipdown /etc/sgsnemu/ip-down
+
+# TAG: defaultroute
+# Use this flag if you want to add a default route to the routing tables
+# after the network interface has been brought up.
+# If net and/or mask tags are set this overrides the use of a default route.
+#defaultroute
+
+# 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
+# be distributed between all available contexts.
+#pinghost 192.168.0.0
+
+# TAG: pingrate
+# Number of ping messages to send off each second.
+#pingrate 1
+
+# TAG: pingsize
+# Size of ICMP echo message payload. Add 28 to get the full IP packet size.
+#pingsize 56
+
+# TAG: pingcount
+# Number of ping messages to send off.
+#pingcount 0
+
+# TAG: pingquiet
+# Do not print ping packet info.
+#pingquiet
+
+
+
+