# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
# echo 0 > /proc/sys/net/ipv6/conf/all/autoconf
# echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra
# echo 0 > /proc/sys/net/ipv6/conf/all/accept_redirects

then

# mip6d

then

# sh mipv6-mn.sh start

then

# telnet localhost 7777
mip6d> bc
     <無反應>


[root@localhost etc]# route del default
[root@localhost etc]# route add default gw 203.64.135.135
[root@localhost etc]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
203.64.135.0    *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0
default         203.64.135.135  0.0.0.0         UG    0      0        0 eth0
[root@localhost etc]# mip6d
[root@localhost etc]# mip6d stop

[root@localhost umip]# cd mipv6-daemon-umip-0.4
[root@localhost mipv6-daemon-umip-0.4]# ls
aclocal.m4         config.h.in    extras          Makefile.am   README.IPsec
AUTHORS            config.log     include         Makefile.in   src
autom4te.cache     config.status  INSTALL         man           stamp-h1
BUGS               config.sub     INSTALL.kernel  mipv6-mn.sh   THANKS
ChangeLog          configure      install-sh      mipv6-mn.sh~  ylwrap
chkconf_kernel.sh  configure.ac   libmissing      missing
config.guess       COPYING        libnetlink      NEWS
config.h           depcomp        Makefile        README
[root@localhost mipv6-daemon-umip-0.4]# mip6d
[root@localhost mipv6-daemon-umip-0.4]# sh mipv6-mn.sh start
Starting MIPv6 MN.
[root@localhost mipv6-daemon-umip-0.4]# telnet localhost
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@localhost mipv6-daemon-umip-0.4]# telnet localhost 7777
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@localhost mipv6-daemon-umip-0.4]#
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Joy 的頭像
    Joy

    正Man's World

    Joy 發表在 痞客邦 留言(0) 人氣()