I used to connect my ubuntuUbuntu 14.04 laptop on office network via eth0 and the route table gets updated with the office network gateway ipIP in auto mode.
 Now, iI changed my /etc/network/interfaces configuratonconfiguration to add a bridge interface, br0, and made eth0 as a dumb port inside br0.
My /etc/network/interfaces has,:
iface br0 inet static
   address X.X.X.X
   netmask 255.255.0.0
   bridge_ports eth0
   bridge_stp on
   bridge_fd 0
   gateway X.X.X.X
 
No longer, myMy route table is no longer getting updated. And everytime, iEvery time I plug in my ethernet cable, iI need to do,:
route add default gw X.X.X.X br0
How to configure the default gateway for a bridge?
 
                