Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
radvd problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MadDog
n00b
n00b


Joined: 05 Dec 2002
Posts: 10
Location: Maribor, Slovenia

PostPosted: Sun Mar 09, 2003 4:41 pm    Post subject: radvd problems Reply with quote

Im having problems with radvd, I simply cant use Ipv6 on my Windows2000 box inside the LAN thru the gentoo router. I compiled these Networking options into my kernel (2.4.20 vanilla source):

Quote:
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK_DEV=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set


# IP: Netfilter Configuration
All "yes"

# IPv6: Netfilter Configuration
All "yes"



I emerged radvd 0.7.2 and configured it like this :

Quote:
interface eth1
{
AdvSendAdvert on;
prefix 2001:08e0:abcd:17e::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};


I got 2 eth cards, eth0 is for internet (cable modem attached) , eth1 is internal LAN. Ipv6 configuration is set by following :

Quote:
LOCAL4=194.249.35.3
REMOTE4=212.25.25.23
LOCAL6=2001:08e0:abcd::5fa/126
REMOTE6=2001:08e0:abcd::5f9

ip tunnel add tunnelbroker mode sit local ${LOCAL4} remote ${REMOTE4}
ip link set dev tunnelbroker up

ip link set mtu 1280 dev tunnelbroker
ip tunnel change tunnelbroker ttl 64

ip -6 addr add ${LOCAL6} dev tunnelbroker
ip -6 route add 2000::/3 via ${REMOTE6} dev tunnelbroker

ifconfig eth0 inet6 add 2001:08e0:abcd:17e::1/128


Ipv6 forwarding is enabled in /etc/sysctl.conf :

net.ipv6.conf.all.forwarding = 1

Now, when I start radvd, it runs normally, radvdump gives me this info :

Quote:
Router advertisement from fe80::e0:4cff:fedd:3358 (hoplimit 255)
Received by interface eth1
# Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
AdvCurHopLimit: 64
AdvManagedFlag: off
AdvOtherConfigFlag: off
AdvHomeAgentFlag: off
AdvReachableTime: 0
AdvRetransTimer: 0
Prefix 2001:8e0:abcd:17e::/64
AdvValidLifetime: 2592000
AdvPreferredLifetime: 604800
AdvOnLink: on
AdvAutonomous: on
AdvRouterAddr: off
AdvSourceLLAddress: 02 E0 4C DD 33 58


My Win2k box has MS Ipv6 stack installed, I downloaded it from www.hs247.com (Sp3 Fix). When I run "ipv6 if" it lists my devices as following (I'll skip the Tunnel Pseudo-Interface and Loopback Pseudo-Interface) :

Quote:
C:\>ipv6 if
Interface 4 (site 1): Local Area Connection
uses Neighbor Discovery
link-level address: 00-50-bf-7a-54-39
preferred address 2001:8e0:abcd:17e:250:bfff:fe7a:5439, 2591986s/604786s (ad
drconf)
preferred address fe80::250:bfff:fe7a:5439, infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ff7a:5439, 2 refs, last reporter
link MTU 1500 (true link MTU 1500)
current hop limit 64
reachable time 15000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1

Interface 3 (site 1): 6-over-4 Virtual Interface
uses Neighbor Discovery
link-level address: 192.168.0.3
preferred address fe80::c0a8:3, infinite/infinite
multicast address ff02::1, 1 refs, not reportable
multicast address ff02::1:ffa8:3, 1 refs, last reporter
link MTU 1280 (true link MTU 65515)
current hop limit 128
reachable time 15500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1


As you can see, the Interface 4 has "uses Neighbor Discovery" option and has already a Ipv6 ip using my prefix (preferred address 2001:8e0:abcd:17e:250:bfff:fe7a:5439), as i marked that with bold.

The problem is when i try to ping6 from the win2k box, it wont work:

Quote:
C:\>ping6 www.kame.net

Pinging apple.kame.net [2001:200:0:4819:210:f3ff:fe03:4d0] with 32 bytes of data
:

Request timed out.


If i check the /var/log/syslog i can see a error msg that repeats from time to time, starting when i run the ping6 from win2k :

Mar 9 17:15:47 linuxdog radvd[16829]: version 0.7.2 started
Mar 9 17:23:26 linuxdog kernel: ndisc_send_redirect: not a neighbour
Mar 9 17:25:35 linuxdog last message repeated 9 times

I have searched on google about this problem, but didnt found a solution for now ... I hope that someone here could help me .

Thanx in advance.
Back to top
View user's profile Send private message
MadDog
n00b
n00b


Joined: 05 Dec 2002
Posts: 10
Location: Maribor, Slovenia

PostPosted: Tue Mar 11, 2003 12:13 pm    Post subject: Reply with quote

hope that only doing rm -rf /* wont solve this :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum