Linux : fuser command not found on CentOS/RHEL 7

You may have encountered the following issue trying to run “fuser” command on CentOS/RHEL 7 : fuser: command not found Many system administrators turn to do minimalist installation with version 7, unfortunately this even cut some critical basic components such as “traceroute, ifconfig, fuser, etc.” which in my opinion should be a part of a… Read More »

JunOS : Alarm Management Ethernet Link Down

Having the red alarm led on but nothing is wrong with your JunOS powered Juniper device? First, look out what alarm is triggered by issuing the following command : show chassis alarm If absolutely nothing is really wrong, you will see the following alarm : Alarm time Class Description 2016-01-20 07:11:59 UTC Major Management Ethernet… Read More »

IOS : Extended VLAN(s) not allowed in current VTP mode

Having the following output message while trying to create a VLan outside higher than 1000 on your Cisco device? SWITCH-601(config)#vlan 2991 SWITCH-601(config-vlan)#end % Failed to create VLANs 2991 Extended VLAN(s) not allowed in current VTP mode. %Failed to commit extended VLAN(s) changes. This mean that you are running VTP mode 1 or 2, which only support… Read More »

Linux : Port forwarding with IPtables

Need to forward a custom port to an existing port on your Linux box? Simply use the following command as root : iptables -t nat -I PREROUTING –src 0/0 –dst 0.0.0.0/0 -p tcp –dport <port-to-forward> -j REDIRECT –to-ports <destination-port> Example : Assuming you want to forward port 1025 to port 587 : iptables -t nat -I PREROUTING… Read More »

Mac : Unable to negotiate with x.x.x.x port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

With the latest macOS Sierra 10.12 release, you might have observed issue connecting to servers or network devices running SSH. Please note that this article does not necessary apply or macOS, but any running OS with the latest OpenSSH v7. Because of the latest OpenSSH version, some older (legacy) encryption algorithm have been removed from… Read More »