Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 24.04.2024 - 02:07


Linux bridge

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Author Message
Robert
Post subject: Linux bridge  PostPosted: 04.05.2007 - 10:04 #50264
Majster


Joined: Okt 19, 2003
Posts: 2339
Location: Bratislava
Pred par dnami som musel riesit trochu netradicny problem - potreboval som medzi sebou prepojit dva vzdialene switche, ale prepojovaci kabel bol nakrimpovany napriamo (nie prekrizeny) a ani jeden zo switchov nemal autosense, takze mi to neslo. Preto som to narychlo vyriesil tak, ze som tam vradil Linuxbox a obe eth. rozhrania dal do bridge. Siet je 10mbit/s a pri FTP som mal priepustnost cca 900kbyte/s. Vcera som jednu stranu prekrimpoval a na FTP vidim cez 1mbyte/s.

Chcem sa spytat, aku mate skusenost s bridge pod Linux. Mam dojem, ze ta implementacia nie je uplne 100%. Cosi take som cital aj na Internete. Udajne routovanie je podstatne efektivnejsie implementovane, ale FTP cez router som neskusal.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
keo
Post subject: RE: Linux bridge  PostPosted: 04.05.2007 - 14:05 #50288
Ucen


Joined: Aug 28, 2006
Posts: 860

Nebolo by jednoduchsie odcvaknut koncovku a urobit tam krizenu ? Pripadne, ak je to kratke a neda sa to odcvaknut, kupit za 40 SK RJ45 spojku a patch kabel krizeny /alebo krizenu spojku a rovny kabel/ a nadpojit to kusok ?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
qido
Post subject: RE: Linux bridge  PostPosted: 04.05.2007 - 14:32 #50289
Basic


Joined: Máj 31, 2006
Posts: 292

keo wrote: ›Nebolo by jednoduchsie odcvaknut koncovku a urobit tam krizenu ? Pripadne, ak je to kratke a neda sa to odcvaknut, kupit za 40 SK RJ45 spojku a patch kabel krizeny /alebo krizenu spojku a rovny kabel/ a nadpojit to kusok ?


no tu asi ide o princip implementacie bridge rezimu v linuxe...
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Robert
Post subject: RE: Linux bridge  PostPosted: 04.05.2007 - 14:44 #50290
Majster


Joined: Okt 19, 2003
Posts: 2339
Location: Bratislava
Asi som sa zle vyjadril Ked som jednu stranu prekrimpoval na krizenu a Linux box vypustil, priepustnost znatelne narastla.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
cobain
Post subject: RE: Linux bridge  PostPosted: 04.05.2007 - 16:09 #50293
Majster


Joined: Aug 31, 2005
Posts: 2295
Location: Hájske
Robert jednoznacne som to pochopil hned z prveho prispevku a pretozze som lama tak som na to nepisal, ale mam podobne poznatky ako ty ze bridge neni vhodne riesenie. Mi to pripomina ako mi to raz jeden manik vysvetlil. SWITCH manik v nom rozhadzuje pakety lopatkou, ROUTER manik ukazuje kam paket ma ist. predpokladam ze bridge je nieco ako prekladacia stanica, co znamena ze manik je moz namahany Very Happy no musim si to este overit a ujasnit
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
bakula
Post subject: RE: Linux bridge  PostPosted: 04.05.2007 - 19:02 #50296
Ucen


Joined: Okt 21, 2004
Posts: 792

* Bridging will be slower the more hosts you have in your "learn" table.
* Bridging more than two interfaces will easily lead to inefficiencies. consider bridges as hubs that can sometimes optimize by forwarding the packet out only one (or more) interfaces). Packet duplication is not cheap!
* Bridging puts the interfaces in promiscous mode which will lead to more to do for the input path.
* Bridging uses 802.1d algorithm (afaik) and so it sacrifices packet processing efficiency to gain correctness (which is a very good thing!)
* Bridging has an extra firewall to traverse when it's an ip packet (which is not necessarily a large penalty but processor instruction is a processor instruction.
* route lookups require at most somewhere around 32 lookup steps, whereas bridging will have many many more lookup steps. it would have to compare source address to as many hosts learned on the incoming interface and then compare destination address to all hosts learned on all other interfaces. 48 bit compares are not very "natural" for 32 bit architectures Smile
* routers only forwards packets destined for router mac address (no manycast or poorly bridged packets wasting forwarding capacity).
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)