1. sudo apt-get install bridge-utils 2. Brctl--helpusage:brctl [commands] commands: ADDBR <bridge> add bridge   ; DELBR <bridge> Delete bridge addif <bridge> <device> Add Interf Ace to bridge delif <bridge> <device> Delete interface from bridge &NB Sp Hairpin <bridge> <port> {on|off} turn hairpin on/off setageing <bridge> ; <time> set ageing time Setbridgeprio <bridge> <prio> set Bridge priority  ; SETFD <bridge> <time> set bridge forward delay Sethello <br idge> <time> Set Hello time setmaxage <bridge> <time> set max message age& nbsp Setpathcost <bridge> <port> <cost> set path cost Setportprio <bridge> <port> <prio> set port priority &N Bsp Show [<bridge>] show a list of bridges Showmacs <bridge> show a list of Mac Addrs SHOWSTP <bridge> show bridge stp info STP <bridge> {on| Off} turn STP on/off 3. Create a network bridge Brctl ADDBR newbr 4. Connect the physical NIC 1 to the bridge bectl addif newbr eth1 5. Remove the physical NIC 1 IP information ifconfig eth1 0.0.0.0 6. Assigning IP addresses to the bridge ifconfig NEWBR 3.242.164.147
Linux Bridge settings