[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(KAME-snap 9022) Re: SHISA: semi-automatic configuration on MR



Thanks, it's ok. xl0 interface is autoconf, but :

1/ ifid value is not 1 even if I set these following lines in rc.conf.

# semi-automatic configuration of xl0 using router-advertissement
ipv6_network_interface="xl0"
ipv6_network_interface_non_eui64="xl0"
interface_ipv6_ifid_xl0="::1"

xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       options=9<RXCSUM,VLAN_MTU>
       inet6 fe80::204:76ff:fe19:583f%xl0 prefixlen 64 scopeid 0x2
       inet6 3ffe:400:aab::8 prefixlen 64 detached
       inet6 3ffe:400:40:0:204:76ff:fe19:583f prefixlen 64 autoconf
       ether 00:04:76:19:58:3f
       media: Ethernet autoselect (10baseT/UTP)
       status: active

2/ I would like to known how to not autoconf the other interface.
I add sysctl -a net.inet6.ip6.accept_rtadv=1 in rc.conf on MR who receives RA.
I add rtadv_enable="YES" and "rtadv_interfaces=fxp0" on router R1 who sends RA.
But xl1 on MR (not link to R1) is autoconfig too.


xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       options=9<RXCSUM,VLAN_MTU>
       inet6 3ffe:400:31::8 prefixlen 64
       inet6 fe80::204:76ff:fe19:598b%xl1 prefixlen 64 scopeid 0x3
       inet6 3ffe:400:aac::8 prefixlen 64
       inet6 3ffe:400:aac:0:204:76ff:fe19:598b prefixlen 64 autoconf
       inet6 3ffe:400:31:0:204:76ff:fe19:598b prefixlen 64 autoconf
       ether 00:04:76:19:59:8b
       media: Ethernet autoselect (100baseTX <full-duplex>)
       status: active

Regards.
Patricia.

Ryuji Wakikawa wrote:

Hi Patricia

See my inline comments.

On 2005/04/25, at 23:23, Patricia Marreau wrote:

Hi,

I want to run SHISA but my Mobile router doesn't ping6 my router access.

Home Agent-fxp0---------- Access Router- eth3----------------xl0 -Mobile router -xl1
3ffe:400:100::1 3ffe:400:400::3 semi-automatic configuration


The access router sends RA but xl0 interface of Mobile router doesn't set to 3ffe:400:400::8
during its semi-automatic configuration ( please see my configuration in rc.conf for semi-automatic configuration).
I configure Mobile router as host otherwise I don't see 3ffe:400:400::3 address after the netstat -rn command.


Here the rc.conf file:
----------------------------
ipv6_enable="YES"
ipv6_gateway_enable="NO"

ipv6_mobile_enable="YES"
ipv6_network_interfaces="xl0 xl1"

defaultrouter="192.200.254.254"
hostname="manaus"

ifconfig_fxp0="inet 192.200.254.130  netmask 255.255.255.0"
ipv6_ifconfig_xl0="3ffe:400:aab::8/48 home"
ifconfig_xl1="inet6 3ffe:400:aac::8/48"



ipv6_mobile_nodetype="mobile_node"
ipv6_mobile_home_interface="xl0"

This two entries can be disabled. There are for MIP6 use at this point. For NEMO, we haven't prepared a configuration through rc.conf.

inetd_enable="YES"
keymap="fr.iso.acc"
moused_enable="YES"
moused_flags=" "
nfs_client_enable="YES"
rpcbind_enable="YES"
#sshd_enable="YES"
usbd_enable="YES"

sysctl -a net.inet6.ip6.accept_rtadv=1



sysctl -a net.inet6.ip6.forwarding=0


you have to enable forwarding bit for MR.
sysctl -a net.inet6.ip6.forwarding=1

# semi-automatic configuration of xl0 using router-advertissement
ipv6_network_interface="xl0"
ipv6_network_interface_non_eui64="xl0"
interface_ipv6_ifid_xl0="::1"

PATH=/usr/local/v6/sbin:/usr/local/v6/bin/:${PATH}


Here the script for SHIVA running on Mobile router: ----------------------------------------------------------------------- setenv PATH /usr/local/v6/bin:/usr/local/v6/sbin:${PATH} /usr/local/v6/sbin/ifconfig xl0 inet6 3ffe:400:100::1 home


you have to use mip0 virtual interface for home interface.
/usr/local/v6/sbin/ifconfig mip0 inet6 3ffe:400:100::1 home

sysctl -w net.inet6.ip6.accept_rtadv=1
sysctl -w net.inet6.ip6.forwarding=0

set forwarding bit sysctl -w net.inet6.ip6.forwarding=1

Can you try your MR again?

regards
ryuji

/usr/local/v6/sbin/mrd -n -f /etc/prefixtable_MR.cf -i xl0
/usr/local/v6/sbin/nemonetd -f /etc/prefixtable_MR.cf -m
/usr/local/v6/sbin/mdd -n -i xl0 -p 1
rtsol xl0

Here the prefic table:
----------------------------
#NEMO Prefix Table Configuration for MR
#HomeAddress MobileNetworkPrefix PrefixLength RegistrationMode BindingID(optional)
3ffe:400:100::1 3ffe:400:aab:: 48 explicit
3ffe:400:100::1 3ffe:400:aab:: 48 implicit
3ffe:400:100::1 3ffe:400:aac:: 48 explicit
3ffe:400:100::1 3ffe:400:aac:: 48 implicit


Here netstat -rn on Mobile router:
----------------------------------------------
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0 =>
default fe80::2d0:c9ff:fe96:a7a2%xl0 UG xl0
::1 ::1 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
3ffe:400:100::/64 link#2 UC xl0
3ffe:400:100::1 00:04:76:19:58:3f UHL lo0
3ffe:400:400::/48 link#2 UC xl0
3ffe:400:400::3 00:d0:c9:96:a7:a2 UHLW xl0
3ffe:400:aab::/48 link#2 UC xl0
3ffe:400:aab::8 00:04:76:19:58:3f UHL lo0
3ffe:400:aac::/48 link#3 UC xl1
3ffe:400:aac::8 00:04:76:19:59:8b UHL lo0


But I can't ping6 access router (ping6 3ffe:400:400::3) and can't ping6 3ffe:400:400::8 from Mobile router
PING6(56=40+8+8 bytes) 3ffe:400:100::1 --> 3ffe:400:400::3
-- 3ffe:400:400::3 ping6 statistics ---
10 packets transmitted, 0 packets received, 100.0% packet loss


Thanks for your help.
Patricia.