Netzwerkinterface mit IPv4 und IPv6 aktivieren

Post Reply
Message
Author
doop

Netzwerkinterface mit IPv4 und IPv6 aktivieren

#1 Post by doop »

Hi,

ich habe meine Netzwerkkarte bisher immer mit

ifconfig eth0 192.268.1.1 up

konfiguriert und wollte jetzt mittels

ifconfig eth0 inet6 0:1:2:3:4:5

auch noch IPv6 aktivieren. Das schlägt allerdings fehl (der Kernel unterstützt es).

Wie lautet der korrekte Befehl um das Interface für beide Standards zu konfigurieren?

petameta
prolinux-forum-admin
Posts: 1294
Joined: 14. Feb 2003 13:19

#2 Post by petameta »

Die Syntax ist bei ipv6 etwas anders. Probier mal "add" bzw. "remove" bei ifconfig.

klopskuchen
prolinux-forum-admin
Posts: 1444
Joined: 26. Jun 2004 21:18
Contact:

#3 Post by klopskuchen »

($addr = deine inet6-Adresse)

Code: Select all

ifconfig inet6 add  $addr dev eth0
MfG, Klopskuchen
When all else fails, read the instructions .

Post Reply