[srslte-users] host to host communication

Eryk Schiller schiller at ifi.uzh.ch
Thu May 20 15:26:11 UTC 2021


Dear All,

The easiest way is to actually remove the NAT on the Core Network side 
(SPGW) and add appropriate routing entries on all intermediate hops. I 
remember having a similar setup running with OAI and OAI-CN some time ago...

Best regards,
Eryk Schiller

On 5/20/21 4:57 PM, Charbel Lahoud wrote:
>
> Thank you for your reply.
>
> I have already worked it around by applying => “iptables -A 
> POSTROUTING -o eno1 -t nat -j MASQUERADE”, on the UE virtual interface 
> and on the interface connecting host 1 on the UE.
> Now I am able to ping host 2 from host 1. In the opposite way, I can 
> only ping from Host 2 to the virtual interface ip address of UE 
> assigned by the core network. Any idea why I can’t ping from Host 2 to 
> Host 1 complete direction ? do I need to add a route on the ip table ?
> Thank you.
>
> *From:* Francois TABURET <francois.taburet at nokia-bell-labs.com>
> *Sent:* Thursday, May 20, 2021 4:36 PM
> *To:* Charbel Lahoud <charbel.lahoud at etit.tu-chemnitz.de>; 
> srslte-users at lists.softwareradiosystems.com; openair5g-user 
> <openair5g-user at lists.eurecom.fr>; openaircn-user 
> <openaircn-user at lists.eurecom.fr>
> *Subject:* Re: host to host communication
>
>                 You have one /24 network (10.10.10.x/24) split in two 
> areas "connected" through another /24 network. This is not consistent 
> regarding ipV4 addressing.  The only way to workaround this kind of 
> problem  is to use L2 tunneling between the two areas. Or you could 
> define two sub-nets, but then you have to review your hosts addressing.
>
> Difficult to tell more not knowing what you want to do. Also your 
> schema is not that clear: ip addresses are applied on hosts 
> interfaces, on the wireless access network  UE's usually get a private 
> access and the gateway to the "rest of the world" (usually Internet) 
> is a proxy.
>
> On 20/05/2021 15:55, Charbel Lahoud wrote:
>
>     Hi,
>
>     any idea how shall I route the interfaces for accessing host 2
>     from host 1 (and vice versa) described in the attached photo.
>     Thanks a lot.
>
>     Any suggestion will be appreciated.
>
>     Best regards
>
>     Charbel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210520/37d30f37/attachment.htm>


More information about the srsran-users mailing list