User Tools

Site Tools


howto_ethernetbridge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto_ethernetbridge [2012/03/09 10:43] (current)
Line 1: Line 1:
 +====== Creating an ethernet bridge in Linux (Ubuntu). ======
  
 +Remove IP addresses from NIC's. Then create and set ethernet bridge to automatically get an IP address via DHCP (or a similar configuration) in order to enable bridging and making the bridge act as a single NIC.
 +
 +  * sudo ifconfig eth0 0.0.0.0
 +  * sudo ifconfig eth1 0.0.0.0
 +  * sudo brctl addbr mybridge
 +  * sudo brctl addif mybridge eth0
 +  * sudo brctl addif mybridge eth1 
 +  * sudo brctl stp mybridge on
 +  * sudo dhclient mybridge
 +
 +
 +In case you need to renew your ip: (also useful when it comes to ordinary NIC's like eth0 / eth1).
 +
 +sudo dhclient mybridge -r
 +
 +sudo dhclient mybridge
 +
 +And as always - Remember - Man is your best friend!
 +
 +
 +
 +<​HTML>​
 +
 +<!-- AddThis Button BEGIN -->
 +<a class="​addthis_button"​ href="​http://​addthis.com/​bookmark.php?​v=250&​amp;​username=xa-4beeaaab61b514bf"><​img src="​http://​s7.addthis.com/​static/​btn/​v2/​lg-share-en.gif"​ width="​125"​ height="​16"​ alt="​Bookmark and Share" style="​border:​0"/></​a><​script type="​text/​javascript"​ src="​http://​s7.addthis.com/​js/​250/​addthis_widget.js#​username=xa-4beeaaab61b514bf"></​script>​
 +<!-- AddThis Button END -->
 +<br>
 +<br>
 +</​HTML>​
 +
 +Share this knowledge with your friends!
howto_ethernetbridge.txt ยท Last modified: 2012/03/09 10:43 (external edit)