Hi All,
trying to configure latest OpenGGSN (from osmocom GIT) according manual
from http://openbsc.osmocom.org/trac/wiki/OpenBSC_GPRS
IP address of OpenGGSN server - 192.168.130.8
IP address if SGSN - 111.111.111.111
ggsn.conf: dynip 192.168.130.128/25
my network setup:
[GGSN server (192.168.130.8)] ----- [Router (192.168.130.1)] -------
Internet
|
|
[SGSN
(111.111.111.111)]
tun0 interface on GGSN server:
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.0.1 P-t-P:192.168.0.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1430 (1.4 KB) TX bytes:252 (252.0 B)
console output:
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
fd1u is set
encaps_tun. Packet received: forwarding to tun
captured packets on router:
Capturing on vlan30
0.000000 111.111.111.111 -> 192.168.130.8 GTP 202 Create PDP context
request
0.000661 192.168.130.8 -> 111.111.111.111 GTP 136 Create PDP context
response
2.317035 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
A ea.mobile.nokia.com
2.353956 192.168.130.130 -> 193.201.195.22 GTP <DNS> 115 Standard
query A ea.mobile.nokia.com
2.395517 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
A ea.mobile.nokia.com
6.319009 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
A ea.mobile.nokia.com
10.310843 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
A ea.mobile.nokia.com
14.834494 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
A ea.mobile.nokia.com
14.834933 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
AAAA ea.mobile.nokia.com
15.372981 192.168.130.130 -> 193.201.195.22 GTP <DNS> 115 Standard
query A ea.mobile.nokia.com
15.443639 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
AAAA ea.mobile.nokia.com
19.749231 192.168.130.130 -> 91.203.64.7 GTP <DNS> 115 Standard query
AAAA ea.mobile.nokia.com
22.612219 111.111.111.111 -> 192.168.130.8 GTP 58 Delete PDP context
request
22.612906 192.168.130.8 -> 111.111.111.111 GTP 60 Delete PDP context
response
Looks like encapsulation doesn't work ?
Thanks in advance !
Br,
Sergei