Category: networking
Determining if an IP is within a specific range: redux

I was reading Paul Gregg’s very clear explanation of “classless” ranges comparison when I realized that his code was not as “bare metal” as could be. So, here is the code I’ve been using in nextBBS. It only accepts ranges in the form “x.x.x.x/b” but it’s short and all I needed, really. ?View Code PHPfunction isSubnet($subnet, $ip) { // Classless [...]

By Chris with 0 comments
How I setup networking for VirtualBox on Ubuntu

Just a quick note: I use VirtualBox daily at work. It provides excellent emulation for my original XP install (the one that came pre-installed on my Dell box!) while my main OS is Ubuntu. Setting up networking is not as straightforward as with VMWare, so here is what I had to do: First, edit /etc/udev/rules.d/20-names.rules and make sure this line [...]

By Chris with 3 comments
How To Setup An Agile Networking Lab – Part 1

Caution: boring tech porn blather ahead! It recently became obvious to me that the lab I had setup for our development team was not aging very well. When I first configured it, I was under the impression that creating a boatload of VLANs and using routing everywhere was the way to go. Of course that belief held true for about [...]

By Chris with 1 comment
data recovery