On Mon, November 7, 2011 12:13 pm, Massimiliano Ziccardi wrote: > Hi All. > > This problem is not strictly related to gentoo, however I'm sure someone > here will be able to help me in some way: sorry if I bother you! > > I'm having a really strange problem: for some reason, everytime I reboot > my > server, the default gateway gets attached to the 'lo' interface, even if I > correctly attached it to the eth0 device. > > I fixed the problem editing the /etc/sysconfig/network file and adding > > GATEWAY=195.75.145.1 > GATEWAYDEV=eth0 > > however I'm not sure this is the solution: I already configured the > default > gateway only in the ifcfg-eth0 file!
Which Linux distribution are you using? Gentoo does not use those files. Try editing the /etc/conf.d/net file to match your network settings. -- Joost