I'm running Proxmox 2.2
I've been working on a network setup for a new proxmox host setup.
We have been having a lot of trouble, not so much with the configuration, but with changing the configuration and applying the changes.
I set up the configuration via /etc/network/interfaces
I try to refresh the configuration by running:
service networking stop
service networking start
When it starts up the network interfaces do not come up correctly.
I follow that by rebooting the server. At this point it sometimes comes up correctly, but sometimes no matter how many times I reboot it, it doesn't work.
However, I can fix this by doing the following:
1. Copy the interfaces file to interface.old
2. Clear out the interfaces file
3. Reboot the server
4. Copy the interfaces.old file to interfaces
5. Reboot the server
This makes it very difficult to make a change to the network configurations, or as I'm doing now, attach the server to a SAN.
Is there an easier way to change the interfaces file, and refresh the network settings without rebooting twice?
This is my interfaces file.
I've been working on a network setup for a new proxmox host setup.
We have been having a lot of trouble, not so much with the configuration, but with changing the configuration and applying the changes.
I set up the configuration via /etc/network/interfaces
I try to refresh the configuration by running:
service networking stop
service networking start
When it starts up the network interfaces do not come up correctly.
I follow that by rebooting the server. At this point it sometimes comes up correctly, but sometimes no matter how many times I reboot it, it doesn't work.
However, I can fix this by doing the following:
1. Copy the interfaces file to interface.old
2. Clear out the interfaces file
3. Reboot the server
4. Copy the interfaces.old file to interfaces
5. Reboot the server
This makes it very difficult to make a change to the network configurations, or as I'm doing now, attach the server to a SAN.
Is there an easier way to change the interfaces file, and refresh the network settings without rebooting twice?
This is my interfaces file.
Code:
# network interface settings
auto lo
iface lo inet loopback
iface eth3 inet manual
iface eth7 inet manual
iface eth11 inet manual
iface eth10 inet manual
iface eth4 inet manual
iface eth8 inet manual
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth5 inet manual
iface eth6 inet manual
iface eth9 inet manual
auto bond1
iface bond1 inet manual
slaves eth0 eth8
bond_miimon 100
bond_mode 802.3ad
bond miimon 100
auto bond2
iface bond2 inet manual
slaves eth1 eth9
bond_miimon 100
bond_mode 802.3ad
bond miimon 100
auto bond3
iface bond3 inet manual
slaves eth10 eth4
bond_miimon 100
bond_mode 802.3ad
bond miimon 100
auto bond4
iface bond4 inet manual
slaves eth2 eth5
bond_miimon 100
bond_mode 802.3ad
bond miimon 100
iface vmbr0 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr100
iface vmbr100 inet static
address 10.10.10.74
netmask 255.255.255.0
bridge_ports bond1
bridge_stp off
bridge_fd 0
auto vmbr200
iface vmbr200 inet static
address 10.10.20.74
netmask 255.255.255.0
bridge_ports bond2
bridge_stp off
bridge_fd 0
auto vmbr300
iface vmbr300 inet static
address 10.10.30.34
netmask 255.255.255.0
bridge_ports bond3
bridge_stp off
bridge_fd 0
auto vmbr400
iface vmbr400 inet static
address 10.10.40.10
netmask 255.255.255.0
gateway 10.10.40.1
bridge_ports bond4
bridge_stp off
bridge_fd 0