TCP/IP stack - How to use Building Run BUILD.BAT. See DEFINES.C if you want to change something. Using The configuration is stored in the file SETUP.NET. Example configuration with static IP settings: IPADDR 192.168.10.6 GATEWAY 192.168.10.5 BROADCAST 192.168.10.225 NETMASK 225.225.225.0 NAMESERVER 8.8.8.8 MAC-GATEWAY 11:22:33:44:55:66 Example configuration with DHCP: BROADCAST 255.255.255.255 DHCP Note that the format is also compatible with mTCP applications, so mTCP's DHCP client can be used with this TCP/IP stack. If ARP is enabled, the TCP/IP stack automatically learns the gateway's MAC address and it does not need to be correct in the configuration file. If DHCP is used and NAMESERVER has been defined by the user, the NAMESERVER option from the DHCP server is ignored. In some badly written packet drivers the get_address() function returns only zeroes. In these cases you can use MAC-MY option to manually set the local MAC address. The syntax is the same as with the MAC-GATEWAY option.