If your network configuration is not controlled by a DHCP server, perform this task to configure a static IP address bridge.
user@ubuntu:~$ ifconfig -a
user@ubuntu:~$ ping example.com
bridge-utils
, using the following commands:
user@ubuntu:~$ sudo apt-get update user@ubuntu:~$ sudo apt-get install bridge-utils
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 0.0.0.0 auto br0 iface br0 inet static address <ip-address> netmask <net-mask> gateway <gateway-ip-address> dns-nameserver <dns-nameservers> dns-search <search-domains> bridge_ports <eth0> bridge_stp off bridge_fd 0 bridge_maxwait 0
user@ubuntu:~$ sudo reboot