[ Top page ]

« December 2008 | Main | February 2013 »

May 2012 Archives

May 20, 2012

Network and communication

A test program for sending/receiving packets with a VLAN tag

I wrote a program that sends and receives packets with a VLAN tag using Linux promiscuous mode. This program is for playing with a VLAN switch. If you compile it without a switch (#define VLAN), you can send and receive untagged (i.e., normal Ethernet) packets.

Continue...

Network and communication

Connection check program for non IP network environment

To test connectivity through an IP network, "ping" is usually used. However, "ping" cannot be used or it is not convenient when non IP environment or using network interfaces directly. This page shows a simple tool for such situation. This tool can of course be used under an Ethernet environment, but it can also be used when Ethernet is not available but the promiscuous mode of Linux can be used.

Continue...

Network and communication

Software-based Ethernet switch

Although we can buy a high-performance Ethernet switch at 10 or 20 dollars, a programmable (software) switch is convenient for experimental purpose such as observing the learning steps. The following program is a Ethernet switching program with learning function but not completely conforming to the Ethernet standard.

Continue...

About May 2012

This page contains all entries posted to Small and Large Stones of Programming in May 2012. They are listed from oldest to newest.

December 2008 is the previous archive.

February 2013 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by Movable Type