Fix IP setup problem

Hello,

I just installed openSuse 11 and the network works fine with the default settings (DHCP).

I use a router and I want a fix IP in my local network. I want to use the IP 192.168.0.30 and the namserver 192.168.0.1

I was able to set the IP and the network mask but where to set the nameservers?

Thanks in advance!

elmu wrote:

> Hello,
> I just installed openSuse 11 and the network works fine with the
> default settings (DHCP).
> I use a router and I want a fix IP in my local network. I want to use
> the IP 192.168.0.30 and the namserver 192.168.0.1
> I was able to set the IP and the network mask but where to set the
> nameservers?
> Thanks in advance!

YaST->Network Settings

Select the “Hostname/DNS” tab.

While you’re in the neighborhood, select the “Routing” tab as well, and make
sure your router is set as the “Default Gateway”.

In case of Routing tab I suppose I need to use the 255.255.255.0 for netmask field but what should I write to the destination field and what for the gateway field?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Worst-case scenario boot into a working system (on the same network) and
look at the gateway. In any case you should have a netmask set (you
mentioned 255.255.255.0, so I assume that is correct for you) but the
default gateway will be set on any system in the network to the same
value… probably that of your router as Larry stated.

Good luck.

elmu wrote:
> In case of Routing tab I suppose I need to use the 255.255.255.0 for
> netmask field but what should I write to the destination field and what
> for the gateway field?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKtTi3s42bA80+9kRArFSAJ4je/Uq98zX/6nUKwGRlCSveJAW1QCeJS+a
epvZ9XLHN9J7nSa8nGyfJjI=
=b7js
-----END PGP SIGNATURE-----

  • elmu,

most probably, leave destination empty and use your router’s IP as the default gateway.

Uwe

Unfortunately it is not allowed to leave the destination field empty.:frowning:

Hoops, it is my fault. If I add nothing to the routing table, just define the gateway in the drop down list then it works fine.

Have you considered setting up your network as Static-DHCP? So you’re still using DHCP, however you get the same IP address to each MAC address. Letting the router do all the work for you =)