Posts

Showing posts from October, 2011

Find information about NIC in Linux

Image
Hi All,           In some scenarios, we want to find out the performance factors of our NIC card attached. Because, if we are working on network for doing some work, then surely we need to transfer data from one system to other. Maximum performance depends on the configuration of NIC Card we are using.                                       So here are some command Line tools in Linux to find out useful info. 1.) ethtool 2.) mii-tool 3.) dmesg 1.) ethtool: [root@server199 ~]# ethtool eth1 Settings for eth1:         Supported ports: [ TP ]         Supported link modes:   10baseT/Half 10baseT/Full                        ...

Moving Iptables logs to different file

Image
Dear All,               Today I am going to post regarding the Iptable logs. I was getting iptable in /var/log/messages, so its getting difficult to check other messages from /var/log/messages as iptables generates a huge bulk of logs.            So for that I decided to move iptables log to different directory. For this we have to do changes in foolowing configuration files. 1.) /etc/syslog.conf In the above file append the following line. kern.warning                                            /home/log/iptables.log Also as before I was getting all iptables log in /var/log/messages, So need to do some more changes in syslog.conf file as change below line... # Log anythin...

How DHCP Server Works?

Image
Hi Friends,                  Here I am going to post the whole process about the Interaction between DHCP Client and DHCP Server(How a DHCP client communicate with DHCP Server to get an IP Address).                          DHCP is a very common protocol and we often here about it. DHCP is much more complex than it looks. DHCP IP address assignment process goes through a few steps explained in this article.             DHCP stands for Dynamic Host Configuration Protocol and is used to automatically assign IP configuration to hosts connecting to a network. The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCPIP network. DHCP is based on the Bootstrap Protocol (BOO...