Hostname via DHCP configuration

Good Day,

I wasn’t sure what i am missing on my machine or what may the solution be on checking a box on

] Change Hostname via DHCP No interface with dhcp

i have seen a previous thread regarding the issue that was posted last 2009 and it seems vague to me about enabling the feature.
Hope someone can enlighten me. Thanks in Advance


Don’t forget to state the openSUSE version here.

Are you using a static IP address configuration perhaps? That might explain why you can’t enable that function. Post your network interface config as defined in /etc/sysconfig/network/ifcfg-…

For example, if the interface is eth0, then do

sudo cat /etc/sysconfig/network/ifcfg-eth0

Apologies, Just for heads up i am using openSUSE 42.1

Will do a follow-up report sir! thanks!
Yes sir, Im using Static IP address / IP reservation

They’re not the same thing. The latter does use DHCP to acquire an IP address, gateway and DNS.

Here is what i got sir,

Name=netlink BCM5778 gigabit ethernet

So that explains it. You’re not using a DHCP-acquired address, so you can’t enable that feature. :wink:

is it possible to enable it while inputting a static IP set-up?

The function is used to push the hostname to the DHCP server (your router in this case), but you’re not using DHCP so it’s not applicable. You could just configure your openSUSE host to use DHCP instead, and reserve the desired address for this host in the router.

I tried to do the set-up but it doesn’t connect me to the internet. upon watching some vicibox setup videos that seems the only thing missing on my setup :frowning: and i don’t understand why. it seems i really have to input a statically assigned IP from yast.

More information would be needed to understand this. When you configure using DHCP, do you get the reserved address? Is it a DNS issue perhaps? You need to to demonstrate this with some commands and output.

ip a
ip route

Can you ping a well-known IP address?


Can you resolve a fully qualified domain name?


My understanding is that a static IP address is recommended so that it won’t change unintentionally and so can be found reliably, but the same can be achieved by use of a reserved address in the router.

eth0 <BROADCAST,MULTICAST,LOWER_IPS> mtu 65536 qdisc noqueue state UNKNOWN group default
                    link/ether 84:2b:2b:8d:a7:43 brd ff:ff:ff:ff
                    inet scope global eth0
                    valid_lft forever preferred_lft forever

this is what i got from ip a
ip route and ping doesn’t do anything on the machine
then nslookup gave me net unreachable.

This is the results on what i’ve run

That address has an inappropriate netmask! I would have expected it to be a /24 subnet (or similar). How did you define it in the router?

I haven’t configure much from the router except the IP reservation, is there a way to correct this?

You output does not show a dynamically-assigned address…

scope global eth0

It should have the ‘dynamic’ identifier in the output as well (similar to the following)…

inet brd scope global dynamic eth0

Show your current configuration as per /etc/sysconfig/network/ifcfg-eth0

Sorry, forget this particular identifier. (It only appears to apply to when NetworkManager is in use.)

Heres what i have sir,

to make it more accurate i might have missed some info upon manually writing it.