Re: more than one IP address on network device?

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



On 09/03/2016 07:34 PM, Walter H. wrote:

> if I would need an additional IPv6 address I'd just add
> IPV6ADDR_SECONDARIES="ipv6addr"
> 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.

best regards
Ulf

_______________________________________________
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