[CentOS] more than one IP address on network device?
Walter.H at mathemainzel.info
Sun Sep 4 14:40:13 UTC 2016
On 04.09.2016 15:18, Ulf Volmer wrote:
> On 09/03/2016 07:34 PM, Walter H. wrote:
>> if I would need an additional IPv6 address I'd just add
>> to this file; if I would need an additional IPv4 address this works only
>> by a virtual device
>> e.g. eth0:1 like this:
> That's not true, you can add ipv4 address to the interface in the same way:
> | IPADDR2=172.17.170.101
> | NETMASK2=255.255.255.0
> There is no need to create a virtual network device.
ah ok, and the other values?
in case they don't match the first IP address?
More information about the CentOS