Enable ipv6 link-local address
by circus78 from LinuxQuestions.org on (#4QW8G)
Hi,
which is the ifconfig (or ip) option that enable eui64 ipv4 address on an interface?
I mean: I am able to manually assign a link-local address to eth0:
Code:# ip -6 addr add fe80::1/64 dev eth0
# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1 prefixlen 64 scopeid 0x20<link>
ether 24:0a:64:d1:f6:13 txqueuelen 1000 (Ethernet)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1609 bytes 500003 (500.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
..anyway, if I want to do simply provide a link-local address to an interface (based on his mac address), how can I do this?
Thank you!
which is the ifconfig (or ip) option that enable eui64 ipv4 address on an interface?
I mean: I am able to manually assign a link-local address to eth0:
Code:# ip -6 addr add fe80::1/64 dev eth0
# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1 prefixlen 64 scopeid 0x20<link>
ether 24:0a:64:d1:f6:13 txqueuelen 1000 (Ethernet)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1609 bytes 500003 (500.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
..anyway, if I want to do simply provide a link-local address to an interface (based on his mac address), how can I do this?
Thank you!