Sunday, November 15, 2009

Set up linux gateway

i'm using webmin network configuration interface to set up my network but not working. here is the way to change your machine network configuration using ssh command.

cat /etc/sysconfig/network

it will shows like this:
NETMASK=255.255.255.192
NETWORKING=yes
DHCP_HOSTNAME=server1
IPADDR=10.110.205.2
HOSTNAME=localhost

to change configuration you can use vi text editor

vi /etc/sysconfig/network

type this some important command.
i - to insert character
esc - to return into command mode
:w - save
:q - quit

then restart your network setting by using this command
service network restart

done! now your machine ip is configured correctly.

No comments:

Related Posts Plugin for WordPress, Blogger...