There is a secret CLI for HP Procurve V1910 Switch.
- Enable telnet / ssh from the web interface
- ssh / telnet to the switch
- type??_cmdline-mode on
- When this asked for Password: type??512900
There is a secret CLI for HP Procurve V1910 Switch.
Connect the switch using a standard 9-pin Serial Cable.
These are the parameters to connect CISCO SG300-10 Gigabit switch using Kermit
set speed 115200
set carrier-watch off
set flow-control none
set duplex full
set parity none
connect
This page shows you how to configure a Multi-homed Linux Box with 2 Network Interfaces to connect to the internet properly.
Step 1 – Update /etc/iproute2/rt_tables
echo 1 NET100 >> /etc/iproute2/rt_tables
echo 2 NET200 >> /etc/iproute2/rt_tables
Step 2 – Update the Routing Table
ip route add default via 192.168.100.1 dev eth1 table NET100
ip rule add from 192.168.100.0/24 table NET100
ip route add default via 192.168.200.1 dev eth0 table NET200
ip rule add from 192.168.200.0/24 table NET200
dig -t AXFR domain_name @authorative_name_server
To add a wildcard DNS entry to Windows 2000 DNS Server, you will need to create this under the CLI
for example, if you would like to add an entry like
*.dev.vicosys.com.hk
Try the following command
dnscmd.exe /RecordAdd vicosys.com.hk *.dev A 1.1.1.1
Network Bonding can provide resiliency to your server in case if one of the network connection failed.
Loading Bonding Driver
/etc/modprobe.conf
[ADD the following lines to the end of the file]
alias bond0 bonding
options bond0 mode=1 miimon=100
You can set up your bond interface according to your needs. Changing one parameters (mode=X) you can have the following bonding types:
mode=0 (balance-rr) Round-robin policy
mode=1 (active-backup) Active-backup policy:
mode=2 (balance-xor) XOR policy:
mode=3 (broadcast) Broadcast policy:
mode=4 (802.3ad) IEEE 802.3ad Dynamic link aggregation.
mode=5 (balance-tlb) Adaptive transmit load balancing:
mode=6 (balance-alb) Adaptive load balancing:
/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
BROADCAST=192.168.242.255
IPADDR=192.168.242.50
NETMASK=255.255.255.0
NETWORK=192.168.242.0
USERCTL=no
GATEWAY=192.168.242.1
TYPE=BOND
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=xx:xx:xx:xx:xx:xx
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=xx:xx:xx:xx:xx:xx
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet
The default setting on Windows 2008 Firewall is configured to block certain types of traffic. One of them being ICMP.
To enable ICMP
netsh firewall set icmpsetting 8
To disable ICMP
netsh firewall set icmpsetting 8 disabled
You ever have a problem trying to start an application and it failed to start because the network port was occupied by another application? To find out the application that using the port is painstaking. The following commands could help you.
In the following example, I am trying to find what is the process that is occupying the port 8080.
Windows
C:\Documents and Settings\terence>netstat -aon | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 1748C:\Documents and Settings\terence>tasklist | findstr 1748
TNSLSNR.EXE 1748 Console 0 6,264 K
Linux
[root@mail03a ~]# netstat -nap | grep 8080 | grep LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2685/openvpn
When we evaluate datacenter quality, often time, we will look at datacenter tiering. Below is the table describes various Datacenter Tiers.
Tier 1 –
Has non-redundant capacity components and a single, non-redundant distribution path serving the computer equipment
Tier 2 –
Has redundant capacity components and a single, non-redundant distribution path serving the computer equipment.
Tier 3 –
(a) Has redundant capacity components and multiple independent distribution paths serving the computer equipment. Only one distribution path is required to serve the computer equipment at any time.
(b) All IT equipment is dual powered and installed properly to be compatible with the topology of the site’s architecture.
Tier 4 –
(a) Has multiple, independent, physically isolated systems that provide redundant capacity components and multiple, independent, diverse, active distribution paths simultaneously serving the computer equipment.
(b) All IT equipment is dual powered and installed properly to be compatible with the topology of the site’s architecture.
(c) Complementary systems and distribution paths must be physically isolated from one another (compartmentalized) to prevent any single event from simultaneously impacting both systems or distribution paths.
(d) Continuous cooling is required.
Welcome to Bandwith Check Utility Home page.
Bandwidth Check is a small utility that helps an administrator measure the available bandwidth. In order to make use of this utility, you will need to turn on the chargen service, which is provided in many inetd implementations.
In order to make use of this utility, you will need to turn on chargen protocol.
To enable chargen on Linux:
create the following file /etc/xinetd.d/charge
service chargen
{
type = INTERNAL
id = chargen-stream
socket_type = stream
protocol = tcp
user = root
wait = no
disable = no
}
service xinetd restart
To Compile bwcheck
gcc -o bwcheck bwcheck.c
To execute
./bwcheck
./bwcheck 172.16.11.2
Throughput: 73390.74 kb