element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum VLAN on Raspbmc
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 664 subscribers
  • Views 281 views
  • Users 0 members are here
Related

VLAN on Raspbmc

Former Member
Former Member over 11 years ago

Currently I have 2 RPI's (version B 512 Mb) installed one running RASPPBMC and the other one is a NAS server running NFS which has the least amount of protocol overhead. Raspbmc is connected to the network via WIFI (less than 2 m apart from the access point) while the NFS server is connected directly via wire. Current network is 100Tbase. Now when playing HD films when there is na traffic on the network the film is playing without any problem, however as from the moment other devices are using the network the film sometimes stops playing for a couple of seconds. Now using VLAN's one is able to define QoS sothat the stream between NFS server and raspbmc can be given higher priority than the other traffic on the network. So question do someone have some experience using VLAN on Raspberry pi.Specially on RASPBMC en NFS server.

 

Thanks for any reply.

  • Sign in to reply
  • Cancel
  • iagorubio
    0 iagorubio over 11 years ago

    Stefan, that have little to do with Raspberry as it's something you have to do at the  router/network level.

     

    Linux - so Raspberry - can use the iptables MARK rule to mark packets to be used by QoS enabled routers, but you need a good router capable of throttling bandwidth to achieve anything.

     

    Most cheap/home routers can also tag packets for use with QoS but they just tag the packets and do nothing with them so it's useless unless you have a good router.

     

    The Cisco router I have at work have throttling capabilities. The Linksys wifi access point we have, does have QoS tagging, so we can tag on the linksys and assign priorities on the Cisco.

     

    To build an VLAN - that's not really needed to assign or manage bandwidth throttling - you need an VLAN capable device, and for the Raspberry it will be transparent. It will take its IP from DHCP from that device, and will be routed through that VLAN.

     

    Some routers - as the wifi router WRT54G - can be hacked to put on them firmware capable of bandwidth throttling on cheap hardware - dd-wrt or tomato firmware.

     

    So I don't think VLAN is what you are looking for. Look for a good router with throtling capabilities - you use to set preference by source ip and destination ip so set a DHCP rule so the router always assign that IP to your Pi's MAC - or buy a WRT54G and install dd-wrt on it to be able to shape your bandwidth.

     

    Remember it must be the central device on your network that routes the traffic around. If you get a modem/router with sick shaping capabilities and plug it to a switch where all your devices are plugged, you get nothing out of it, because the switch will redirect the traffic among your devices and the router will only see those packets going out of your network.

     

    There exists switches with throttling and tagging capabilities - like the Cisco Catalyst series - that are quite expensive for home use.

     

    Your best bet is to look for a cheapo router with switch that supports custom firmware, or to look for a switch / routers with throttling capabilities in your price range.

    Quality of Service - DD-WRT Wiki

    http://dd-wrt.com/wiki/index.php/Supported_Devices

     

    For the NFS server and the Rapberry Pi all this - VLAN or Qos or traffic shaping - will be transparent, and no changes are needed on them.

     

    More info:

    http://www.cisco.com/en/US/tech/tk389/tk815/technologies_tech_note09186a0080094663.shtml

    Virtual LAN - Wikipedia, the free encyclopedia

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube