# IP aliasing

**URL:** <https://forums.freertos.org/t/ip-aliasing/20610>\
**Category:** Libraries\
**Created:** [June 5, 2024, 7:31am UTC](https://forums.freertos.org/t/ip-aliasing/20610 "2024-06-05T07:31:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lps](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@Lps](https://forums.freertos.org/u/Lps)\
**Post date:** [June 5, 2024, 7:31am UTC](https://forums.freertos.org/t/ip-aliasing/20610/1 "2024-06-05T07:31:31Z")

</div>

Hi all,  
I’m would like to understand if FreeRTOS is able to manage IP aliasing in connection to LWiP.

My aim is to have more than 1 IP address assigned to my ethernet port port on a Cortex M4/M7/M33 uC

---

<div class="post-metadata">

**Author:** ![Shub](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Shub](https://forums.freertos.org/u/Shub)\
**Post date:** [June 5, 2024, 3:22pm UTC](https://forums.freertos.org/t/ip-aliasing/20610/2 "2024-06-05T15:22:01Z")

</div>

Hi @Lps,  
Welcome to the FreeRTOS community.

In FreeRTOS, we have our FreeRTOS-plus-TCP stack which is a well tested code using unit-tests, CBMC(Memory safety proofs) and Protocol tests. In this stack we support having multiple endpoints(IPv4 or IPv6) on the same physical interface. And each of the endpoints can have a different ip-address.  
This will mostly serve the ip alias functionality that you are looking for.

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [June 6, 2024, 4:08am UTC](https://forums.freertos.org/t/ip-aliasing/20610/3 "2024-06-06T04:08:43Z")

</div>

This page describes multiple interfaces and multiple endpoints - [FreeRTOS-Plus-TCP Multiple Interfaces - FreeRTOS](https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/freertostcp-multiple-interfaces.html).

---

<div class="post-metadata">

**Author:** ![Lps](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@Lps](https://forums.freertos.org/u/Lps)\
**Post date:** [June 6, 2024, 6:26am UTC](https://forums.freertos.org/t/ip-aliasing/20610/4 "2024-06-06T06:26:57Z")

</div>

Thank you @Shub .

I was wandering if there is someone who did it using LWiP.

I really don’t know how much effort does the porting of my application to FreeRTOS-plus-TCP takes…

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [June 6, 2024, 9:03am UTC](https://forums.freertos.org/t/ip-aliasing/20610/5 "2024-06-06T09:03:11Z")

</div>

> [@Lps](#):
>
> I was wandering if there is someone who did it using LWiP.

You are likely to get better response on LWIP mailing list.

---

<div class="post-metadata">

**Author:** ![Shub](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Shub](https://forums.freertos.org/u/Shub)\
**Post date:** [June 6, 2024, 10:37am UTC](https://forums.freertos.org/t/ip-aliasing/20610/6 "2024-06-06T10:37:35Z")

</div>

> [@Lps](#):
>
> I really don’t know how much effort does the porting of my application to FreeRTOS-plus-TCP takes…

Same socket interface APIs are used in both , hence from application point of view there will be no difference.

---

<div class="post-metadata">

**Author:** ![Lps](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@Lps](https://forums.freertos.org/u/Lps)\
**Post date:** [June 6, 2024, 12:00pm UTC](https://forums.freertos.org/t/ip-aliasing/20610/7 "2024-06-06T12:00:30Z")

</div>

Good feedback, thank you

---

<div class="post-metadata">

**Author:** ![glenenglish](https://avatars.discourse-cdn.com/v4/letter/g/76d3ee/32.png) [@glenenglish](https://forums.freertos.org/u/glenenglish)\
**Post date:** [June 7, 2024, 12:33am UTC](https://forums.freertos.org/t/ip-aliasing/20610/8 "2024-06-07T00:33:45Z")

</div>

I would not even bother with LWIP !

Why would you even consider it when the FreeRTOS TCP package is mature and reliable and capable and fully featured integrated into FreeRTOS?\>

LWIP is a P-O-S… It is something you use on a constrained 8 bit microprocessor in the 1990s

-glen
