25.9. ip= boot option returns an error
Using the ip= boot option format ip=[ip address] for example, ip=192.168.1.1 returns the error message Fatal for argument 'ip=[insert ip here]'\n sorry, unknown value [ip address] refusing to continue.
In previous releases of Red Hat Enterprise Linux, the boot option format was:
ip=192.168.1.15 netmask=255.255.255.0 gateway=192.168.1.254 nameserver=192.168.1.250 hostname=myhost1
However, in Red Hat Enterprise Linux 10, the boot option format is:
ip=192.168.1.15::192.168.1.254:255.255.255.0:myhost1::none: nameserver=192.168.1.250
To resolve the issue, use the format: ip=ip::gateway:netmask:hostname:interface:none where:
-
ipspecifies the client ip address. You can specify IPv6 addresses in square brackets, for example,[2001:DB8::1]. -
gatewayis the default gateway. IPv6 addresses are also accepted. -
netmaskis the netmask to be used. This can be either a full netmask, for example, 255.255.255.0, or a prefix, for example,64. -
hostnameis the host name of the client system. This parameter is optional.