Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   two IP addresses on the same NIC: one via DHCP, one fixed (http://www.linux-archive.org/centos/708915-two-ip-addresses-same-nic-one-via-dhcp-one-fixed.html)

Leon Fauster 10-01-2012 09:46 PM

two IP addresses on the same NIC: one via DHCP, one fixed
 
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

Boris Epstein 10-01-2012 09:50 PM

two IP addresses on the same NIC: one via DHCP, one fixed
 
On Mon, Oct 1, 2012 at 5:46 PM, Leon Fauster <leonfauster@googlemail.com>wrote:

> 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


All times are GMT. The time now is 10:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.