Hi everyone, I have opensuse 10.3. I have a 1 network card in my machine with a static ipv4 address assigned to it. I would like to use ifup to control my network cards. I would like to be able to setup DHCP that deals out IPv6 ip addresses, but I am not sure how to go about doing this. Can someone help?
I don’t understand what you are really after. What would you do with those IPv6 addresses, assuming you could get them via DHCP, or actually DHCP6, which would be a different service since autoconfiguration works differently in IPv6.
Is it that you want to keep using static address but still get other information via DHCP, or what?
Sorry for not explaining better. I work in a place where we develop network hardware. Anyway I am the only person around here that has any network experience and I have little as you might have guessed.
We need to setup a small DHCP server to hand out both IPv4 and IPv6 address at the same time for testing purposes. It doesn’t matter if the IP address route to the internet or not, just as long as the get a number.
I have a SUSE box that has DHCP4 enabled and that is working fine. My network card has and IPv4 static IP address assigned to it.
I would also like to start DHCP6 on this same linux machine so that I can hand out both types of addresses at the same time. So when I have one developer testing out IPv4 he can automatically get an IP address and at the same time I might have another developer testing out IPv6 on another machine and he can get an IPv6 ip at the same time without me having to change server settings.
and other links pointed to builds for various platforms, I think I saw one for SUSE.
But this works over IPv6 of course, DHCP6 is an IPv6 protocol. If you want to get a IPv6 address over DHCP (IPv4), I’m not aware of an option to hold that info, maybe they have defined one, but I couldn’t find it in a cursory search. You couldn’t put it in the normal client IP address slot because that is only 4 bytes wide, so it would have to go into an option, if it exists.
karozans wrote:
> Sorry for not explaining better. I work in a place where we develop
> network hardware. Anyway I am the only person around here that has any
> network experience and I have little as you might have guessed.
>
> We need to setup a small DHCP server to hand out both IPv4 and IPv6
> address at the same time for testing purposes. It doesn’t matter if
> the IP address route to the internet or not, just as long as the get a
> number.
>
> I have a SUSE box that has DHCP4 enabled and that is working fine. My
> network card has and IPv4 static IP address assigned to it.
>
> I would also like to start DHCP6 on this same linux machine so that I
> can hand out both types of addresses at the same time. So when I have
> one developer testing out IPv4 he can automatically get an IP address
> and at the same time I might have another developer testing out IPv6 on
> another machine and he can get an IPv6 ip at the same time without me
> having to change server settings.
>
> Does this make sense?
>
10.3 doesn’t come with a dhcp server that can handle IPv6.
The ISC (isc.org) reference dhcp server, new version, does handle
IPv6, but it runs as a separate daemon (so two dhcpd’s one for
IPv4 and one for IPv6).
You say you’re a network admin, so I guess you already know
how to configure IPv6 for your network and have already seen
how neighbor discovery and automatic IPv6 addressing works
by default (most won’t need a dhcp server).
As for “why” you’d still want a dhcp server, it’s mainly for
control and passing out extra pieces of information that
a dhcp client (you’ll need an IPv6 aware dhcp client as
well… again, not in 10.3 AFAIK) could use.
Also, realize that there is NO standard for DHCP v6 yet.
What is out there is strictly draft. Microsoft’s
implementation in Vista/2008 is based on EARLY drafts…
(stupid M$). The ISC implementation is obviously closer
to how things will be once things become a standard.
Also, realize that a LOT of stuff does NOT work on
IPv6 today. It’s wise to run at least a dual stack
configuration so a platform can use IPv4 when it needs
to for various services.
Again, if you have TRULY established an IPv6 network,
your machines should be getting a properly configured
Global IPv6 address without dhcp… it sounds like you
aren’t seeing this, which makes me believe you really
don’t have an IPv6 network.