Archive for the ‘Networking’ Category

NIC bonding with Red Hat/CentOS

Wednesday, October 21st, 2009

Here are simple instructions on how to configure network interface bonding on Red Hat based distros. The thing I always forget. There’s also a little script which will create a bonding interface bond0 between eth0 and eth1 and migrate existing IP settings from eth0. You can find it in the bottom of this post.
(more…)

Dynamic IPv6 routing with Cisco IOS and Quagga on OpenWRT

Sunday, October 19th, 2008

Here’s how to make dynamic IPv6 routing work between a Cisco IOS router and an OpenWRT Linux Quagga router. I couldn’t find a similar howto anywhere, so I decided to write my own.

I am using OpenWRT Kamikaze 7.09 (kernel 2.4) on an ASUS WL-500gP wireless router. Any IPv6 enabled Cisco router should do.

I assume you have already installed the IPV6 kernel modules and userland tools, and set up static addresses for your interfaces (if you haven’t check out the OpenWRT IPv6 Howto).

I am using SixXS for tunneling an IPv6 /48 prefix over IPv4. (more…)

NIC bonding with Ubuntu

Saturday, August 2nd, 2008

Network interfaces can be bonded to provide fault-tolerant operation. Here’s how to do it in Ubuntu. I will assume the interfaces to be bonded are eth0 and eth1.

(more…)

Limiting the bandwidth of incoming traffic

Wednesday, April 23rd, 2008

A backup server was saturating the DSL links of remote offices every time the backups were running. To prevent this, I had to limit the incoming bandwidth of the TCP-connections that were used to back up the remote hosts, but not touch the ones that were used to connect to the servers in the local network. Here’s how to do it.

(more…)

Enabling security on an HP ProCurve 4200 series switch

Saturday, November 3rd, 2007

I had a chance to configure an HP ProCurve 4208vl switch the other day. The first impression was that the command line interface is heavily influenced by, if not directly copied from, the Cisco IOS command line interface. So if you have experience with IOS, you will probably feel almost at home on an HP switch. There are some differences, though.

The first thing I wanted to do was to enable ssh access and authentication, and disable telnet. Here’s a quick howto.

(more…)

WPA-PSK authentication with Cisco IOS

Friday, October 26th, 2007

When my Linux firewall box died a couple of months ago, I finally decided to by a Cisco router for my Internet connection. Before the Linux box I had an OpenBSD firewall, and I decided it was time to learn yet another platform.

(more…)