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

  • Hurricane Sandy was one of the most destructive natural disasters that the United States has ever experienced. Read this success story to learn how Datto protected its partners and their customers with proactive business continuity planning, heroic employee efforts, and the right mix of technology and support. With storm surges over 12 feet, winds that exceeded 90 mph, and a diameter spanning more than 900 miles, Sandy resulted in power outages to approximately 7.5 million people, and caused an estimated $50 …

  • Instead of only managing projects organizations do need to manage value! "Doing the right things" and "doing things right" are the essential ingredients for successful software and systems delivery. Unfortunately, with distributed delivery spanning multiple disciplines, geographies and time zones, many organizations struggle with teams working in silos, broken lines of communication, lack of collaboration, inadequate traceability, and poor project visibility. This often results in organizations "doing the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds