Page 1 of 1

IPv6 Question

Posted: Wed May 31, 2006 3:21 pm
by Chenjeshu
Can someone point me to where the answer can be found to this question?

How do you correctly reference ports with IPv6 address?

In IPv4, you would say the following to refer to port 80
192.168.1.100:80

In IPv6, what is the syntax?
192::100?80

Thanks

Chenjeshu =D


Ive scoured the internet for the answer and thought I would ask the smart peeps who play Descent.

Posted: Wed May 31, 2006 4:37 pm
by The Lion
Just did a quick search. Found that literal IPv6 addresses in URLs
are enclosed in brackets. There is a very clear description in RFC
2732
, section 2. I saw that RFC 2732 is obsoleted by RFC 3986,
which seems to be a little harder to read, but the bracket
convention remains (simply search it for \"IPv6\").

I don't know how IPv6 addresses with ports are/will be handled
outside of URLs. It will probably differ between programs just as
it does now with IPv4. Some (e.g. telnet) use a space as separator;
others let you enter the IP/host and port separately (different
textfield or commandline option). If a program still uses host:port
notation, you could try using brackets there as well, otherwise
I don't know. Look in the docs. Or, the program might not support
IPv6 at all...

Posted: Wed May 31, 2006 5:00 pm
by Chenjeshu
Thanks Lion

Chenjeshu