[ubuntu] making eth0 to primary nic

view story

http://ubuntuforums.org – hi there, ave installed ubuntu 12 server, with 2 NIC cards, choose eth0 to be primary during installation, for squid3 proxy. Nw internet only works with eth1 not eth0 which is the primary. due to this i cant configure the iptables and lan. running sudo nano /etc/network/interfaces shows #the primary network interface auto eth0 inet static address 81.25.128.x netmask 255.255.255.x gateway 81.25.128.x #dns -xoptions are implemented by the resolvconf package, dns-nameservers 91.x.x.x 91.x.x.x iface eth1 inet static address 81.25.128.x (Hardware)