There’s currently a lot of very pretty snow around here.
I especially like the funny shapes the wind has created at one corner of the house.
My place to post silly pictures and rants, even though I’m no longer a PhD-student.
There’s currently a lot of very pretty snow around here.
I especially like the funny shapes the wind has created at one corner of the house.
Today I read on tmbinc’s blog about how he modified a cheap Ethernet-switch to be VLAN capable.
With VLANs you can fan out the single built-in Ethernet-interface of your computer to several isolated networks. These cheap switches (you can get them with 8 ports for about 10€) have this functionality because they use the same chips as common plastic routers that separate their three different types of network ports with the same technique and usually connect with a ninth MII-port that’s not being used in a common desktop-switch.
I had tried to do the same in the past, but initially failed as I blew the serial i2c-eeprom during my attempts of programming it, but today I didn’t make any mistakes that destroyed the little thing. As my configuration is different from tmbinc’s, I’ll make it also available in the archive linked to below.
The Process to make your switch (that has to use a RTL8309SB IC) VLAN capable.
The configuration in the .zip-file provides you with 6 untagged ports and 2 tagged ports according to the table below:
Label on Switch | RTL8309SB Port Number | VLANs |
---|---|---|
8,7 | 0,1 | 1, untagged |
6,5 | 2,3 | 2, untagged |
4,3 | 4,5 | 3, untagged |
2,1 | 6,7 | 1…9, tagged |
- | MII | Unused |
Download Configuration:
20100106_switch_eeprom_vlan.zip (798k)
I tested the switch with a Linux machine that has a NVIDIA nForce Gigabit Controller and my OpenSolaris NAS that uses a RTL8111/8168B PCI Express Gigabit Ethernet controller.
Update 2011-02-18: zip-file available again on new server