Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to configure on a network interface (eth1) with static IPv6 and get an IPv4 address from DHCP on a CentOS 6 machine?

Using the configuration below I only get a dynamic IPv4 address:

DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
IPV6INIT=yes
IPV6ADDR=2140::1/64

But there is no global IPv6 address assigned.

share|improve this question
    
Does your system actually support IPv6? –  Michael Hampton Dec 25 '13 at 17:07
    
Yes it supports IPv6 I've been able to set static IPv6 Only. –  Chedy2149 Dec 26 '13 at 9:11
    
I guess static address is ignored since BOOTPROTO=DHCP. Why do not you make reservation for IPv6 on the same DHCP server? –  Veniamin Dec 27 '13 at 15:44
    
The same DHCP server does not provide ipv6 addresses only IPv4 addresses. –  Chedy2149 Dec 28 '13 at 5:17
1  
Then try to make alias eth:0 and custom IP setup for It. –  Veniamin Dec 28 '13 at 7:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.