If you enter those commands directly from the terminal, the settings will be lost on the next reboot. Use the program 'Broadband Tuner' to have the settings retained.
Pat
If you have a satellite connection, Apple has a program called 'Broadband Tuner' that you can run to tune your network settings: http://www.macupdate.com/info.php/id/20020
Pat