<div dir="ltr"><div class="gmail_default" style="font-size:large;color:#666666">Hi Mika.</div><div class="gmail_default" style="font-size:large;color:#666666"><br></div><div class="gmail_default" style="font-size:large;color:#666666"><i><b>What kind of environment is this with this virtual ethernet interface?</b></i><br></div><div class="gmail_default" style="font-size:large;color:#666666">It's a virtual (neth0:0 and neth0:1) ethernet adapter over physical (neth0) one.</div><div class="gmail_default" style="font-size:large;color:#666666"><br></div><div class="gmail_default" style="font-size:large;color:#666666"><b><i>What's inside your /etc/ngcp-config/network.yml?<br></i></b></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace"># cat /etc/ngcp-config/network.yml</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style="">---</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style="">hosts:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> self:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> dbnode: '1'</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> interfaces:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - lo</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - neth0</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - neth0:0</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - neth0:1</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> lo:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> cluster_sets:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - default</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> ip: 127.0.0.1</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> netmask: 255.255.255.0</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> shared_ip: []</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> shared_v6ip: []</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> type:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - sip_int</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - ha_int</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - web_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - web_int</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - aux_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - ssh_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - api_int</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - rtp_int</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - stor_int</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> v6ip: ::1</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> v6netmask: 128</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> neth0:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> dns_nameservers:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - XXX.XXX.XXX.XXX</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - XXX.XXX.XXX.XXX</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> gateway: XXX.XXX.XX.XXX</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> hwaddr: XX:XX:XX:XX:XX:XX</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> ip: XXX.XXX.XXX.100</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> netmask: 255.255.255.0</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> type:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - ssh_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> neth0:0:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> ip: XXX.XXX.XXX.244</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> netmask: 255.255.255.255</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> type:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - sip_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - rtp_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - ssh_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> neth0:1:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> ip: XXX.XXX.XXX.249</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> netmask: 255.255.255.255</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> type:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - ssh_ext</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> role:</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - proxy</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - lb</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - mgmt</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - rtp</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - db</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> - storage</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> status: online</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> swraiddevices: []</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> sysdescr: ''</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> syslocation: ''</font></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style=""> sysname: ''</font></div></blockquote><div class="gmail_default" style="font-size:large;color:#666666"><br></div><div class="gmail_default" style="font-size:large;color:#666666"><b><i>What's output of `ip a` + `ip link` on your system?</i></b><br></div><div class="gmail_default" style="font-size:large;color:#666666"><span style="font-family:monospace;font-size:small"># ip a</span><br></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace" style="">1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000<br> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br> inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br> valid_lft forever preferred_lft forever<br> inet6 ::1/128 scope host<br> valid_lft forever preferred_lft forever<br>2: neth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp1s0f0<br> altname eno1<br> inet XXX.XXX.XXX.100/24 brd XXX.XXX.XXX.255 scope global neth0<br> valid_lft forever preferred_lft forever<br> inet XXX.XXX.XXX.244/32 brd XXX.XXX.XXX.244 scope global neth0:0<br> valid_lft forever preferred_lft forever<br> inet XXX.XXX.XXX.249/32 brd XXX.XXX.XXX.249 scope global neth0:1<br> valid_lft forever preferred_lft forever<br> inet6 XXXX::XXXX:XXXX:XXXX:7834/64 scope link<br> valid_lft forever preferred_lft forever<br>3: neth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000<br> link/ether </font><font face="monospace">XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp1s0f1<br> altname eno2<br>4: neth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp2s0f0<br> altname eno3<br>5: neth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp2s0f1<br> altname eno4<br>6: neth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp132s0f0<br>7: neth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp132s0f1<br></font></div><div class="gmail_default" style="font-size:large;color:#666666"><br></div><div class="gmail_default" style="color:rgb(102,102,102)"><font face="monospace"># ip link<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000<br> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>2: neth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp1s0f0<br> altname eno1<br>3: neth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp1s0f1<br> altname eno2<br>4: neth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp2s0f0<br> altname eno3<br>5: neth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp2s0f1<br> altname eno4<br>6: neth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp132s0f0<br>7: neth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000<br> link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff<br> altname enp132s0f1</font><br></div><div class="gmail_default" style="font-size:large;color:#666666"><br></div><div class="gmail_default" style="font-size:large;color:#666666">Regards,</div><div class="gmail_default" style="font-size:large;color:#666666">JV</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table style="border-collapse:collapse;color:rgb(4,20,58);font-size:16px;width:auto;margin-top:40px"><tbody style="width:438.883px;height:auto;max-height:80%"><tr style="width:auto"><td style="display:flex;height:138px;width:170px;padding:0px"><img src="https://panel.voiper.es/img/favicon.png" alt="Profile picture" style="vertical-align:middle;border-style:none;border-radius:50%;width:90px;height:90px;margin:1.5rem"></td><td style="height:auto;width:auto;min-width:250px;max-width:70%;margin-left:2.5rem"><div style="font-size:1rem;margin-top:0.25rem">Javier Valencia</div><div style="font-size:1rem;margin-top:0.25rem">Chief Technology Officer</div><div style="font-size:1rem;margin-top:0.25rem">VoIPer Telecom, S.L.</div></td></tr><tr style="width:auto"><td style="height:153.5px;width:170px;padding:0px"><div style="width:170px;height:82.6641px;margin-bottom:1rem"><img src="https://panel.voiper.es/img/voiper-logo-320.png" alt="Company logo" style="vertical-align:middle;border-style:none;width:100px;height:auto;margin:1.5rem 0px 1.5rem 2.5rem"></div><div style="text-align:center;height:50px;width:170px"><a href="https://www.facebook.com/voiper.ip" style="color:rgb(26,83,255);width:20px;height:20px" target="_blank"><img alt="facebook" src="https://i.ibb.co/GnQ8qGf/iconmonstr-facebook-3-24.png" style="vertical-align:middle;border-style:none"></a> <a href="https://twitter.com/voiper_ip" style="color:rgb(26,83,255);width:20px;height:20px" target="_blank"><img alt="twitter" src="https://i.ibb.co/b1p4SLG/iconmonstr-twitter-3-24.png" style="vertical-align:middle;border-style:none"></a> <a href="https://www.youtube.com/channel/UC2VupaFEWpMsXAOygdf7Xaw" style="color:rgb(26,83,255);width:20px;height:20px" target="_blank"><img alt="instagram" src="https://i.ibb.co/LZjDRJW/iconmonstr-instagram-13-24.png" style="vertical-align:middle;border-style:none"></a> <a href="https://www.linkedin.com/company/voiper/" style="color:rgb(26,83,255);width:20px;height:20px" target="_blank"><img alt="linkedin" src="https://i.ibb.co/tBF3tdJ/iconmonstr-linkedin-3-24.png" style="vertical-align:middle;border-style:none"></a></div></td><td style="height:153.5px;width:auto;min-width:250px;max-width:70%;margin-left:2.5rem;padding-top:1rem;border-top:1px solid rgb(51,71,91)"><div style="font-size:1rem;margin-top:0.25rem">(+34) 951 562 080 (+34) 687 486 759</div><div style="font-size:1rem;margin-top:0.25rem"><a href="mailto:javier.valencia@voiper.es" target="_blank">javier.valencia@voiper.es</a></div><div style="font-size:1rem;margin-top:0.25rem"><a href="http://voiper.es" target="_blank">voiper.es</a></div><div style="font-size:1rem;margin-top:0.25rem;max-width:250px;max-height:75px">Calle Río Benamargosa, 15, 29651 Mijas Costa (Málaga)</div></td></tr></tbody></table></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 18 sept 2024 a las 8:49, Michael Prokop (<<a href="mailto:mprokop@sipwise.com">mprokop@sipwise.com</a>>) escribió:<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>
* Javier Valencia [Mon Sep 16, 2024 at 08:53:40PM +0200]:<br>
> Hi there!<br>
> <br>
> My NGCP CE mr9.5.7 (on bullseye (11.10) 5.10.0-30-amd64 SMP) box isn't<br>
> responding on sip_ext, because it's generating "/etc/iptables/rules.v4"<br>
> with virtual ethernet interface instead physical ethernet interface.<br>
> <br>
> In example:<br>
> -A INPUT -i *neth0:0* -p tcp --dport 5060 -j ACCEPT -m comment --comment<br>
> "sip_ext"<br>
> <br>
> Must be:<br>
> -A INPUT -i *neth0* -p tcp --dport 5060 -j ACCEPT -m comment --comment<br>
> "sip_ext"<br>
> <br>
> When I delete the first line and insert into iptables (with cli commands)<br>
> the second line, the server starts to respond.<br>
[...]<br>
<br>
Aha interesting. Before we're coming up with a workaround through<br>
/etc/ngcp-config/config.yml or ngcpcfg patchtt.tt2 for this, I'd<br>
like to understand your situation and how to properly fix this. :)<br>
<br>
What kind of environment is this with this virtual ethernet interface?<br>
What's inside your /etc/ngcp-config/network.yml?<br>
What's output of `ip a` + `ip link` on your system?<br>
<br>
PS: please make sure to subscribe to the mailing list, otherwise<br>
your messages end up in moderation queue (we just let it through)<br>
and you might also miss replies.<br>
<br>
regards<br>
-mika-<br>
</blockquote></div>