Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Suse

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-10-2008, 03:02 PM
thagor2008@googlemail.com
 
Posts: n/a
Telnet connect fail with IP6

HI

Anyone know why I get this with IP6? I'm running Suse 10.3.

$ telnet fe80::21a:a0ff:fe64:3ebd 4000
Trying fe80::21a:a0ff:fe64:3ebd...
telnet: connect to address fe80::21a:a0ff:fe64:3ebd: Invalid argument

Yet if I use ::1 it works fine.

$ telnet ::1
4000
Trying ::1...
Connected to ::1.
Escape character is '^]'.

Anyone have any ideas? The ip6 address above is from ifconfig output
and is definately correct.

B2003
Reply With Quote
  #2 (permalink)  
Old 07-10-2008, 03:14 PM
Pascal Hambourg
 
Posts: n/a
Re: Telnet connect fail with IP6

Hello,

thagor2008@googlemail.com a écrit :
>
> Anyone know why I get this with IP6? I'm running Suse 10.3.
>
> $ telnet fe80::21a:a0ff:fe64:3ebd 4000
> Trying fe80::21a:a0ff:fe64:3ebd...
> telnet: connect to address fe80::21a:a0ff:fe64:3ebd: Invalid argument
>
> Yet if I use ::1 it works fine.


A link local address (fe80::something) is not unique and may be
reachable on any directly connected link, so you need to indicate the
interface through which you want to reach that address. For instance if
it's eth0 :

$ telnet fe80::21a:a0ff:fe64:3ebd%eth0 4000
Reply With Quote
  #3 (permalink)  
Old 07-10-2008, 03:32 PM
Pascal Hambourg
 
Posts: n/a
Re: Telnet connect fail with IP6

Pascal Hambourg a écrit :
>
> A link local address (fe80::something) is not unique and may be
> reachable on any directly connected link, so you need to indicate the
> interface through which you want to reach that address. For instance if
> it's eth0 :
>
> $ telnet fe80::21a:a0ff:fe64:3ebd%eth0 4000


Note that if the address belongs to an interface of the host running the
telnet client and thus is a local address, then the interface through
which you reach that address is the loopback interface lo, *not* the
interface on which the address is configured.
Reply With Quote
  #4 (permalink)  
Old 07-10-2008, 04:03 PM
thagor2008@googlemail.com
 
Posts: n/a
Re: Telnet connect fail with IP6

On Jul 10, 4:32 pm, Pascal Hambourg <boite-a-s...@plouf.fr.eu.org>
wrote:
> Pascal Hambourg a écrit :
>
>
>
> > A link local address (fe80::something) is not unique and may be
> > reachable on any directly connected link, so you need to indicate the
> > interface through which you want to reach that address. For instance if
> > it's eth0 :

>
> > $ telnet fe80::21a:a0ff:fe64:3ebd%eth0 4000

>
> Note that if the address belongs to an interface of the host running the
> telnet client and thus is a local address, then the interface through
> which you reach that address is the loopback interface lo, *not* the
> interface on which the address is configured.


I'm beginning to see why people don't want to bother with IP6. There
seems to be a lot of needless complexity in many aspects of it.

Thanks for your help though , works fine now.

B2003
Reply With Quote
  #5 (permalink)  
Old 07-10-2008, 04:47 PM
Chris Cox
 
Posts: n/a
Re: Telnet connect fail with IP6

thagor2008@googlemail.com wrote:
> HI
>
> Anyone know why I get this with IP6? I'm running Suse 10.3.
>
> $ telnet fe80::21a:a0ff:fe64:3ebd 4000
> Trying fe80::21a:a0ff:fe64:3ebd...
> telnet: connect to address fe80::21a:a0ff:fe64:3ebd: Invalid argument


Not sure.. but are you allowed to connect to the link local
address?? Do you have a Global address you can use instead?

Not saying that is the issue....

>
> Yet if I use ::1 it works fine.
>
> $ telnet ::1
> 4000
> Trying ::1...
> Connected to ::1.
> Escape character is '^]'.
>
> Anyone have any ideas? The ip6 address above is from ifconfig output
> and is definately correct.


But it is the link local addy.
Reply With Quote
  #6 (permalink)  
Old 07-10-2008, 04:52 PM
Chris Cox
 
Posts: n/a
Re: Telnet connect fail with IP6

thagor2008@googlemail.com wrote:
.....
>
> I'm beginning to see why people don't want to bother with IP6. There
> seems to be a lot of needless complexity in many aspects of it.


IPv6 started out ok, then many people with NO EXPERIENCE and lots
of AGENDAS took it over. It doesn't deserve to live, but we
don't have much choice at this point. Better get used to it.

In general, it's not hideous, but like it's predecessor, it has
some major short comings and shows the "design by committee"
issues.

VERY SLOW adoption. Lots (and I mean LOTS) of protocols are
NOT adapted for IPv6 and will take some work. Slow deployment
of the Internet and lack of knowledge by the Telco's and ISP's
aren't helping. Also, EVERYONE is looking to capitalize
on the technology. Expect LOTS of rip offs as this pig goes
out.

And the world will pay... because they don't know any better.
Reply With Quote
  #7 (permalink)  
Old 07-11-2008, 07:49 AM
Pascal Hambourg
 
Posts: n/a
Re: Telnet connect fail with IP6

thagor2008@googlemail.com a écrit :
>>
>>>$ telnet fe80::21a:a0ff:fe64:3ebd%eth0 4000

>
> I'm beginning to see why people don't want to bother with IP6. There
> seems to be a lot of needless complexity in many aspects of it.


Maybe I should have mentionned that the average user should not need to
bother with or even know about IPv6 link local addresses, so this is
mostly hidden complexity. They are not supposed to be used by "common"
applications (i.e. not IPv6-specific networking tools).

If you want to communicate in IPv6 with the local host, use the loopback
address ::1. If you want to communicate in IPv6 with remote hosts, setup
and use global addresses (~public) or unique local addresses (~private)
as you would do in IPv4.
Reply With Quote
  #8 (permalink)  
Old 07-11-2008, 10:27 AM
thagor2008@googlemail.com
 
Posts: n/a
Re: Telnet connect fail with IP6

On Jul 11, 8:49 am, Pascal Hambourg <boite-a-s...@plouf.fr.eu.org>
wrote:
> If you want to communicate in IPv6 with the local host, use the loopback
> address ::1. If you want to communicate in IPv6 with remote hosts, setup
> and use global addresses (~public) or unique local addresses (~private)
> as you would do in IPv4.


Yes , but the point is I shouldn't have to tell a client which
physical interface to use to connect even to an internal address. That
should be taken care of in the kernel routing system as with IP4. If
someone is setting up an test system internally on a machine using
various addresses this will be a total PITA.

B2003

Reply With Quote
  #9 (permalink)  
Old 07-11-2008, 11:11 AM
Pascal Hambourg
 
Posts: n/a
Re: Telnet connect fail with IP6

thagor2008@googlemail.com a écrit :
>
> Yes , but the point is I shouldn't have to tell a client which
> physical interface to use to connect even to an internal address. That
> should be taken care of in the kernel routing system as with IP4.


I suspect that this is not specific to IPv6 but to its implementation in
Linux, which checks the destination address scope before checking
whether it is internal or not.

On the other hand, ping6 to an internal link-local address on Windows
2000 with IPv6 extension pack does not require you specify the output
interface.

> If
> someone is setting up an test system internally on a machine using
> various addresses this will be a total PITA.


As I said, set up global or unique local addresses on your hosts for any
purpose. Using link-local addresses is a bit like using MAC addresses.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:04 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109