How to Assign an IP address

Posted on May 30th, 2008 in Networking by admin
Computers may be assigned a static IP address or assigned one dynamically (via DHCP). Here I will explain the steps needed to assign an IP address to your NIC.

Choose one of the following methods:
Command line :

/sbin/ifconfig eth0 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255

GUI tool : You can use the GUI tool /usr/bin/neat - Gnome GUI network administration tool. It handles all interfaces and configures for both static assignment as well as dynamic assignment using DHCP.

How to install a Network card in linux

Posted on May 30th, 2008 in Networking by admin
There are different ways of installing a network card in linux - and that too depending on the linux distribution that you are using. I will explain each one of these methods here.

Clone or Change your MAC address in Linux

Posted on May 30th, 2008 in Networking by admin
In linux, you can change the hardware (MAC) address of your machine.This is how it is done.


# ifconfig eth0 down
# ifconfig eth0 hw ether 00:80:48:BA:d1:20
# ifconfig eth0 up
# ifconfig eth0 |grep HWaddr

How To Start & Stop Network & Routing Service in FreeBSD 5x, 6x, & 7x

Posted on May 12th, 2008 in FreeBSD by admin

FreeBSD is a Unix-like free operating system. You can install to choose third party software on FreeBSD from the Ports Collection. Many services such as POP3 server daemons, IMAP, etc. could be started using the inetd.

However, networking can be stop or started using special script located in /etc/rc.d/ directory. This directory includes script to stop or start network, and other services such as SSH server.

Some Basic Networking Commands

Posted on March 20th, 2008 in Basics, Linux+, Networking by admin

Networking in general can go so in depth that the mind spins thinking about all there is to know, and there’s plenty of linux tools to deal with the simplest of home networks, to complex networking setups. The Linux+ and LPI certification exams require that you already have a working knowledge of networking principles, but they also expect you have a grasp on some of the basic networking tools in the Linux world. Some we’ll cover today, some of these may or may not be included on a specific exam’s test, but none the less, they will aid you in the Unix world.