LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2008, 04:17 PM   #1
penguinHugger
LQ Newbie
 
Registered: Aug 2008
Distribution: Ubuntu, EeeOS
Posts: 26

Rep: Reputation: Disabled
Smile Please explain IPv6


I am an intermediate user, and I am trying to get everything set up so that I may connect to my home desktop remotely via SSH. Since I am given a DHCP address by my ISP, I was going to use IPv6 (along with the '-6' flag) to connect because it appears to be based on my MAC address.

My problem is that when I try to connect via SSH with a command like:

ssh -l user -6 IPv6_address

or:

ssh -6 user@IPv6_address
(where user is my username on the remote machine, and IPv6_address is the remote machines IPv6 address)
I get the following error message:

ssh: connect to host IPv6_address port 22: Invalid argument


Thus I have decided that I must not understand what parts of the address mean what. I cannot even begin to convey how much I would appreciate it.

Thanks.


P.S. I used ifconfig to find my IPv6 address.

Last edited by penguinHugger; 08-09-2008 at 04:20 PM. Reason: forgot to include some information
 
Old 08-09-2008, 04:51 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
1. The IPv6 based on your MAC address is link-local. You have zero chance to have it visible from anywhere not on the same Ethernet segment.
2. As far as I understand, you have no other IPv6 addresses by default. That means that your provider doesn't provide you global IPv6 connectivity. For what you want to do you need global IPv6 connectivity.
3. If you have 2 systems without external (globally routable) IPv4 addresses any solution requires an external party that will help you with data transfer. There are some so-called "tunnel brokers", who let you connect to them, give you an IPv6 address and allow you get and send the data over IPv6 in encapsulated form via the tunnel.
4. I can name at least go6.net (Hexago is the company providing this service) and http://broker.aarnet.net.au/ as two services I have used successfully.
5. Additionally, you would better know that sometimes IPv6 addresses have tp be enclosed in [ ] for distinguishing : in address from port separator.
6. Try using some free DNS service, like freedns.afraid.org, to write symbolical names in commands, not random hex data
 
Old 08-09-2008, 05:57 PM   #3
penguinHugger
LQ Newbie
 
Registered: Aug 2008
Distribution: Ubuntu, EeeOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks

Though disappointed, I am quite thankful for the help, so thanks.
 
Old 08-09-2008, 07:30 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Here's a very good IPv6 overview and deployment guide:

http://www.linuxquestions.org/linux/...Pv6_deployment
 
Old 08-09-2008, 07:32 PM   #5
mahtin
LQ Newbie
 
Registered: Aug 2008
Location: Silicon Valley, California
Distribution: CentOS & Unix v6 (yes - a PDP11 running v6)
Posts: 3

Rep: Reputation: 0
A quick five-minute solution that will get you up and running with a IPv6 address is to register with Hurricane Electric's IPv6 tunnelbroker service.

You will receive a /64 to run on your local network along with a /64 for the link back to Hurricane Electric. The setup for Linux is very simple:
Code:
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::www.xxx.yyy.zzz
ifconfig sit1 up
ifconfig sit1 inet6 add 2001:470:####:####::2/64
route -A inet6 add ::/0 dev sit1
Just use the IP's provided by the web site. Once that's done you are up and running.

Enjoy!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM
explain. bruse Linux - Newbie 6 09-08-2005 11:48 PM
can someone explain this? SteveGodfrey Linux - Wireless Networking 1 05-28-2004 08:47 AM
Can someone explain this to me? Z28kid Linux - Newbie 19 02-27-2003 06:51 AM
Can anyone explain... GoboFraggle Programming 1 02-06-2003 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration