You are not logged in.
I am planning to make a home server to keep in my bedroom and wanted to have it also act as a switch. Question: While it is acting as a switch for other computers can it still connect to the network itself? If so, how?
Offline
sure.
you just bridge the interfaces, and assign an ip to one of the bridges. Look up interface bridging documentation on google or something.
you can even use ebtables for broadcast mac policy stuff.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
A switch is essentially a bridge with lots of ports.
:?
Offline
Thanks for the advice. One more question: The machine I'm going to be using is an old system with a ~800mhz processor. If I'm not transferring massive files will there be that much of a performance hit to the processor?
Offline
No. It shouldn't be much of a hit (depending on the quality of the network cards).
Layer two bridging is pretty much dump and spew. So the network card driver is really the workhorse in your scenario. If you have decent intel cards, no problem. If you have cheapo realtek cards, you might see some cpu load out of it, but probably not a whole lot.
If you are doing any layer 3 routing (ospf, rip) then it might have a little extra load, but I doubt you will find it at all problematic in even a moderately sized LAN.
I would be interested to see how much overhead you do get.
Please post any results you find.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Just got it working. If I am allowed I'd like to add an entry to the Wiki detailing the process. No noticeable performance while browsing the web but I'll have to stress test this properly later.
Offline
It's a wiki - everyone's allowed.
Have fun.
Offline