setting kernel IP boot values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi I found this information:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_ip_networking_from_the_kernel_command_line

Specifically:
Set the configuration using the ip option on the kernel command line:
ip<client-IP-number>:[<server-id>]:<gateway-IP-number>:<netmask>:<client-hostname>:<interface>:{dhcp|dhcp6|auto6|on|any|none|off}
dhcp - DHCP configuration
dhpc6 - DHCP IPv6 configuration
auto6 - automatic IPv6 configuration
on, any - any protocol available in the kernel (default)
none, off - no autoconfiguration, static network configuration
For example:
ip=192.168.180.120:192.168.180.100:192.168.180.1:255.255.255.0::enp1s0:off

but I am confused.

I desire to set IP boot values with DHCP and name of machine say jerry.

so I would use ip=::::jerry.domain:eth0:dhcp


Is this correct ?

Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux