Ask Your Question

How do I configure IPv4 mapped IPv6 address ? [closed]

asked 2011-09-28 05:41:54 -0500

shanks gravatar image

I am trying to configure a mixed environment using both IPv4 and IPv6 ... looking at the rfc IPv4-mapped addresses are written as follows:


Is there a reliable howto/doc that I can refer to accomplish this ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by zoltanh721
close date 2014-06-27 17:39:54.428644

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-28 05:54:08 -0500

shanks gravatar image

Ok, self answering with my findings... there is no special configuration required and ipv4 mapped ipv6 address is automatically generated with the getaddrinfo() function.

As a example, try ssh'ing to your ipv4 mapped localhost as:

# ssh  ::ffff: -v -l root
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to ::ffff: [::ffff:] port 22.
debug1: Connection established.
edit flag offensive delete link more


Any ideas on what this might mean ?

ssh ::ffff: -v -l root OpenSSH_6.6.1, OpenSSL 1.0.1j-fips 15 Oct 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 51: Applying options for * debug1: Connecting to ::ffff: [::ffff:] port 22. debug1: connect to address ::ffff: port 22: Connection refused ssh: connect to host ::ffff: port 22: Connection refused

oddestNeeds gravatar imageoddestNeeds ( 2014-12-14 13:31:07 -0500 )edit

Question Tools


Asked: 2011-09-28 05:41:54 -0500

Seen: 1,397 times

Last updated: Sep 28 '11