[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-net
Subject: Re: nd6_lookup: failed to add route for neighbor
From: itojun () iijlab ! net
Date: 2000-05-25 10:50:30
[Download RAW message or body]
>The diagram is correct.
>If I configure 3ffe:8038:80:3::3 to gif0, how is the mapping between that
>address and fxp1 done? (there are more than one network card)
you should have some address space assigned from the upstream,
separately from 3ffe:8038:80:3::3. if you do not have one, then
too bad, you cannot assign IPv6 address to fxp1 - you are assigned
single IPv6 address for your tunnel, not for your ethernet.
for example, suppose you have got 3ffe:8038:ffff::/48 address space
assigned from the upstream. you have 65536 subnet addresses,
starting from 3ffe:8038:ffff:0000::/64 to 3ffe:8038:ffff:ffff::/64,
for you to play with. you need to pick one for the ethernet segment
which is directly connected to fxp1, and configure that to fxp1.
let's pick 3ffe:8038:ffff:0000::/64 for the ethernet segment.
now, try
% ifconfig fxp1
and see what is your link-local address, and what is your interface
identifier.
>fxp1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> media: Ethernet manual
> inet xx.yy.zz.uu netmask 0xffffff00 broadcast xx.yy.zz.0
> inet6 fe80::a00:5aff:fe38:6f86%fxp1 prefixlen 64 scopeid 0x1
the IPv6 address staring from "fe80::" is the link-local address for
fxp1. the lowermost 64 bits (a00:5aff:fe38:6f86) are interface
identifier.
you append the interface identifier to the address for segment,
and make the address for fxp1. that is:
3ffe:8038:ffff:0000:a00:5aff:fe38:6f86
you need to configure it to fxp1.
# ifconfig fxp1 inet6 3ffe:8038:ffff:0000:a00:5aff:fe38:6f86 \
prefixlen 64 alias
(I'm not sure how to configure it in freebsd /etc/rc.conf framework)
>I tried it, but the following routing entry is not there anymore:
>3ffe:8038:80:3::3 0:d0:b7:20:8a:7b UHLW lo0
>which maps the ipv6 address to the mac address.
you don't need it.
itojun
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic