Linux Bridge

  • 也可以算是一種虛擬化技術

  • 虛擬出設備高一層次的設備

    • 虛擬出高interface 一層的設備 (暫且看作一種switch)

  • brctl addbr $brname

  • brctl addif $brname $interface_name

Bridge 是建立在 interface上 (實體interface or vlan interface), 並且能夠assign IP on Bridge, (Bridge 用所有interface 中最小的MAC address 當MAC), 再來host才能讓從Bridge 經過 interface 去外部網路

Send Function Receive Function

Linux Bridge Kernel Module Struct

Last updated

Was this helpful?