<div dir="ltr">Thanks <span>Pau</span>, I'll check it out and share my results with you.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 1:05 PM Pau Espin Pedrol <<a href="mailto:pespin@sysmocom.de">pespin@sysmocom.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
you are probably facing a routing issue, and you need to solve it by <br>
using different network namespaces (netns).<br>
In your current setup, you probably have routing for those DNS packets <br>
to go through the sgsnemu iface, and once the ggsn puts them again in <br>
the network stack after going through GTP, the kernel probably ends up <br>
dropping the packet because it finds out some sort of loop.<br>
<br>
In order to solve it, the easiest is to run sgsnemu under a different <br>
netns, and set default routing inside that netns to the tun iface <br>
created by sgsnemu. AFAIR, the netns can take care of creating the netns <br>
and configuring it for you, check it's man page ("--defaultroute", <br>
"--netns").<br>
<br>
Hope this is useful to you,<br>
Pau<br>
<br>
-- <br>
- Pau Espin Pedrol <<a href="mailto:pespin@sysmocom.de" target="_blank">pespin@sysmocom.de</a>>         <a href="http://www.sysmocom.de/" rel="noreferrer" target="_blank">http://www.sysmocom.de/</a><br>
=======================================================================<br>
* sysmocom - systems for mobile communications GmbH<br>
* Alt-Moabit 93<br>
* 10559 Berlin, Germany<br>
* Sitz / Registered office: Berlin, HRB 134158 B<br>
* Geschaeftsfuehrer / Managing Director: Harald Welte<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="font-family:courier new,monospace"><span style="background-color:rgb(255,255,255)"><strong><font size="3">When there is much light, The shadow is deep...</font></strong></span></span></div></div>