Linux Networking

How Linux Machine boot.
1) The boot loader find the kernal image on the disk,load it into memory and start it.
2)The kernal initialize the device and its drivers.
3)The kernal mount the root file systems.
4)The kernal starts a program called init.
5)init set the rest of the process in motion
6)The last process that init start as part of the boot sequence allow u to log in.

Linux Networking

How Change your ip Address
[root@raman home]# ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
(up end the command activate your lan card).
The Configuration file located in /etc/sysconfig/network-scripts/ifcfg-eth0
entry like this:–
[root@raman ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=192.168.1.3

Dns entry file located in /etc/resolve.conf
entry like this:-
[root@raman ~]# cat /etc/resolv.conf
nameserver 192.168.1.3
nameserver 192.168.1.4

How you diable or enable your Lan card.
[root@raman home]# ifdown eth0
ifdown command disable your lan card.

[root@raman home]# ifup eth0
ifup command up yours lan card.

How you see your routing tables.
[root@raman ~]# route -n

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: