Networking - PowerCram Blog

FREE Windows Utilities for Sniffing

WinDump WinDump is an exceptionally powerful command-line packet sniffer. Ported over from the source of the Tcpdump utility available for UNIX, WinDump carries over the same power and flexibility to the Windows world, all in a lightweight executable. WinDump is a helpful utility when you need to do some quick and easy packet capturing to diagnose a network […]

View Ethernet Statistics in Linux

You need to use the following two commands: ifconfig command – Display all interfaces which are currently available. netstat command – Display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. ifconfig example Type the following command:/sbin/ifconfig eth0 OR/sbin/ifconfig -a ORifconfig Sample output: eth0 Link encap:Ethernet HWaddr 00:19:d1:2a:ba:a8 inet addr: Bcast: Mask: inet6 addr: fe80::219:d1ff:fe2a:baa8/64 Scope:Link […]

Linux Change MTU Size

How do I change MTU size under Linux? You need support in both network hardware and card in order to use JumboFrames. If you want to transfer large amounts of data at gigabit speeds, increasing the default MTU size can provide significant performance gains. Changing the MTU size with ifconfig command In order to change the MTU size, […]

Adding persistant static routes in linux

Let’s say that you have a box that lives on subnet /24. Your default route is set in /etc/sysconfig/network as, as shown below: NETWORKING=yesHOSTNAME=testbox.domain.comGATEWAY= Now you need to get to network /24 using gateway and network /24 using gateway One option is to add those routes manually with the following commands: SYNTAX# […]

Creating Client SSL VPN on Cisco ASAs

Introduction This document how to allow remote access VPN connections to the ASA from the Cisco AnyConnect 2.0 client.PrerequisitesRequirements Ensure that you meet these requirements before you attempt this configuration: * Basic ASA configuration that runs software version 8.0* ASDM 6.0(2) Components Used The information in this document is based on these software and hardware versions: * Cisco […]

Mac connect to Windows File Share

By default, Windows 2003 Server domain controllers have “Microsoft network server: Digitally sign communications (always)” set to “Enabled” by default. This is likely causing the Macs to fail to authenticate with the “error = -5000” when trying to connect via CIFS or SMB (samba) To change this on a given domain controller, go to “Start” ->”Administrative Tools” -> […]

Manually assigning IP Information for a Cisco Catalyst 2960 (or other Cisco Switch)

Step 1 – Enter global configuration mode: configure terminal Step 2 – Enter interface configuration mode, and enter the VLAN to which the IP information is assigned. The range is 1 to 4094. interface vlan <vlan-id> Step 3 – Enter the IP address and subnet mask. ip address <ip-address> <subnet-mask> Step 4 – Return to global configuration mode. exit Step 5 – Enter the […]