Date: Wed, 29 Aug 2001 22:22:22 +0200 (CEST) From: Wouter Van Hemel <wvhemel@vub.ac.be> To: Rogier Steehouder <r.j.s@gmx.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: [FBSD-Q] ipv6 route configuration Message-ID: <Pine.LNX.4.33.0108292218390.136-100000@cocaine.cryolabs.net> In-Reply-To: <20010829221452.A1131@rhosgobel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Aug 2001, Rogier Steehouder wrote: > On Wednesday 29-08-29 17:06:08, Wouter Van Hemel wrote: > > Now, I want to do the same, using the globally routable 3ffe:b80:1c8::/48 > > class (but without natd, ofcourse): > > > > router = 3ffe:b80:1c8::1 > > server1 = 3ffe:b80:1c8::2 > > server2 = 3ffe:b80:1c8::3 > > (etc) > > > The problem now is, that each setup I tried, only the router can be traced > > from the outside (3ffe:b80:1c8::1), and for instance server1 > > (3ffe:b80:1c8::2) either times out (traceroute = * * * etc), or starts > > repeating the packets between 3ffe:b80:1c8::1 and the upward tunnel > > address. > > > ##### start ##### > > route add -inet6 3ffe:0b80:01c8:: -prefixlen 48 -interface lo0 > > (--> why lo0 ?? shouldn't this subnet be send to ed1, the internal net?) > > sysctl -w net.inet6.ip6.forwarding=1 > > sysctl -w net.inet6.ip6.accept_rtadv=0 > > ifconfig ed1 inet6 3ffe:b80:1c8:1::1 prefixlen 64 > > > > ##### end ##### > > > So, my questions (finally :) ): > > I haven't tried a big subnet (1 PC), but I'll try to help out. > > > 1) why does the /48 class get bound to lo0? > > I have no idea. > > > 2) how do I send the full /48 class to the internal net, using ::1 for the > > router itself - like my ipv4 internal net? > > As far as I can remember (it has been nearly a year) I used the same > 'route' line, but using the internal nic instead of lo0. > That's what's been bugging me all along. Why lo0 and not ed1. Maybe it has something to do with looping. > I set both sysctl variables to 1 and let both router and other PC's figure > out their IPv6 addresses on their own. They will most certainly not be > ...::1, ...::2, etc. > > You can also manually configure IPv6 addresses on all hosts. > And that would be with just 'ifconfig ed0 inet6 their_ip', right? > > 3) does rtadvd have to run on all machines, or just the router? > > Just the router! Else it might confuse hosts, I think. (I'm the router - > No, I'm the router - etc.) > Hmmm... That's indeed not what I want, they're confused enough as it is :) > > Anybody with a better understanding of routing, please enlighten me, or > > point me to good resources... thanks :) > > Limited knowledge on routing, but some experience in IPv6. > > Make sure of your firewall (ip6fw) if you use it. Especially using > autoconfiguration. An IPv6 fw needs much more thought than an IPv4 fw. > Sure, after I made it work. That won't be such a problem. > with kind regards, Rogier Steehouder > Thanks. > -- > ___ _ > -O_\ // > | / Rogier Steehouder //\ > / \ r.j.s@gmx.net // \ > <---------------------- 90m ----------------------> > . . . . . w o u t e r . . . o . . . , /\ <O\ . ___________o30>__=__/`\______________________________ <o> __o _/ . ` . \_ _=_ o// O\ | w o u t e r v a n h e m e l | <\o/\ P `| |_ . h t t p : / / w w w . i n s o m n i a . c x / . _| O _\ |\ \_________________________________o________\o_________/ <'> /O^ |()o _O\ . l a v i e e n m o u v e m e n t |`\ >> \\ << . . . . . . . . . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0108292218390.136-100000>