Skip to content

Commit

Permalink
Update FreeRTOSConfig.h for gateway address in user mode network
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws committed Aug 20, 2024
1 parent e2cff68 commit 7bce256
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,17 @@ extern void vAssertCalled( void );
* http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_Echo_Clients.html
* http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/UDP_Echo_Clients.html */

/* When the user uses User Mode Networking , the QEMU virtual machine
* automatically starts up an internal DHCP server on an internal
* networkaddress -10.0.2.2/24. Note that from inside the guest, connecting to a
* port on the "gateway" IP address will connect to that port on the host.
* https://wiki.qemu.org/Documentation/Networking
* http://bsdwiki.reedmedia.net/wiki/networking_qemu_virtual_bsd_systems.html */

#define configECHO_SERVER_ADDR0 10
#define configECHO_SERVER_ADDR1 136
#define configECHO_SERVER_ADDR2 206
#define configECHO_SERVER_ADDR3 133
#define configECHO_SERVER_ADDR1 0
#define configECHO_SERVER_ADDR2 2
#define configECHO_SERVER_ADDR3 2

/* Default MAC address configuration. The demo creates a virtual network
* connection that uses this MAC address by accessing the raw Ethernet/WiFi data
Expand Down

0 comments on commit 7bce256

Please sign in to comment.