Verify Bridging Ethernet Connections on Ubuntu Linux

Fig.03: Verify Bridging Ethernet Connections

Fig.03: Verify Bridging Ethernet Connections

Type the following command for verification:
$ sudo ip a show ## show br0/br1
$ sudo ip r ## show routing info
$ sudo ping cyberciti.biz ## ping to internet
$ sudo ping lan-ip-address-here ## ping to your private lan ip
$ sudo brctl show

Sample outputs:

root@test:~# ip a show
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000
    link/ether 06:53:32:8a:e0:11 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::453:32ff:fe8a:e011/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1:  mtu 1500 qdisc pfifo_fast master br1 state UP group default qlen 1000
    link/ether 06:70:3a:b6:89:82 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::470:3aff:feb6:8982/64 scope link 
       valid_lft forever preferred_lft forever
4: br1:  mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 06:70:3a:b6:89:82 brd ff:ff:ff:ff:ff:ff
    inet 208.43.222.51/24 brd 208.43.222.55 scope global br1
       valid_lft forever preferred_lft forever
    inet6 fe80::470:3aff:feb6:8982/64 scope link 
       valid_lft forever preferred_lft forever
5: br0:  mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 06:53:32:8a:e0:11 brd ff:ff:ff:ff:ff:ff
    inet 10.18.44.26/26 brd 10.18.44.63 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fe80::453:32ff:fe8a:e011/64 scope link 
       valid_lft forever preferred_lft forever
root@test:~# ip r
default via 208.43.222.49 dev br1 onlink 
10.0.0.0/8 via 10.18.44.1 dev br0 
10.18.44.0/26 dev br0  proto kernel  scope link  src 10.18.44.26 
161.26.0.0/16 via 10.18.44.1 dev br0 
208.43.222.0/24 dev br1  proto kernel  scope link  src 208.43.222.51 
root@test:~# ping -c 2 cyberciti.biz
PING cyberciti.biz (74.86.144.194) 56(84) bytes of data.
64 bytes from c2.90.564a.ip4.static.sl-reverse.com (74.86.144.194): icmp_seq=1 ttl=61 time=0.586 ms
64 bytes from c2.90.564a.ip4.static.sl-reverse.com (74.86.144.194): icmp_seq=2 ttl=61 time=0.380 ms
--- cyberciti.biz ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.380/0.483/0.586/0.103 ms
root@test:~# ping -c 2 10.0.80.12
PING 10.0.80.12 (10.0.80.12) 56(84) bytes of data.
64 bytes from 10.0.80.12: icmp_seq=1 ttl=253 time=1.31 ms
64 bytes from 10.0.80.12: icmp_seq=2 ttl=253 time=0.289 ms
--- 10.0.80.12 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.289/0.801/1.313/0.512 ms
root@test:~# brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.0653328ae011	no		eth0
br1		8000.06703ab68982	no		eth1
root@test:~# 

Examples and usage: How To Setup Bridge (br0) Network on Ubuntu Linux 14.04 and 16.04 LTS