Difference between revisions of "Bright:Bridge"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Bridge Interface == Bridge interfaces can be used to divide one physical network into two separate network segments at layer 2 without creating separate IP subnets. A brid...")
 
(No difference)

Latest revision as of 16:10, 10 February 2014

Bridge Interface

Bridge interfaces can be used to divide one physical network into two separate network segments at layer 2 without creating separate IP subnets. A bridge thus connects the two networks together in a protocol independent way.

The network device name given to the bridge interface is of the form br<number>. The following example demonstrates how to set up a bridge interface in cmsh, where the name br0 is stored by the parameter networkdevicename.


Configuration through CMSH

Create a bridge:

[bright61->device[node001]->interfaces]% add bridge br0
[bright61->...->interfaces*[br0*]]% set network internalnet
[bright61->...->interfaces*[br0*]]% set ip 10.141.1.1
[bright61->...->interfaces*[br0*]]% show
Parameter Value
------------------------------ ------------------
Additional Hostnames
DHCP no
Forward Delay 0
IP 10.141.1.1
Interfaces
MAC 00:00:00:00:00:00
Network internalnet
Network device name br0
Revision
SpanningTreeProtocol no
Type bridge

Assign physical devices to use the bridge:

[bright61->...->interfaces*[br0*]]% set interfaces eth1 eth2; exit
[bright61->...->interfaces*]% clear eth1 ip; clear eth1 network
[bright61->...->interfaces*]% clear eth2 ip; clear eth2 network
[bright61->...->interfaces*]% use br0; commit