[CentOS] two IP addresses on the same NIC: one via DHCP, one fixed

2012-10-01 Thread Boris Epstein
Hello listmates,

If I have a NIC on my CentOS 6.2 machine two which I want to assign to IP
addresses: one acquired via DHCP, the other one fixed - is there a way to
do that? How do I do that?

Thanks.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] two IP addresses on the same NIC: one via DHCP, one fixed

2012-10-01 Thread Leon Fauster
Am 01.10.2012 um 22:53 schrieb Boris Epstein:
 Hello listmates,
 
 If I have a NIC on my CentOS 6.2 machine two which I want to assign to IP
 addresses: one acquired via DHCP, the other one fixed - is there a way to
 do that? How do I do that?


aliases are used to bind a second ip to the interface but this only
works with static ips. 

--
LF




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] two IP addresses on the same NIC: one via DHCP, one fixed

2012-10-01 Thread Boris Epstein
On Mon, Oct 1, 2012 at 5:46 PM, Leon Fauster leonfaus...@googlemail.comwrote:

 Am 01.10.2012 um 22:53 schrieb Boris Epstein:
  Hello listmates,
 
  If I have a NIC on my CentOS 6.2 machine two which I want to assign to IP
  addresses: one acquired via DHCP, the other one fixed - is there a way to
  do that? How do I do that?


 aliases are used to bind a second ip to the interface but this only
 works with static ips.

 --
 LF




Yes, thank you very much.

It's a non-issue - I just got the alias syntax wrong.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos