Skip to main content

Posts

Featured

Creating a Secondary IP in Linux using Bash Script (Subinterface)

#!/bin/bash #How to create a sub interface in Linux echo " Create Sub-Interface" echo "" echo "Example input (CIDR): 192.168.1.1/24" read -p "Enter the Sub Interface IP Address: " SUBIFIP echo "You Entered: $SUBIFIP read -p "Enter the Default Gateway: " GATEWAY echo "You Entered: $GATEWAY" ifconfig eth0:0 inet $SUBIFIP route add default gw $GATEWAY

Latest Posts

GRE Tunnel with IPSEC

Because.... "Radius"

(Updated) Perl script that collects IP, MAC, interface and VLAN information from a Cisco switch using "plink" command-line SSH calls and then exports to a CSV file.

An interactive script to change your IP Addr, SM, DG and back to DHCP using netsh

(DblQuotTkn & Plink) Tcl script using plink to send configuration commands to Cisco router