User:Mooeypoo/multiline list pre problem

for this example we will the address range of 10.11.112.0/24 as the private IP's

requirements 3 IPs with in the same subnet 2 Machines to act as the failover routers web servers as needed one network interface will connect to the internet the other network interface will connect to the private LAN for the webservers
 * 1) log in and create 2 virtual machines with 2 network interfaces.

out of the 2, pick one and using the DCD assign the extra IP to this machine. this machine will be the master. disable DHCP for the interfaces once the installation is complete, do the following in the file add the following lines SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="MACADDR", KERNEL=="eth*", NAME="private" SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="MACADDR", KERNEL=="eth*", NAME="public" replace the MACADDR with the mac address from the DCD for the interfaces. the private interface will be used to connect to the webservers, while the public interface is used to connect to the internet.
 * 1) assign a public IP to both of the virtual machines
 * 1) install debian on to this machine.
 * 1) create a file in /etc/udev/rules.d/ named 30-net_persistent_names.rules

auto public iface public inet static address IP ADDRESS from DCD netmask 255.255.255.0 network X.X.X.0 broadcast X.X.X.255 gateway X.X.X.1 mtu 1500 iface public:0 inet static address SECONARDY ADDRESS FROM DCD netmask 255.255.255.0 mtu 1500 auto private iface private inet static address   10.11.112.11 netmask   255.255.255.0 network   10.11.112.0 broadcast 10.11.112.255 mtu 64000
 * 1) edit the /etc/network/intefaces file and add the following information
 * 1) Testing with multiple pre tags per line SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="MACADDR", KERNEL=="eth*", NAME="private"  SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="MACADDR", KERNEL=="eth*", NAME="public"