HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   changing eth0 to default (http://www.howtoforge.com/forums/showthread.php?t=59845)

kanjah 3rd December 2012 16:02

changing eth0 to default
 
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
netmask 255.255.255.x
brodcast 81.25.128.x


any advice?
thanks

falko 4th December 2012 19:49

Did you configure the same IP for eth0 and eth1?

kanjah 5th December 2012 10:41

changing eth0 to default
 
it seems that they are swapped...eth1 became the primary

falko 7th December 2012 07:55

http://www.linuxquestions.org/questi...d-eth1-308008/


All times are GMT +2. The time now is 23:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.