Question about OsmoGGSN project

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Pau Espin Pedrol pespin at sysmocom.de
Mon Feb 8 09:35:02 UTC 2021


Hi,

you are probably facing a routing issue, and you need to solve it by 
using different network namespaces (netns).
In your current setup, you probably have routing for those DNS packets 
to go through the sgsnemu iface, and once the ggsn puts them again in 
the network stack after going through GTP, the kernel probably ends up 
dropping the packet because it finds out some sort of loop.

In order to solve it, the easiest is to run sgsnemu under a different 
netns, and set default routing inside that netns to the tun iface 
created by sgsnemu. AFAIR, the netns can take care of creating the netns 
and configuring it for you, check it's man page ("--defaultroute", 
"--netns").

Hope this is useful to you,
Pau

-- 
- Pau Espin Pedrol <pespin at sysmocom.de>         http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte



More information about the osmocom-net-gprs mailing list