Date: Thu, 12 Jul 2001 19:15:37 +0900 From: itojun@iijlab.net To: "FreeBSDlover FreeBSDlover" <freebsdlover@hotmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Tunneling works! Message-ID: <24771.994932937@itojun.org> In-Reply-To: freebsdlover's message of Thu, 12 Jul 2001 10:10:07 GMT. <F77yd0D9OEstpqAVDGS00009dad@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24767.994932927.1@itojun.org> >I am very thankful to ur suggestions.....I cheked the code and 2 places i >commented #ifdef INET6 here's my resposes to private copy. you don't need to send me another copy... itojun ------- =_aaaaaaaaaa0 Content-Type: message/rfc822 Content-ID: <24767.994932927.2@itojun.org> To: "FreeBSDlover FreeBSDlover" <freebsdlover@hotmail.com> In-reply-to: freebsdlover's message of Thu, 12 Jul 2001 10:02:57 GMT. <F32ZSJREdPPn81wF8id0001ce12@hotmail.com> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: Help me to configure From: itojun@iijlab.net Date: Thu, 12 Jul 2001 19:14:25 +0900 Message-ID: <24740.994932865@itojun.org> Sender: itojun@itojun.org >Hi, >I am very thankful to ur suggestions.....I cheked the code and 2 places i >commented #ifdef INET6 first of all, please use public forums as much as possible. it is pity when i can help only one guy, while i can potentially help multiple people by using mailing lists. next, identify which platform you are using. what is the kernel configuration file you are using (do you have INET6 in there?). >Change in /netinet/in_proto.c >inetsw[] initialization >struct ipprotosw inetsw[] = { (snip) >it.because code was not able to execute since somehow INET6 was not >defined(pls explian this) normally you won't need to comment anything out in the source code. also, when i don't have any clue about your operating system environment (version of freebsd) i cannot really comment. >And one more question pls answer me.... >Actually my machine(Router) has 2 following physical interfaces >wb0 : fe80::280:48ff:fed6:8d38 and 192.168.2.1 >ed1 : fe80::200:e8ff:fe21:412b and 192.168.3.1 > >Actually tunnel is being set up between 192.168.3.1 and another machine with >192.168.3.9. >When I ping6 -I gif0 ff02::1 the response was from other end of the tunnel >and another response from (wb0 : >fe80::280:48ff:fed6:8d38 )interface of my machine.Actually I think it should >come from ed1. >NOTE:Both wb0 and ed1 are connected to the hub. >Pls explain me..... in the diagram there's no 192.168.3.9. who is 192.168.3.9??? i can't guess your network. anyway, interface idenfiers are local to each node, therefore, when you see responses from 192.168.2.1 and watch it on 192.168.3.1, it will be presented as "fe80::280:48ff:fed6:8d38%wb0" ("the packet came in from my wb0 interface"). >--------- --------- --------- >| | | | | | >| A |------------ | R |----------| H | | > | | | tunnel | | >--------- ---------- --------- >A=192.168.2.2 R = 192.168.3.1 H = 192.168.3.5 > H = 192.168.3.5 R = 192.168.3.1 >Now I want to communicate from H to A and A to H thro the tunnel.What i have >to do for that? >I want to ping6 to the other interface(wb0) of router which is NOT the >tunnel end point.? with link-local addresses, you can't. configure global IPv6 addresses onto every interfaces (now I guess you should buy a book on IPv6). itojun ------- =_aaaaaaaaaa0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24771.994932937>