yay! my vps is activated! heh just now? :) Less than 24 hours The support team is very friendly tho :) yes it does tend to be later in the day :) lol Need to login as root and do the update first. Ummm i stuck with reverse dns. Think i got it fixed. Anyone alive? I am stuck with adding rDNS for ipv6 anisfarhana, have you added your AAAA records to your registrar? Yup ~# host ipv6.xxx.my ipv6.xxx.my has IPv6 address 2607:f2f8:a2b8::2 whitefang: Try to host ipv6 address, the replied look weird..or that is normal? nameserver 2607:f2f8:0:101::a nameserver 2607:f2f8:0:101::b you'll want those in your resolv.conf Where did get those whitefang? that's rs1 and rs2 .arpnetworks.com their ipv6 dns servers i guess you could use your own I am using my own dns management. maybe google has public ipv6 dns servers? Provided by our hosting provider. They have AAAA on it. what happens when you "ping6 google.com" bsd@mothership:~$ ping6 google.com PING google.com(nuq04s06-in-x0e.1e100.net) 56 data bytes 64 bytes from nuq04s06-in-x0e.1e100.net: icmp_seq=1 ttl=58 time=10.5 ms 64 bytes from nuq04s06-in-x0e.1e100.net: icmp_seq=2 ttl=58 time=9.57 ms weird ionise{84}% ping6 google.com [~] PING6(56=40+8+8 bytes) 2607:f2f8:a4e0::2 --> 2001:4860:4001:800::100e 16 bytes from 2001:4860:4001:800::100e, icmp_seq=0 hlim=58 time=9.315 ms This is debian though ah Ingore the user on it :P *Ignore This is my first time dealing with ipv6 , fun! yeah I've only set it up once and that was on my vps whitefang: RandalSchwartz once told me about setup 128 bit on it , which is abcdef123456 and so on. instead of ::2 , i guess we can make like ::cafe:2 ? anisfarhana, what happens when you nslookup your ipv6? whitefang: sorry but nslookup is the same function with 'host' in linux? i'm pretty sure they do the same thing but might give slightly different output debian should have nslookup as well as host they're both pretty standard unix tools root@mothership:~# host 2607:f2f8:a2b8::2 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.2.a.8.f.2.f.7.0.6.2.ip6.arpa domain name pointer ipv6.hacker.my. Ha ha ha Why so many 0 0 0 0 just is :P Ok i guess the rDNS works! looks ok for me. 2607:f2f8:a2b8::2 is actually 2607:f2f8:a2b8:0000:0000:0000:0000:0002. there are the zeros i'm sure there's a reason, I think I even knew the reason at one point but I've forgotten yes! ant: Just weird for me , but if that is 'normal', then it is ok. So is it possible for me to use 2607:f2f8:a2b8::3 as well? and point it to other domain? anisfarhana, if ipv6.hacker.my is indeed your hostname, then it looks like reverse is functioning whitefang: Yeah whitefang: Asked my friend to add AAAA record for said domain, all his answer is 'done'. nice as far as using ::3 i think so but I'm not sure how ^_^ Yes i am not sure too how. anisfarhana: you can do that. you just have to add it to the interface on your vps i think we actually get a butload of ipv6 addresses ant: really!?? ant: Possible instead of ::3 , we put some fancy host on it? based on 128 bit? Seriously, v6 is amazing! anisfarhana: well, you just have 64 bit. but with them you can do what you want. i.e you can replace all the trailing zeros in 2607:f2f8:a2b8:0000:0000:0000:0000:0000 with whatever you want correct me if I'm wrong but I think you have all of 2607:f2f8:a2b8:: to p[lay with whitefang: you're right This is crazy! wiat, we have 2607:f2f8:a2b8:::: to play with? ant: Any document i can read about it? Or maybe you can teach me how to do so here? :D anisfarhana: well, it's easy. you can add the address to an interface with "ip addr add 2607:f2f8:a2b8::3/64 dev eth0 preferred_lft 0" ant: Right now i try to do rDNS for ::3 anisfarhana, 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.2.a.8.f.2.f.7.0.6.2.ip6.arpa <--- if you look those numbers are reversed root@mothership:~# host 2607:f2f8:a2b8::3 3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.2.a.8.f.2.f.7.0.6.2.ip6.arpa domain name pointer test.hacker.my. CRAZYYY! Hahahaha BUNCH of it!!! Stupid question , ::3 till how many i can go up? anisfarhana: this will add the address as an secondary to eth0 (assuming that's your world-facing interface). the "preferred_lft 0" part is a bit advanced. it willhave the effect that the address is not used as the source-address for outgoing connections ::3 is like ::0003 anisfarhana: with one digit to f oh ant: I still don't get it.. 1-9,a-f "you can add the address to an interface with "ip addr add 2607:f2f8:a2b8::3/64 dev eth0 preferred_lft 0" This one i don't get it. anisfarhana: an network interface can have multiple addresses. currently it only has one (::2). this command adds a second address inet6 addr: 2607:f2f8:a2b8::2/64 Scope:Global , from ifconfig eth0 anisfarhana, she could use 2607:f2f8:a2b8:dead:beef though right? err that was for ant whitefang: Good question, thanks for asking that. whitefang: if you add a "::" somewhere, yes :: is required? i should probably go to bed, I'm getting stupider every second whitefang: in order to use ::3 , i need to add it to eth0? anisfarhana, yes. your current ipv6 address is already assigned to your interface whitefang: no, but 2607:f2f8:a2b8:dead:beef has not 128 bits, so you have to add more bits (more digits or just a ::) anisfarhana, you can see that by running "ifconfig eth0" whitefang: So i can access to my box via ssh by using ::3 ? whitefang: I got that, because it stated at eth0 2/64 so once ::3 is added you should be able to ssh to that as well Added and assigned is different term here? nope Currenly it is assigned, but in order to use ::3 , i need to add it? assigned/added to the interface My english sucks :/ i ipv6 knowledge sucks :P Not for me. err my I don't get ping respond for ::3 anisfarhana: did you run ip addr add .... successfully? I think this is good doc --> http://support.arpnetworks.com/kb/main/how-to-configure-ipv6-on-freebsd ant: Sorry but i don't get it, what do you mean by run ip addr add? well, parts of this will not work on debian anisfarhana: execute it as root on your vps ah ip addr add 2607:f2f8:a2b8::3/64 dev eth0 preferred_lft 0 Right? yeah root@mothership:~# ip addr add 2607:f2f8:a2b8::3/64 dev eth0 preferred_lft 0 root@mothership:~# You are crazy geek ant haha I can see ::3 under ifconfig eth0 It is pingable now! ant / whitefang : You have my thanks! anisfarhana: please note that this is not permanent. i.e. te address will be gone when you reboot the vps anisfarhana, yw :) thank you too ant, i know roughly twice as much about ipv6 as I did before :P ant: So in order to make it permanent, i need to edit somewhere at network script? you're both welcome. actually i did learn this from someone else to. so give an receive ;) Don't tell me he is RandalSchwartz Ha ha ha and now I need to sleep gnight anisfarhana: /etc/network/interfaces. there is a part "iface eth0..." you have to add a line "up ip addr add 2607:f2f8:a2b8::3/64 dev eth0 preferred_lft 0 || true" to this part and by sleep I mean watch pro dota2 until I pass out :P whitefang: Have a good rest sir. ant: Ok i will work out on that now. anisfarhana: oh. i jus realised that there are two parts. but you might figure out that the "iface eth0 inet6" part is the right one ;) I can paste more than 3 lines here? anisfarhana: please use pastie.org for pastes or something similar ant: http://pastebin.ws/f31rze anisfarhana: afaik you cannot have two address lines anisfarhana: just add ""up ip addr add 2607:f2f8:a2b8::3/64 dev eth0 preferred_lft 0 || true" after the netmask line instead anisfarhana: without the " ofcourse ;) http://pastebin.ws/7ml25e anisfarhana: this should work ant: In order to test it work or not, better to give it a reboot then? anisfarhana: i would recommend so. better test it now and find any errors then having a unplanned reboot and trapping over errors then ;) Indeed :) Rebooting. ant: ifconfig eth0 and i can see ::3 is there! anisfarhana: fine ant: How about other than ::3 , let say like whitefang said, dead:beef anisfarhana: just replace any trailing zero in 2607:f2f8:a2b8:0000:0000:0000:0000:0000 with any digit you like. you can then substitute remaining :0000: blocks with :: But limited to 64 bit only right? 1-6 and a-f ? the 64 bits refer to the right half of the address. i.e. the zeros. and 1-9, a-f are valid digits to insert (i.e. hexadecimal digits) ant: Can you recommend me any good reference on google for that? anisfarhana: well, the wikipedia article should explain that pretty good Omit one or more consecutive sections of zeroes, using a double colon (::) to denote the omitted sections. The double colon may only be used once in any given address, as the address would be indeterminate if the double colon was used multiple times. (For example, 2001:db8::1:2 is valid, but 2001:db8::1::2 is not permitted.) That is from wiki. yeah, that is also quite important ;) I am googling about hexadecimal digits , other dead / beef c0ffee ;) (insert colon anywhere) c0ffee , common name He he he I always read about dead , beef , and c0ffee i will be offline now for a while. driving to the university to have faster internet cu ant: thanks a lot sir! ree You are back? yes Haha wb. thx Because i am confused with something :D ip addr add 2607:f2f8:a2b8::dead:beef/64 is valid? If i want to add it to interface. looks good I am so noob haha. Error: an inet prefix is expected rather than oh crap ignore it. ant: So i just add the up line to network interface as well? anisfarhana: yeah urghhh , why i cannot use v6 in freenode, it appears to be in v4 anisfarhana: freenode supports v6. however some clients do not use v6 by default. i had to explicitly set an option in my client's config to make it prefer v6 xchat doing fine at v6 Just stuck with freenode are you connecting to chat.freenode.net? http://freenode.net/irc_servers.shtml Try with chat.au.freenode.net *Tried But it routed me to cameron.freenode.net But cameron.freenode.net v6 supports. seems so, yes Whois shows i am on v4 does your client log something when you connect? there should be hints what failed ant: maybe freenode don't like bnc as well. anisfarhana: well, i can't say anything about it. i use neither xchat nor bnc It's ok, it works at other ircd. mh..these other ircd. have they both a v4 and v6 address or just one? like ipv6.network.example for ipv6? ant: They can be connected via ipv6.network.example anisfarhana: i guess bnc prefers ipv4. so when a site has both an ipv4 and an ipv6 address, the ipv4 address is used. if it just has a ipv6 address, it is used ant: I have to connect to the bnc via v4 first, then /conn to v6.example.com anisfarhana: I use irssi, I told it to use irc.freenode.net, port 6697, setting resolve_prefer_ipv6 = yes seems to work yeah, i did that too. maybe bnc has a similar option ant: I am wondering whether i can use /server v6.example.com on my laptop. anisfarhana: if your laptop has an ipv6 address, sure I just executed ifconfig on windows command prompt Ha ha ha ant: I am very sure my laptop connected to the wifi via v4 only. well, even if you use v6 internally, your ISP would still need to support it or you'd need a tunnel (sorry if I'm stating the obvious) There is no way our ISP supporting ipv6 yet now. If i have openssl installed , then ./configure --with-ssl said "NO SSL FOUND", what is wrong with it? Nvm found it :) ant: If i can ping the local ip address ipv6 for my router , so i can ping ipv6.google.com as well right? anisfarhana: i wouldn't say that in general. if your router is configured correctly and has a route to ipv6.google.com, yes. but your router might be configured incorrectly or you might be in a network with not external (ipv6) connection ant: I just find it out, i can ping v6 ip on my router, and also ping v6 for my laptop, i got reply. ant: I just cannot ping to ipv6.google.com , ISP issues i guess. anisfarhana: i don't quite get it. what can you ping from where? ant: I got reply by pinging the ipv6 for my router. anisfarhana: from where? ant: my laptop. the local ip address. LAN IPv6 Address: fe80::1 C:\Users\anis>ping -6 fe80::1 Pinging fe80::1 with 32 bytes of data: Reply from fe80::1: time=14ms and here for google ant. C:\Users\anis>ping -6 ipv6.google.com Pinging ipv6.l.google.com [2404:6800:4001:c01::93] with 32 bytes of data: Request timed out. you don't have external v6 connectivity fe80::/64 are link-local addresses. they can only be used in the local network. so, to reach google, you need a global address ^ external / global address = from ISP , am i right here? yeah Or i can use tunnel for that. sure HE tunnelbroker works great that's currently a common option, since most isps don't offer ipv6 yet :( hrm browsing the FreeBSD handbook, but what is the best way to add multiple v6 addresses so they come up at boot? tunnelbroker.net yes. I have read about it. But there is no way right, getting ipv4 from ipv6? anisfarhana: what do you mean with "getting ipv4 from ipv6"? ant: Currently my box from arpnetwork got 1 usable ipv4. Is it possible if somebody can get that *ipv4* if i am using ipv6? why do you need more v4 addresses? also no. Oh great. I am starting to asking stupud questions. Better for me to off for a while and get food. interesting, the arp freebsd image uses some deprecated options for v6 I think inet6 aliases are done the same as inet aliases in rc.conf ifconfig_int0_alias0="inet6 ..." twobitha1ker: aye just read rc.conf I don't think there's an equiv to ipv4_addrs though, which is too bad i am now enlightened twobitha1ker: hmm? i see similar options for v4 too for v4, you can say ipv4_addrs_int0="10.0.0.1-200/32" and get a the whole range of addresses assigned ah i see alias is deprecated for v4 v4 should be deprecated :) amen to that ifconfig_em0_ipv6="inet6 2607:f2f8:a764::2 prefixlen 64" hmm that looks right if im reading this right i still have to set the default router ipv6_defaultrouter="2607:f2f8:a764::1" alright that should do it