[CentOS] more than one IP address on network device?

Sun Sep 4 17:37:38 UTC 2016
Antonio da Silva Martins Junior <asmartins at uem.br>

Hi,

    It works, but, it didn't create "virtual address" aka "eth0:0", try
using "ip" command: "ip addr show dev eth0"

    Att.,

         Antonio.

2016-09-04 14:27 GMT-03:00 Walter H. <Walter.H at mathemainzel.info>:

> On 04.09.2016 17:33, Ulf Volmer wrote:
>
>>
>> OK, some testing has been done. you have to specify
>>
>> IPADDR=192.168.0.10
>> NETMASK=255.255.255.0
>> NETWORK=192.168.0.0
>> GATEWAY=192.168.0.1
>> IPADDR2=192.168.2.10
>> NETMASK2=255.255.255.0
>> NETWORK2=192.168.2.0
>>
> I tried this way; but
> 'ifconfig' doesn't show these additional addresses ...
>
> please note, that you have to specify only one GATEWAY, there can be
>> only one default gateway active.
>>
> sure?
> thought that IPADDR, GATEWAY, NETMASK and NETWORK must go with,
> the same with IPADDR2, GATEWAY2, NETMASK2 and NETWORK2 ...
>
> Walter
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>


-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmartins at uem.br* <asmartins at uem.br> / asmartins.uem at gmail.com
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

    "Real Programmers don’t need comments — the code is obvious."