Creating a Linux Soft Switch

Environment: C on Linux Red Hat 7.3-2.4.18-3

Description

The Linux Soft Switch allows a computer to work as a switch on layer 2. It is designed to switch packets based on MAC addresses and forward them to the proper outgoing network interface(s).

Note: With this version (1.0), Soft Switch can support up to four hosts connected to the Linux Soft Switch host. It means that the Soft Switch host has at least two NICs and the max is four NICs.

Downloads

Download source - 98 Kb


Comments

  • Great, but how 'bout this?

    Posted by Legacy on 08/13/2003 12:00am

    Originally posted by: Nickolay

    Great work, I've dreamed about softswitch implemented on OS, But.. How about this problem.... For example if we try to apply some packet filters (i.e. port-blocking functions to your program), how it shoud be? Which functions of Libpcap/winpicap or just socket-base functions we should use? But the piece of code would be better!

    Thanks.

    Reply
  • Any photographs available, or any other help?

    Posted by Legacy on 08/04/2003 12:00am

    Originally posted by: Harshad Joshi

    Can you please include a photograph of actual implementation of this code alongwith its hardware?
    
    Please respond immediately!

    Reply
  • SoftSwitch on Windows environment?

    Posted by Legacy on 04/20/2003 12:00am

    Originally posted by: Paul Yeung

    Can this kind of ethernet softswitch be implemented on Windows platform? What will be the difficulties?

    • SoftSwitch on Windows environment?

      Posted by amshat on 06/29/2005 01:00pm

      i am also interested to install soft switch in windows? can we cooperat , thanks kind regards Am

      Reply
    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …

  • Learn How A Global Entertainment Company Saw a 448% ROI Every business today uses software to manage systems, deliver products, and empower employees to do their jobs. But software inevitably breaks, and when it does, businesses lose money -- in the form of dissatisfied customers, missed SLAs or lost productivity. PagerDuty, an operations performance platform, solves this problem by helping operations engineers and developers more effectively manage and resolve incidents across a company's global operations. …

Most Popular Programming Stories

More for Developers

RSS Feeds