IPV6 Konfiguration

JBR

JBR

Fichtenschonung
Ich habe auf einem Rechner FreeBSD installiert und auf zwei anderen Linux(Debian etch r0 und Ubuntu 7.10) unter FreeBSD konnte ich die Adresse problemlos zuweisenm, was unter Linux nicht klappt:

FreeBSD
Code:
$ ssh root@192.168.0.25
Password:
Last login: Mon Mar 17 09:11:18 2008
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 6.2-RELEASE (GENERIC) #0: Fri Jan 12 10:40:27 UTC 2007

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.

You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.

kirchhof# ifconfig
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.25 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fec0::1 prefixlen 64
        inet6 fc00::1 prefixlen 64
        ether 00:40:f6:2c:e4:e1
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
kirchhof# ping6 fec0::1
PING6(56=40+8+8 bytes) fec0::1 --> fec0::1
16 bytes from fec0::1, icmp_seq=0 hlim=64 time=1.762 ms
16 bytes from fec0::1, icmp_seq=1 hlim=64 time=0.440 ms
16 bytes from fec0::1, icmp_seq=2 hlim=64 time=0.436 ms
^C
--- fec0::1 ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.436/0.879/1.762/0.624 ms

kirchhof# exit
logout
Connection to 192.168.0.25 closed.

Ubuntu
Code:
tux@erymathos:~/.ssh$ ssh jbr@192.168.0.24
The authenticity of host '192.168.0.24 (192.168.0.24)' can't be established.
RSA key fingerprint is fa:71:b5:84:59:42:03:17:0d:0e:bf:97:bf:78:df:6a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.24' (RSA) to the list of known hosts.
jbr@192.168.0.24's password:
Linux jbr-laptop 2.6.20-16-generic #2 SMP Tue Dec 18 05:45:12 UTC 2007 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Mon Mar 17 11:49:38 2008
jbr@jbr-laptop:~$ sudo ifconfig eth0 inet6 fec0::20
Password:
Kann die Adressen der Familie 10 nicht setzen.
jbr@jbr-laptop:~$ sudo ifconfig eth0 inet6 fec0::ee
Kann die Adressen der Familie 10 nicht setzen.
jbr@jbr-laptop:~$ lsmod|grep ipv6
ipv6                  269088  12
jbr@jbr-laptop:~$ cat /proc/net/if_inet6
fe80000000000000020ae4fffeb6499b 02 40 20 80     eth0
00000000000000000000000000000001 01 80 10 80       lo
fe8000000000000002c0a8fffeaf0710 04 40 20 80     ath0
jbr@jbr-laptop:~$ exit
logout
Connection to 192.168.0.24 closed.

Debian
Code:
tux@erymathos:~$ sudo ifconfig eth0 inet6 fec0::2
Password:
Kann die Adressen der Familie 10 nicht setzen.
tux@erymathos:~$ sudo ifconfig eth0 inet6 fec0:fec0::2
Kann die Adressen der Familie 10 nicht setzen.
tux@erymathos:~$ sudo ifconfig eth0 inet6 2001:608:0:777::123
Kann die Adressen der Familie 10 nicht setzen.
tux@erymathos:~$ sudo lsmod|grep ipv6
ipv6                  226016  19
tux@erymathos:~$ cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80       lo
 
-> IPv6-Support im Kernel?

Noch eine Anmerkung:

Aufgrund solcher grandios übersetzten Log-Meldungen

Kann die Adressen der Familie 10 nicht setzen.

laufen meine Systeme immer nur in Englisch.

Dann findet man bei google auch wenigstens was.
 
-> IPv6-Support im Kernel?
Da es die /proc/net/if_inet6 gibt laut 1 schon

Aufgrund solcher grandios übersetzten Log-Meldungen


Zitat:
Kann die Adressen der Familie 10 nicht setzen.
laufen meine Systeme immer nur in Englisch.
Code:
jbr@jbr-laptop:~$ LANG=en sudo ifconfig eth0 inet6 fec0::2
Don't know how to set addresses for family 10.







EDIT:
Es funktioniert :
Code:
jbr@jbr-laptop:~$ LANG=en sudo ifconfig eth0 inet6 add fec0::2
jbr@jbr-laptop:~$ ping6 fec0::1
PING fec0::1(fec0::1) 56 data bytes
64 bytes from fec0::1: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from fec0::1: icmp_seq=2 ttl=64 time=0.577 ms
64 bytes from fec0::1: icmp_seq=3 ttl=64 time=0.556 ms
64 bytes from fec0::1: icmp_seq=4 ttl=64 time=0.554 ms

1http://tldp.org/HOWTO/Linux+IPv6-HOWTO/systemcheck-kernel.html
 
Zuletzt bearbeitet:
Ja, und woran lag es nu?

Ein add fehlte:

ifconfig eth0 inet6 add fec0::2

Oh das ist der 300.





Nachtrag:

Es funktioniert leider nur unter Ubuntu, unter Debian kommt folgende Fehlermeldung

Code:
tux@erymathos:~$ sudo ifconfig eth0 inet6 add fec0::3
SIOCSIFADDR: Kein Hauptspeicher für den Puffer verfügbar
tux@erymathos:~$ LANG=en sudo ifconfig eth0 inet6 add fec0::3
SIOCSIFADDR: No buffer space available

In der /proc/net/if_inet6 fehlt allerdings eth0

Code:
tux@erymathos:~$ cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80       lo
 
Zuletzt bearbeitet:

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

ip6tables Problem

Debian 7.6 kein lokales Netz

Debian Routing Problem

IPv6 FreeBSD

Zurück
Oben