Archive for the ‘networking’ Category

Completely disabling IPv6 in RedHat

I was looking to disable IPv6 across bunch of servers. And not in some adhoc way. This in one of those “note to myself” posts. I was dealing with RedHat 5 and 6 servers. For RedHat 5: [root@vm-prd-007 ~]# echo “alias net-pf-10 off” >> /etc/modprobe.conf [root@vm-prd-007 ~]# echo “options ipv6 disable=1” >> /etc/modprobe.conf [root@vm-prd-007 ~]# […]

Posted on February 27, 2013 at 16:02 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, networking, redhat

SecureFTP rename bug?

Not so long ago I was looking into a bash script that used SFTP‘s rename command to move file on a remote server from one directory to another. No matter what, the script would always fail with an error from SFTP, that went something like “Unable to rename file”. The same script worked just fine […]

Posted on September 30, 2012 at 20:29 by somedude · Permalink · 3 Comments
In: centos, linux, linux tips, networking, redhat

Viewing and changing speed and duplex in Solaris

Depending on version of Solaris and the hardware it’s running on, you will either use ndd utility or use kstat or dladm commands to change speed and duplex. Remember that for example, e1000g driver will let you manipulate settings using dladm in Solaris 10, but you will not be able to do so using ndd. […]

Posted on July 28, 2011 at 11:46 by somedude · Permalink · Leave a comment
In: networking, solaris, solaris tips

Finding out length of a UTP cable using Cisco IOS

Well, this is just cool. Everyone has been there; sitting at a Cisco switch console wondering how long the unmarked UTP plugged into port 17 is… Thankfully Cisco IOS might be able to tell you: core# test cable-diagnostics tdr interface gigabitethernet0/17 Unfortunately it’s not available on all switches. I dug this up on here Cisco […]

Posted on January 5, 2010 at 12:21 by somedude · Permalink · 2 Comments
In: cisco, ios, networking

Network interface bonding in Linux

Bonding Ethernet interfaces in Linux is pretty straight forward. There is bunch of articles out there on it already, but since this is where I keep some of my notes, I decided to write a post on it. Plus I do not have to bother with Google and I can come straight here for instructions. […]

Posted on May 4, 2009 at 15:42 by somedude · Permalink · Leave a comment
In: centos, linux, linux tips, networking, redhat