I've just made the switch from Red Hat Enterprise Linux to Ubuntu Server, and need to do network configuration with static IP addresses, multiple Ethernet interfaces, channel bonding for redundancy, a bridge for VMs, etc.
In RHEL, I did this by writing configuration files in /etc/sysconfig/network-scripts. Is there a similar file or directory in Ubuntu where you can configure all network interfaces? If so, where can I find documentation for it? If not, how do I do network configuration beyond the basics? (I've seen mention of /etc/network/interfaces, but I'm not sure it does what I'm looking for.) Thanks!
Thanks to man interfaces, man bridge-utils-interfaces, and the Ubuntu community documentation page for bonding, I've mostly figured out what I need. The one thing I'm still not sure of is how to put a bridge on top of a bonded interface. Here's the relevant part of my interfaces file:
auto br0 iface br0 inet static address 10.1.254.101 netmask 255.255.255.0 network 10.1.254.0 broadcast 10.1.254.255 gateway 10.1.254.50 dns-nameservers 10.1.254.252 bridge_ports bond0 bridge_stp off iface bond0 inet manual bond-slaves eth0 eth1 bond_mode balance-rr bond_miimon 100
Is this correct?