Professional Web Applications Themes

ipv6 router problems - Linux Setup, Configuration & Administration

I have a router/server running Mandrake 9.1 and am trying to configure it as an ipv6 router. I have another mandrake 9.1 machine and a windows XP machine connected which are both ipb6 enabled. I am using the following to try and get the ipv6 router running: # start ipv6 modprobe ipv6 # enable ipv6 forwarding echo 1 > /proc/sys/net/ipv6/conf/all/forwarding #configure tunnel #!/bin/sh if ! [ -f /proc/net/if_inet6 ] then echo "IPv6 is not installed!" 1>&2; exit 1; fi ifconfig sit0 up \ && ifconfig sit0 inet6 tunnel ::193.113.58.80 \ && ifconfig sit1 inet6 add 2001:618:400::c389:7859/128 \ && route -A ...

  1. #1

    Default ipv6 router problems

    I have a router/server running Mandrake 9.1 and am trying to configure it as
    an ipv6 router. I have another mandrake 9.1 machine and a windows XP
    machine connected which are both ipb6 enabled. I am using the following to
    try and get the ipv6 router running:

    # start ipv6
    modprobe ipv6

    # enable ipv6 forwarding
    echo 1 > /proc/sys/net/ipv6/conf/all/forwarding

    #configure tunnel
    #!/bin/sh
    if ! [ -f /proc/net/if_inet6 ]
    then echo "IPv6 is not installed!" 1>&2; exit 1; fi

    ifconfig sit0 up \
    && ifconfig sit0 inet6 tunnel ::193.113.58.80 \
    && ifconfig sit1 inet6 add 2001:618:400::c389:7859/128 \
    && route -A inet6 add ::/0 gw fe80::c171:3a50 dev sit1 \
    && route -A inet6 add 2000::/3 gw fe80::c171:3a50 dev sit1 \
    && ifconfig eth0 inet6 add 2001:618:48a::/48 \
    && echo 1 > /proc/sys/net/ipv6/conf/all/forwarding \
    && echo 'interface eth0
    {
    AdvSendAdvert on;
    MinRtrAdvInterval 3;
    MaxRtrAdvInterval 10;
    prefix 2001:618:48a::/48
    {
    AdvOnLink on;
    AdvAutonomous on;
    AdvRouterAddr on;
    };
    };' > /etc/radvd.conf \
    && echo "IPv6 configuration completed" || \
    { echo "IPv6 configuration failed!" 1>&2; exit 1;}

    # start router advertisement daemon
    /etc/init.d/radvd start

    The part for the tunnel was provided by btexact who I have my tunnel with.

    I can verify that router advertisements are being sent by running tcpdump
    and they are being seen on the other machines (again verified by using
    tcpdump).

    IPv6 can be used on the router as I can use ping6 or lynx to navigate an
    ipv6 website, but this cannot be done on the other machines. When running
    ipconfig/ifconfig on the other machines, I only have a link scope address,
    but no global address.

    I had this working a few months ago, but it isnt working now, I must have
    changed something on the router to make it stop. Does anybody know what I
    am doing wrong? Here is an "ifconfig -a" from my router.
    Thanks
    Allan

    eth0 Link encap:Ethernet HWaddr 00:08:C7:C0:FD:3A
    inet addr:192.168.0.201 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: 2001:618:48a::/48 Scope:Global
    inet6 addr: fe80::208:c7ff:fec0:fd3a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:31156 errors:0 dropped:0 overruns:0 frame:0
    TX packets:28261 errors:2 dropped:0 overruns:0 carrier:2
    collisions:0 txqueuelen:100
    RX bytes:22339751 (21.3 Mb) TX bytes:2881187 (2.7 Mb)
    Interrupt:11 Base address:0x1020

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:595 errors:0 dropped:0 overruns:0 frame:0
    TX packets:595 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:76467 (74.6 Kb) TX bytes:76467 (74.6 Kb)

    ppp0 Link encap:Point-to-Point Protocol
    inet addr:x.x.x.x P-t-P:217.41.128.200 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:22185 errors:0 dropped:0 overruns:0 frame:0
    TX packets:24781 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:2006022 (1.9 Mb) TX bytes:21966962 (20.9 Mb)

    sit0 Link encap:IPv6-in-IPv4
    inet6 addr: ::127.0.0.1/96 Scope:Unknown
    inet6 addr: ::192.168.0.201/96 Scope:Compat
    inet6 addr: ::195.137.120.89/96 Scope:Compat
    UP RUNNING NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    sit1 Link encap:IPv6-in-IPv4
    inet6 addr: 2001:618:400::c389:7859/128 Scope:Global
    inet6 addr: fe80::c0a8:c9/64 Scope:Link
    inet6 addr: fe80::c389:7859/64 Scope:Link
    UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)




    Allan Guest

  2. #2

    Default Re: ipv6 router problems

    Allan Bruce wrote:
     
    < snip >

    Try having radvd advertise a /64 instead of the /48. Just a thought.

    Steven

    Steven Guest

  3. #3

    Default Re: ipv6 router problems

     
    thought. 

    Yes thats it,
    Thanks
    Allan


    Allan Guest

Similar Threads

  1. Router problems
    By SSJKarma in forum Macromedia Shockwave
    Replies: 0
    Last Post: December 6th, 12:53 AM
  2. Problems with network connection over a router
    By Peter in forum Windows Networking
    Replies: 8
    Last Post: August 2nd, 05:01 AM
  3. Access Problems Using Router
    By Jerry in forum Windows Networking
    Replies: 2
    Last Post: July 30th, 09:26 PM
  4. iChat AV / Belkin router / NAT problems
    By Geoffrey F. Green in forum Mac Networking
    Replies: 2
    Last Post: July 21st, 11:51 PM
  5. Wireless Router TCP/IP problems
    By Sean in forum Windows Networking
    Replies: 0
    Last Post: July 15th, 05:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139