Local Network Problem

Nils Kassube kassube at gmx.net
Wed Aug 29 09:50:14 UTC 2007


Eberhard Roloff wrote:
> Nils Kassube wrote:
> > I don't see an entry for your router in any of your /etc/hosts files.
> > You should add a line
> >
> > 192.168.1.1 router.site router
>
> This does not do any harm, but afaik it is not needed, since the
> default gateway should be stored within your network interface
> configuration (/etc/sysconfig/network/....).

Right - it isn't needed. Don't ask me why I wrote it :)

But the configuration for the network interfaces is 
in /etc/network/interfaces (it seems you were pointing to the SUSE 
location). The entry should probably look like this:

auto eth0
iface eth0 inet static
address 192.168.1.51
netmask 255.255.255.0
gateway 192.168.1.1

With the IP address changed according to the individual machine.


Nils




More information about the ubuntu-users mailing list