Sounds like you are trying to provide DHCP and NAT to other computers on your network. You probably have one network card or modem connected to the Internet and another network card connecting you to the local area network (proxy server). Here are some links to help you understand what it is you are doing and how to do it. They target Debian, but apply to everyone.
If you are just looking for cmds, ifconfig <device> <yo_ip> [netmask netmask] assigns an ip to the dev, and route add default gw <gw_ip> sets up the default gateway routing entry.
. Mac for productivity
.. Linux for developement
... Windows for solitaire
After you enter the stuff told by xmb you should make an ifconfig lancard_device_name down ; ifconfig lancsrd_device_name up. To keep settings you shoild insert your ifconfig lines in file /etc/rc.d/rc.boot (or similar)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.