Nic bonding is defined as bonding of two or more network cards on a server/pc to form a parallel single connection. This is a great way of achieving redundancy to a server if it's having more number of network cards. Its having many names like.1. Link aggregation 2. Channel Bonding 3. NIC Bonding 4. NIC teaming 5. Network card Bonding 6. Ethernet bonding 7. Trunking 8. Etherchannel 9. Multi-link truning(MLT) 10.Network bonding 11.Network Fault Tolerance(NFT) 12.Port channel 13.Smartgroup 14.EtherTrunk Nic bonding is used to provide two benefit's for us1. High bandwidth 2. Redundancy/resilience Before Clustering softwares come in to existing this technique is widely used to provide redundancy to a high end server. After cluster software introduced it's used to enhance the cluster redundancy.In this post we will see how can we achieve Nic bonding. Nic bonding will work with the help of bonding driver in kernel. Implementing NIC bonding : Participating interfaces. eth0 eth1 bnd0Step1 : Create bond interface file with following content in itvi /etc/syconfig/network-scripts/ifcfg-bnd0DEVICE=bnd0 IPADDR=192.168.0.234 NETWORK=192.168.0.0 NETMASK=255.255.255.0 USERCTL=no BOOTPROTO=none ONBOOT=yes GATEWAY=192.168.0.1 save and exit the fileStep2 : Now create a bnd0 virtual interface in modprobe.conf as shown belowalias bnd0 bonding options bnd0 miimon=100 mode=6 Save and exit the fileLet me explain what actually the above two lines indicatesLine1 : (alias bnd0 bonding) to load the bonding...Read More
Month: November 2010
When installing squid as cache server you have to create cache folder with “squid -z” command without quotes. But when you are trying this you will see /usr/local/squid/sbin# ./squid -z2010/04/29 22:39:16Creating Swap DirectoriesFATAL : Failed to make swap directory /usr/local/squid/var/cache: (13) Permission deniedSquid Cache (Version 2.5.STABLE5) : Terminated abnormally. CPU Usage : 0.000 seconds = 0.000 user + 0.000 sysThis is due to that /usr/local/squid/var/cache folder is not owned by effective user. To resolve this issue follow below steps Step1 : Create squid user(A normal user) if the squid user is not there #useradd squidStep2 : Specify the effective user entry in squid.conf file with squid as username by editing it. #vi /usr/local/squid/etc/squid.conf change the entry from # cache_effective_user nousertocache_effective_user squid Save the file now Step3 : Now change the ownership of the cache folder to squid user #chown -R squid.squid /usr/local/squid/var/cacheStep4 : Now create cache directory with squid -z command #squid -zNow you will be out of issue. Please visit http://www.linuxnix.com for more linux admin...Read More
How can we change the date/time in linux?Ans : Changing date in linux is bit confusing. If you want to change date in GUI it’s very much easy and if you want to change it when it comes to CLI it’s bit hard to remember it.Date is the command to check whats the present date#date To change the date use below command#date MMDDHHMMYYYY.ss MM => Two digit month value DD => Two digit day value HH => Two digit hour value MM => Two digit minuite value YYYY => Four digit year value ss => Two digit seconds value(very rare we will be using this) Example1 : I want to change the date to Nov 24 1:36 PM 2010 #date 112413362010 Example2 : I want to change the date to Jan 9th 8:05.04 AM 2010 #date 010908052010.04 Now the date will be changed to your required date. Please visit http://www.linuxnix.com for more linux admin...Read More
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Thank you for subscribing.
Something went wrong.
we respect your privacy and take protecting it seriously
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.