LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   commands to request and release of an IPv6 address from a dhcp server (https://www.linuxquestions.org/questions/linux-newbie-8/commands-to-request-and-release-of-an-ipv6-address-from-a-dhcp-server-4175469096/)

tinaelizabeth84 07-10-2013 12:37 AM

commands to request and release of an IPv6 address from a dhcp server
 
Hi

Can anyone tell the linux commands to
request for an IPv6 address from a dhcpv6 server and release an IPv6 address.?

I think command to request for an IPv6 address from a dhcp server is dhcp6c eth1.
But couldnt find a command to release a DHCP IPv6 address like dhclient -r eth1 in IPv4

Thanks in advance.

Regards,
Tina

Madhu Desai 07-10-2013 01:32 AM

I think its

Release/Acquire

For v4:
Code:

dhclient -4 -r eth0 //or just dhclient -r eth0
dhclient -4 eth0 // or just dhclient eth0

For v6
Code:

dhclient -6 -r eth0
dhclient -6 eth0


tinaelizabeth84 07-10-2013 08:15 AM

Thanks..will try it out.


All times are GMT -5. The time now is 09:42 PM.