Annotated edit history of
EthernetBridge version 4, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
DeanEvans |
1 |
An EthernetBridge is used to connect networks together. It works at the data link layer, taking all traffic from one side and transmitting it across the other, bridging the network segments. |
|
|
2 |
|
|
|
3 |
|
|
|
4 |
If you are too cheap, or poor, to buy a switch and you have spare patch (crossover) cables and network cards it relatively straight forward to network three, or more, PCs together by using the middle PCs as bridges. |
|
|
5 |
|
|
|
6 |
!!Details of setting up a simple bridge in debian based distributions. |
|
|
7 |
|
|
|
8 |
|
|
|
9 |
!Modifications to /etc/network/interfaces |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
auto eth0%%% |
|
|
13 |
iface eth0 inet manual |
|
|
14 |
|
|
|
15 |
auto eth1%%% |
|
|
16 |
iface eth1 inet manual |
|
|
17 |
|
|
|
18 |
auto br0%%% |
|
|
19 |
iface br0 inet static |
|
|
20 |
bridge-ports eth0 eth1%%% |
|
|
21 |
address 10.0.0.2%%% |
|
|
22 |
netmask 255.255.255.0%%% |
|
|
23 |
gateway 10.0.0.1%%% |
|
|
24 |
network 1.2.3.0%%% |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
Notes: |
|
|
28 |
|
|
|
29 |
#The network option may not be needed, but if you know what you are doing, add it. |
|
|
30 |
#Do not assign either of the interfaces any address etc. |
2 |
DeanEvans |
31 |
%%% |
4 |
DeanEvans |
32 |
Part of CategoryNetworking |