l3config
Input
Output
Copy the output to
/etc/config/gateway
.