PDA

View Full Version : Not able to get dhcpv6 address on interface on SLES10-SP4



shruti_vip
23-Aug-2014, 10:21
Hi,

I am using SLES10-SP4. Currently this server is having 3 interfaces and 2 of them are expected to get DHCPV6 addresses from the network.
In my system I have installed dhclient4.2.4.P2-0.16.15.x86_64.rpm. But by doing rcnetwork restart, I could see in the log that dhclient is not running in ipv6 mode.
As per ifcfg.template for SLES10-SP4 there are following options to give for BOOTPROTO variable.

static
dhcp
autoip
dhcp+autoip
6to4

I am using BOOTPROTO='dhcp' in the ifcfg-eth* files.
But when I am starting up network service only dhcpclient for ipv4 address is getting started.

But manually if I am starting network by using dhclient -6 <interface_name> I am able to get dhcpv6 address.
So somehow system is not starting dhclient in ipv6 mode.

Please let me know what is the way to start network so that dhcpv6 client will be started automatically.

Thanks,
Shruti

ab
23-Aug-2014, 12:22
I've setup DHCP before, but always on SLES 11 and that seemed to work
well. Most of the time I was just tinkering with whatever IPs were
auto-setup, which may have been link-local, and also with statically-set
IPs, since my home ISP doesn't support IPv6 yet (though in theory it's
coming). If there is a way to test with SLES 11, at least to see if the
same steps work there, that'd be interesting to see.

Do any other systems, running other distributions even, work? I presume
dhcpv6 has a similar model to v4 in that there is a DHCP service somewhere
on the network handing out IPs, but I've never seen one of these setup in
the real world and had read some things that made me think that management
of IPs in IPv6 was a bit more automatic, so perhaps you can shed some
details there.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...

smflood
24-Aug-2014, 00:03
shruti vip Wrote in message:

> I am using SLES10-SP4. Currently this server is having 3 interfaces and
> 2 of them are expected to get DHCPV6 addresses from the network.
> In my system I have installed dhclient4.2.4.P2-0.16.15.x86_64.rpm. But
> by doing rcnetwork restart, I could see in the log that dhclient is not
> running in ipv6 mode.
> As per ifcfg.template for SLES10-SP4 there are following options to give
> for BOOTPROTO variable.
>
> static
> dhcp
> autoip
> dhcp+autoip
> 6to4
>
> I am using BOOTPROTO='dhcp' in the ifcfg-eth* files.
> But when I am starting up network service only dhcpclient for ipv4
> address is getting started.
>
> But manually if I am starting network by using dhclient -6
> <interface_name> I am able to get dhcpv6 address.
> So somehow system is not starting dhclient in ipv6 mode.
>
> Please let me know what is the way to start network so that dhcpv6
> client will be started automatically.

Try adding IPV6INIT="yes" to the relevant ifcfg-eth* files.

HTH.
--
Simon Flood
SUSE Knowledge Partner

shruti_vip
25-Aug-2014, 05:03
Thanks for all your comments.
The thing is , I have tried putting IPV6INIT=yes , IPV6_AUTOCONF=yes and DHCP6C=yes in the respective ifcfg-eth* scripts. But still dhcp6c client is not getting started once I start rcnetwork. I have to start it separately.
For SLES11, there BOOTPROTO=dhcp means it will start both the clients once we start the network. There I did not face any issue.
But here it is only identifying the flag related to dhcp ipv4 only.

Please advise.