Saturday, February 18, 2006

Networking Configuration for all!!!

Let me explain each term which you might face during configuring Netowork settings:

Network interface cards (NICs) are called eth0, eth1 etc in Linux

IP ADDRESS is a number used to uniquely identify a network interface.

DEFAULT GATEWAY address is the IP address of the device connected to the internet eg. your router, or PC running internet connection sharing (ICS). The address to use is the one allocated to the interface connected to your internal network.

NAMESERVER address is the IP address of your internet service providers (ISP) nameserver.

HOSTNAME is a unique name for your computer.

IMPORTANT:
You will need to be root (administrator) to edit the files here.
To sign on as root - type su in a terminal (console), press enter followed by your root password


The basic commands used in Linux are common to every distro:
ifconfig - Configures and displays the IP parameters of a network interface
route - Used to set static routes and view the routing table
hostname - Necessary for viewing and setting the hostname of the system
netstat - Flexible command for viewing information about network statistics,current connections, listeing ports
arp - Shows and manages the arp table

Every distro has its own configuration tool that operate on variously defined configuration files. Some of them are common: /etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts, /etc/services, /etc/protocols

Some, typically the ones where are defined IP addresses and routes, change. Here are some relevant files for various distro, their syntax may vary according the scripts used to handle them:

Debian
/etc/network/interfaces - Interfaces and network parameters

vRedHat Graphical interface: redhat-config-network
/etc/sysconfig/network-scripts/ifcfg/* - Configuration files for each interface. The same file can be found, divided per profile, in /etc/sysconfig/networking/devices/*
/etc/sysconfig/network - Hostname, default gateway, general configuration
/etc/sysconfig/static-routes - Static routes (if any)

SlackWare Graphical interface: Netconfig
/etc/rc.d/rc.inet1 - IP and network parameters
/etc/rc.d/rc.inet2 - Network Services configuration

Mandrake Graphical interface: Drakconnect
/etc/sysconfig/network-scripts/ifcfg/* - Configuration files for each interface. The same file can be found, divided per profile, in /etc/sysconfig/networking/devices/*
/etc/sysconfig/network - Hostname, default gateway, general configuration
/etc/sysconfig/static-routes - Static routes (if any)

Gentoo
/etc/conf.d/net - Ip network and interfaces parameters
/etc/conf.d/routes - Static routes
/sbin/ifcofig - To see all the settings.

SUSE Graphical interface: Yest2
/etc/sysconfig/network/ifcfg/* - Configuration files for each interface.
/etc/sysconfig/network/config - General network configuration.
/etc/sysconfig/network/routes - Configuring IP Routes
Checking the Network Settings:
/etc/HOSTNAME -Contains the hostname of the system, used by various startup scripts.
/etc/hosts -As in most Unixes, in this file you can statically assign IP addresses to host names.
/etc/networks - for IP networks.
/etc/resolv.conf - The resolver by default first checks this file, before querying the DNS servers.


VISIT THIS WEBSITE TO GAIN MORE INFORMATION ABOUT SUSE, FEDORA AND MANDRAKE NETWROKING CONFIGURATION:
http://www.reallylinux.com/docs/basicconfig.shtml

You can mail me personally at sansor@iitk.ac.in and can visit website which is daily updated by me http://www.geeksclass.tk or www.linux4u.co.nr

5 Comments:

Blogger Lunatic said...

Gud for starters! Really a gud effort Keepit up bro!

9:40 PM  
Anonymous Anonymous said...

I had tried ViARGA and that was really cool... Now I know everything's gonna be ok. and you?
I look for here:

valium
buy levitra
phentermine

sorry... just wanted to write something at first time..............

10:20 PM  
Anonymous Anonymous said...

I play in On line Casino here. Its interesting.

casino
online casino
phentermine

4:42 PM  
Anonymous hot sexy love stories said...

Fuck. He never brought friends home from school.
lesbian lovers stories
free xxx beastiality sex stories
mom son incest stories
beastiality stories free
interracial pregnant stories
Fuck. He never brought friends home from school.

5:01 AM  
Anonymous hot wild sex stories said...

Down. I said yess, the rose will look great on her.
xxx beastiality stories
chemcial tg stories nifty boarding-with-jim archieve
rape fantasy stories
porn stories with beastiality
mom son sex stories
Down. I said yess, the rose will look great on her.

6:53 AM  

Post a Comment

Links to this post:

Create a Link

<< Home