Title: [questions] Linux as Gateway is not Working.. (ipv6)

Help please...
We have IPv6 pc-gateway problem..
 
RH7.2 + Kernel 2.4.18
 
The Network configurations :
 
          eth0                    eth1   eth0                    eth0
Host1 ------------ GW1 ------------Host2
 
Host1  eth0 - 3ffe:2e01:1:3::1/64
 
GW1   eth1 - 3ffe:2e01:1:3::2/64
                  eth0 - 3ffe:2e01:1:4::1/64
 
Host2  eth0 - 3ffe:2e01:1:4::3/64
 
==== >> Problem : GW1 can not forward packets from Host2 to Host1 and Host1 to Host2
 
We tries the following....
 
kernel settings :
 
        . ip:advanced router    yes
        . Network packet filtering        no
        . IP:Tunneling            no
        . IPV6 Protocol                 yes
 
         - echo "1" > /proc/sys/net/ipv6/conf/all/forwarding
         - echo "1" > /proc/sys/net/ipv4/ip_forward
 
 
=========    GW1         ===========
 
-  /etc/sysconfig/network
 
NETWORKING=yes
...
GATEWAYDEV=eth1
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6_AUTOCONF=no
IPV6_ROUTER=yes
 
IPV6_AUTOTUNNEL=no
IPV6_TUNNELMODE=IP
 
- /etc/sysconfig/network-scripts/static-routes-ipv6
 
eth0  3ffe:2e01:1:4::0/64
eth1 2ffe:2e01:1:3::0/64
 
- /etc/sysconfig/network-scripts/ifcfg-eth0
 
IPV6INIT="yes"
IPV6ADDR=3ffe:2e01:1:4::1/64
IPV6_ROUTER=yes
....
 
- /etc/sysconfig/network-scripts/ifcfg-eth1
 
IPV6INIT="yes"
IPV6ADDR=3ffe:2e01:1:3::2/64
IPV6to4="no"
IPV6_ROUTER=yes
IPV6_AUTOCONF=no
....
 
================  Host2   ===================
 
- /etc/sysconfig/network
 
NETWORKING=yes
NETWORKING_IPV6=yes
IPV6_AUTOCONF=no
IPV6_AUTOTUNNEL=no
IPV6_TUNNELMODE=IP
 
- /etc/sysconfig/network-scripts/ifcfg-eth0
 
BOOTPROTO=none
IPV6INIT=yes
IPV6ADDR=3ffe:2e01:1:4::3/64
 
- /etc/sysconfig/network-scripts/static-routes-ipv6
 
eth0    ::0/0                                    3ffe:2e01:1:4::1
eth0  3ffe:2e01:1:4::0/64  
 
--------------------------------------------------------
In Host2  :    ping6 3ffe:2e01:1:3::1              -> not working
                                   ping6 3ffe:2e01:1:3::2                  -> not working
 
if we change the prefix (64->48) of host2, then
                                   ping6 3ffe:2e01:1:3::1                  -> not working
                                   ping6 3ffe:2e01:1:3::2                  -> working
 
Thanks...

Reply via email to