Kumpulan Game Mobile Device

Sabtu, 15 Oktober 2011

Network Configuration on ubuntu

Network Configuration on ubuntu is very simple, to view the network configuration in our Computer, please type :
#ifconfig ==> The IP Address of our Computer will be shown.
#route -n ==> The gateway of our Computer will be shown

To Configure the IP address and gateway, please type :
#ifconfig eth0 195.158.5.215 netmask 255.255.255.0 ==> "eth0"= your network device.
#route add default gw 195.158.5.254 ==> Setting gateway

You can also add the IP address in "#nano /etc/network/interfaces" files for permanently, add these lines:
=================
allow hotplug eth0
iface eth0 inet static
address 195.158.5.215
netmask 255.255.255
gateway 195.158.5.254
=================

See the picture :

If you want to configure your network as DHCP, you can try this command :
#dhclient

For more other options about setup Network on ubuntu, you can click Here.

Tidak ada komentar:

Posting Komentar

Leave your Comments here, please!

Gamez Mobile BlogTM Copyright © 2011 | Template created by O Pregador | Powered by Blogger