Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2013 13:47:02 +0530
From:      hrkesh sahu <hrisikeshsahu@gmail.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Fwd: Fresh installation 9.1
Message-ID:  <CAMB42my-KuxhZvqaSNjtf-vT%2BfkWJ6YkvthT--DvrRv8_%2B4LSQ@mail.gmail.com>
In-Reply-To: <CAMB42mwzvjo1-k5VSO=LcPqL6jgL0fCfELCi_wFGCag8Q%2B4G6g@mail.gmail.com>
References:  <CAMB42mzLT_T7UEsCASZg6AvQ67=6QwVqrtWy_roWPohK4jO1bw@mail.gmail.com> <CAMB42mws6LXAWSnwT56Hjf91qrCLJhFbB%2B=SZRMebfG5v_3zCA@mail.gmail.com> <alpine.BSF.2.00.1305221505550.72982@mail.fig.ol.no> <CAMB42mww6yFFTip9isMxUirH92Yh%2BV_RS4QMJgi3qwcMh20g1A@mail.gmail.com> <alpine.BSF.2.00.1305221605340.72982@mail.fig.ol.no> <CAMB42mx2TY_Hku0uzVsHLhpUL63XJ%2BjUy_JCdT2FW7orYiNsMQ@mail.gmail.com> <alpine.BSF.2.00.1305231204480.72982@mail.fig.ol.no> <CAMB42mwUT7uv0y0=%2Bsf_3JrchPEjK2USXCJ1=QuE=v4OTd-x8A@mail.gmail.com> <alpine.BSF.2.00.1306111305470.31028@mail.fig.ol.no> <CAMB42mwUiNOU%2Bjpr%2BC%2B8NA%2BeXfbxGcEpZ4=n1F6dvBiKmb0WBA@mail.gmail.com> <CAMB42my%2BDL3R4t2a5QHW=i8r-RREH1PyWbDgANf8QEANPmVOuw@mail.gmail.com> <alpine.BSF.2.00.1306111500090.31028@mail.fig.ol.no> <CAMB42mw-U-r-5RJyEw8mE0J4q8MiRO5p%2BJknFs0Vxz4rhHN-hg@mail.gmail.com> <alpine.BSF.2.00.1306111612380.31028@mail.fig.ol.no> <CAMB42mzevWNU_zyFvW9_Gz8=p8qGXNc9_oGmkZvtfu1Uuyfy=A@mail.gmail.com> <alpine.BSF.2.00.1306121248190.31028@mail.fig.ol.no> <CAMB42mypgk=6krW%2ByaeTsGFXBdaxbVosaHO3KLKkp3dTLDh0ng@mail.gmail.com> <CAMB42mxCnrYtrrkUkQnJFt0FsczAnpQMEAdtheZucYXVBFNfuw@mail.gmail.com> <CAMB42mwzvjo1-k5VSO=LcPqL6jgL0fCfELCi_wFGCag8Q%2B4G6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi ,
I need one more help -
This is my new /etc/rtadvd.conf
------------------------------------------


rl0:\
        :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64

re0:\
        :addr=3D"fd44:13de:a366:200::":prefixlen#64 \

        :addr1=3D"2001:db8:ffff:1::":prefixlen#64:vltime#12345:pltime#12345=
:


For  this all the Client machines received the router advertisement.

There are two IPv6 clients are connected to Re0 interface of FreeBSD
router  using a HUB.

All IPv6 clients updates there IPv6 address table.

client1 IPv6 address -
IP Address. . . . . . . . . . . . : 2001:db8:ffff:1:f009:905e:1667:4aae
IP Address. . . . . . . . . . . . : 2001:db8:ffff:1:224:7eff:fee0:6b51
IP Address. . . . . . . . . . . . : fd44:13de:a366:200:f009:905e:1667:4aae
IP Address. . . . . . . . . . . . : fd44:13de:a366:200:224:7eff:fee0:6b51
IP Address. . . . . . . . . . . . : fd8f:d6d0:e6e7:100::1337
IP Address. . . . . . . . . . . . : 2001:db8:ffff:2::200
IP Address. . . . . . . . . . . . : fe80::224:7eff:fee0:6b51%5
Default Gateway . . . . . . . . . : fe80::21f:d0ff:fe40:8bbd%5

Client2 Ipv6 address  -

   - fe80:0:0:0:204:a3ff:fe11:9d19
   - fd44:13de:a366:200:204:a3ff:fe11:9d19
   - fd44:13de:a366:200:0:0:0:200
   - 2001:db8:ffff:1:204:a3ff:fe11:9d19


My surprise is that  -

I am able to get a reply for a client1  ICMPv6 request  (
fd44:13de:a366:200:204:a3ff:fe11:9d19 is a another client2 IPv6 address-

>ping6 fd44:13de:a366:200:204:a3ff:fe11:9d19

Pinging fd44:13de:a366:200:204:a3ff:fe11:9d19
from fd44:13de:a366:200:f009:905e:1667:4aae with 32 bytes of data:

Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms
Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms
Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms
Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms


But -

when I send this ICMPv6 request from Client1 , I am not able to get the
reply.

>ping6 2001:db8:ffff:1:204:a3ff:fe11:9d19

Pinging 2001:db8:ffff:1:204:a3ff:fe11:9d19
from 2001:db8:ffff:1:f009:905e:1667:4aae with 32 bytes of data:


Request timed out.
Request timed out.
Request timed out.
Request timed out.

Please help me on this.

Regards
Hrisikesh



On Wed, Jun 12, 2013 at 6:22 PM, hrkesh sahu <hrisikeshsahu@gmail.com>wrote=
:

> Hi Trond,
> I understood that rtadvd should be stopped and rtadvd_enable should be
> disabled when we are using Link local address.
> Now i am able to ping link local address.
>
>
>
>
> On Wed, Jun 12, 2013 at 5:06 PM, hrkesh sahu <hrisikeshsahu@gmail.com>wro=
te:
>
>> Hi Trond,
>> Thanks a lot for this clear information and your help.
>>
>> I need one more help on this link local address communication -
>>
>> I am not able to ping link local address of FREEBSD machine.
>>
>>
>> Laptop ( windows XP) <----------------->< rl0 interface > FreeBSD Router
>>
>> ping from laptop to freebsd Link address  -
>>
>> >ping6 fe80::21f:d0ff:fe40:8bbd%5
>>
>> Pinging fe80::21f:d0ff:fe40:8bbd%5
>>
>> from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data:
>>
>> Request timed out.
>> Request timed out.
>>
>> Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable.
>> Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable.
>>
>> Ping statistics for fe80::21f:d0ff:fe40:8bbd%5:
>>     Packets: Sent =3D 4, Received =3D 0, Lost =3D 4 (100% loss),
>>
>>
>> My rc.conf
>> --------------------
>> ipv6_gateway_enable=3D"YES"
>> rtadvd_enable=3D"YES"
>> rtadvd_interfaces=3D"rl0 re0"
>>
>>
>> Regards
>>
>>
>>
>>
>> On Wed, Jun 12, 2013 at 4:32 PM, Trond Endrest=F8l <
>> Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>
>>> On Wed, 12 Jun 2013 16:16+0530, hrkesh sahu wrote:
>>>
>>> > Hi Trond,
>>> > Now it is working.
>>> >
>>> > could you please tell me how to route link local address routing?
>>>
>>> Link local addresses are just that, link local. They are NEVER ment to
>>> traverse through any router. Think of link local as VLAN local or
>>> subnet local. They play a crucial role in Neighbor Discovery and are
>>> useful in ad-hoc nets.
>>>
>>> See section 2.5.6 of RFC 4291: http://tools.ietf.org/html/rfc4291
>>> See the entire section 7 of RFC 4861: http://tools.ietf.org/html/rfc486=
1
>>> See section 5.3 of RFC 4862: http://tools.ietf.org/html/rfc4862
>>>
>>> > Laptop ( windows XP) <----------------->< rl0 interface > FreeBSD
>>> Router <re0
>>> > interface ><------------------------->Target Ipv6 Device
>>> > (XP Link local address )
>>> > fe80::224:7eff:fee0:6b51<-----------------connected to
>>> > ------------->fe80::210:b5ff:fe48:9f73
>>> > ( freebsd rl0 interface)
>>> >
>>> > ( Freebsd re0 Link local address)
>>> > fe80::21f:d0ff:fe40:8bbd<----------------------connected to ------->
>>> > fe80::204:a3ff:fe11:9d19
>>> > ( target device link local address)
>>> >
>>> >
>>> >
>>> > I send a ICMPv6 request from Laptop to Target device Link local
>>> address.
>>> > >ping6 fe80::204:a3ff:fe11:9d19%5
>>> >
>>> > Pinging fe80::204:a3ff:fe11:9d19%5
>>> > from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data:
>>> >
>>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl=
e.
>>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl=
e.
>>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl=
e.
>>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl=
e.
>>> >
>>> > My /etc/rtadvd.conf
>>> > ----------------------------------
>>> > rl0:\
>>> >         :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64
>>> >
>>> > re0:\
>>> >         :addr=3D"fd44:13de:a366:200::":prefixlen#64
>>> >
>>> >
>>> > Do I need to add client link local address in this above rtadvd.conf =
.
>>>
>>> Don't ever, ever do that.
>>>
>>> To quote the last paragraph of section 2.5.6 of RFC 4291:
>>>
>>>    Routers must not forward any packets with Link-Local source or
>>>    destination addresses to other links.
>>>
>>> > On Tue, Jun 11, 2013 at 7:45 PM, Trond Endrest=F8l <
>>> > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> >
>>> > > On Tue, 11 Jun 2013 19:14+0530, hrkesh sahu wrote:
>>> > >
>>> > > > Hi Trond,
>>> > > > for router : ndp -an
>>> > > >
>>> > > > Neighbor                            Linklayer Address      Netif
>>> > > > Expire              S Flags
>>> > > > fd8f:d6d0:e6e7:100::1337     00:16:f0:57:24:48       rl0
>>> > > 23h59m59s
>>> > > >          S
>>> > > > fd44:13de:a366:200::200      00:15:71:b1:11:66      re0
>>>  23h59m59s
>>> > > >      S
>>> > > >
>>> > > >
>>> > > > is there anything, XP OS is not processing those packets?
>>> > >
>>> > > I hope you have run the ipv6 install command on the XP client.
>>> > > IPv6 isn't installed out of the box.
>>> > >
>>> > > What does this command produce on the XP client?
>>> > >
>>> > > ipconfig /all
>>> > >
>>> > > You should at least see IPv6 link-local addresses assigned to the
>>> NIC.
>>> > >
>>> > > > On Tue, Jun 11, 2013 at 6:37 PM, Trond Endrest=F8l <
>>> > > > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> > > >
>>> > > > > On Tue, 11 Jun 2013 18:23+0530, hrkesh sahu wrote:
>>> > > > >
>>> > > > > > Hi Trond,
>>> > > > > > One more think -
>>> > > > > >
>>> > > > > > Ping from FreeBSD router to fd8f:d6d0:e6e7:100::1337 ( XP
>>> machine
>>> > > IPv6
>>> > > > > > address)
>>> > > > > >  - result -
>>> > > > > > ping6: sendmsg: No route to host
>>> > > > > > ping6: wrote fd8f:d6d0:e6e7:100::1337 16 chars, ret=3D -1
>>> > > > > >
>>> > > > > > could you please see this?
>>> > > > >
>>> > > > > Maybe the router isn't paying attention to the client's neighbo=
r
>>> > > > > advertisements.
>>> > > > >
>>> > > > > Is the client listed in the router's ND cache?
>>> > > > >
>>> > > > > Try this on the router: ndp -an
>>> > > > >
>>> > > > > You should see something similar to this:
>>> > > > >
>>> > > > > Neighbor          Linklayer Address  Netif Expire    S Flags
>>> > > > > 2001:db8:11d0::1  00:16:f0:57:24:48    re0 4s        R R
>>> > > > > 2001:db8:11d0::2  00:15:71:b1:11:66    re0 6s        R
>>> > > > >
>>> > > > > > On Tue, Jun 11, 2013 at 5:37 PM, hrkesh sahu <
>>> > > hrisikeshsahu@gmail.com
>>> > > > > >wrote:
>>> > > > > >
>>> > > > > > > Hi Trond,
>>> > > > > > > Thanks a lot for this quick reply.
>>> > > > > > >
>>> > > > > > > TAR1 is a Embedded device which has Ipv6 stack. ( I also
>>> checked
>>> > > same
>>> > > > > > > Ipv6  address configuration with a XP machine, behaviour is
>>> same)
>>> > > > > > > Route table on FreeBSD router machine shows -
>>> > > > > > >
>>> > > > > > > Name        mtu        Network
>>> > > > > > > Address                 ipkts   ierrs  idrop   opkts   oerr=
s
>>>   coll
>>> > > > > > > re0            1500       fd44:13de:a366:200
>>>  fd44:13de:a366:200
>>> > > > >  7020
>>> > > > > > >   0       0        9206      0        0
>>> > > > > > > rl0             1500       fd8f:d6d0:e6e7:100
>>>  fd8f:d6d0:e6e7:100
>>> > > > > > > 53       0       0       253      0        0
>>> > > > > > >
>>> > > > > > > sysctl net.inet6.ip6.forwarding=3D1
>>> > > > > > >
>>> > > > > > > Regards
>>> > > > > > >
>>> > > > > > > On Tue, Jun 11, 2013 at 4:57 PM, Trond Endrest=F8l <
>>> > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> > > > > > >
>>> > > > > > >> On Tue, 11 Jun 2013 16:29+0530, hrkesh sahu wrote:
>>> > > > > > >>
>>> > > > > > >> > Hi Trond,
>>> > > > > > >> > I need one more help for our PV6 Interoperability testin=
g.
>>> > > > > > >> > I was trying to do Interoperability test for our IPv6
>>> target
>>> > > device.
>>> > > > > > >> > FreeBsd as router .
>>> > > > > > >> > FreeBSD Re0  has IPv6 address =3D  fd44:13de:a366:200::1
>>> > > > > > >> > FreeBSD Rl0 has IPv6 Address =3D fd8f:d6d0:e6e7:100::101
>>> > > > > > >> >
>>> > > > > > >> > Our Target Device(TAR1) IPv6 address -
>>> fd44:13de:a366:200::200
>>> > >  (
>>> > > > > which
>>> > > > > > >> is
>>> > > > > > >> > connected point to point to interface Re0 of FreeBSD
>>> desktop)
>>> > > > > > >> >
>>> > > > > > >> > Another Reference device( REF1) which is connected to Rl=
0
>>> of
>>> > > > > FreeBSD and
>>> > > > > > >> > IPv6 address is fd8f:d6d0:e6e7:100::1337 is a windows XP
>>> > > machine.
>>> > > > > > >> >
>>> > > > > > >> >
>>> > > > > > >> > REF1 ICMPv6 request to fd44:13de:a366:200::200  and Repl=
y
>>> is
>>> > > coming
>>> > > > > for
>>> > > > > > >> > Ping6 fd44:13de:a366:200::200
>>> > > > > > >> >
>>> > > > > > >> > when I do  ICMPv6 request to fd8f:d6d0:e6e7:100::1337
>>> from TAR1-
>>> > > > > > >> > TCPdump result -
>>> > > > > > >> > fd44:13de:a366:200::1 > fd44:13de:a366:200::200: ICMP6,
>>> > > Destination
>>> > > > > > >> > unreachable,  unreachable route fd8f:d6d0:e6e7:100::1337=
,
>>> > > Length 60
>>> > > > > > >> >
>>> > > > > > >> > If I send a ICMP6 request from fd44:13de:a366:200::1 (
>>> from
>>> > > FreeBSD
>>> > > > > > >> desktop
>>> > > > > > >> > ) to fd44:13de:a366:200::200, I am able to get reply fro=
m
>>> > > > > > >> > fd44:13de:a366:200::200.
>>> > > > > > >> >
>>> > > > > > >> > Could you please tell me why FreeBSD Router is not able =
to
>>> > > resolve
>>> > > > > the
>>> > > > > > >> > ICMP6 request for Target device?
>>> > > > > > >>
>>> > > > > > >> You did not disclose the operating system of TAR1.
>>> > > > > > >>
>>> > > > > > >> Anyway, I would begin by examining the routing tables on t=
he
>>> > > client.
>>> > > > > > >>
>>> > > > > > >> If the OS on TAR1 is FreeBSD, then try the command:
>>> > > > > > >>
>>> > > > > > >> netstat -rwnf inet6
>>> > > > > > >>
>>> > > > > > >> Assuming the IPv6 router sends out router announcements on
>>> the re0
>>> > > > > > >> interface, the announcements contain the correct
>>> information, and
>>> > > the
>>> > > > > > >> router announcements are received and acted upon by TAR1,
>>> then the
>>> > > > > > >> default route should either be the link-local IPv6 address
>>> of the
>>> > > re0
>>> > > > > > >> interface or the ULA address of said interface.
>>> > > > > > >>
>>> > > > > > >> Next, it wouldn't hurt to examine the routing table of the
>>> router.
>>> > > > > > >> Use the same command as above:
>>> > > > > > >>
>>> > > > > > >> netstat -rwnf inet6
>>> > > > > > >>
>>> > > > > > >> The router should have knowledge of fd44:13de:a366:200::/6=
4
>>> > > belonging
>>> > > > > > >> to the re0 interface, and fd8f:d6d0:e6e7:100::/64 belongin=
g
>>> to
>>> > > the rl0
>>> > > > > > >> interface.
>>> > > > > > >>
>>> > > > > > >> Finally, IPv6 routing should be enabled in the router. Thi=
s
>>> would
>>> > > be
>>> > > > > > >> verified by examining the sysctl(8)
>>> net.inet6.ip6.forwarding.
>>> > > Simply
>>> > > > > > >> type this command on the router:
>>> > > > > > >>
>>> > > > > > >> sysctl net.inet6.ip6.forwarding
>>> > > > > > >>
>>> > > > > > >> Its value should be 1, if not, set it to 1:
>>> > > > > > >>
>>> > > > > > >> sysctl net.inet6.ip6.forwarding=3D1
>>> > > > > > >>
>>> > > > > > >> If the latter is the case, then careful examination and
>>> editing
>>> > > of the
>>> > > > > > >> /etc/rc.conf file is needed.
>>> > > > > > >>
>>> > > > > > >> Incidently, the IPv6 routing table on the XP client is
>>> shown using
>>> > > > > > >> this command:
>>> > > > > > >>
>>> > > > > > >> ipv6 rt
>>> > > > > > >>
>>> > > > > > >> Best of luck. ;-)
>>> > > > > > >>
>>> > > > > > >> > Regards
>>> > > > > > >> > Hrisikesh
>>> > > > > > >> >
>>> > > > > > >> > On Thu, May 23, 2013 at 3:45 PM, Trond Endrest=F8l <
>>> > > > > > >> > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> > > > > > >> >
>>> > > > > > >> > > On Thu, 23 May 2013 14:26+0530, hrkesh sahu wrote:
>>> > > > > > >> > >
>>> > > > > > >> > > > Hi Trond,
>>> > > > > > >> > > > Thanks a lot for your help and Ipv6 routing is
>>> working with
>>> > > > > FreeBSD
>>> > > > > > >> OS.
>>> > > > > > >> > > > we want to go for Ipv6 certification for our IPv6
>>> stack.
>>> > > > > > >> > > > And Ipv6 stack we want to use FreeBSD as one vendor
>>> router.
>>> > > > > > >> > > >
>>> > > > > > >> > > > Now It will be easy for IPv6 interoperability test
>>> with
>>> > > freeBSD.
>>> > > > > > >> > > >
>>> > > > > > >> > > > for Ipv6 interoperability test We need another route=
r
>>> device
>>> > > > > and I
>>> > > > > > >> am
>>> > > > > > >> > > > planning use Ubuntu as IPv6 router.
>>> > > > > > >> > > >
>>> > > > > > >> > > > Please let me your personal view and if you can help
>>> me on
>>> > > > > this, it
>>> > > > > > >> will
>>> > > > > > >> > > be
>>> > > > > > >> > > > grateful.
>>> > > > > > >> > > >
>>> > > > > > >> > > > How to enable gateway for IPv6 in Ubuntu? Router may
>>> > > require to
>>> > > > > do
>>> > > > > > >> > > > send Neighbor advertisement for Host Neighbor
>>> solicitation
>>> > > . I
>>> > > > > > >> > > > installed radvd in ubuntu. could you please share
>>> > > radvd.conf of
>>> > > > > > >> > > > ubuntu?
>>> > > > > > >> > >
>>> > > > > > >> > > Hmm. I'm not at all familiar with Ubuntu or any other
>>> Linux
>>> > > > > distro for
>>> > > > > > >> > > that matter. I admit, I did try out Debian/amd64 7.0.0=
 a
>>> > > couple of
>>> > > > > > >> > > weeks ago, but I have far more experience with FreeBSD
>>> than
>>> > > > > anything
>>> > > > > > >> > > else in the *nix world.
>>> > > > > > >> > >
>>> > > > > > >> > > Truth to be told, I regard most Linux distros as
>>> inferior
>>> > > > > compared to
>>> > > > > > >> > > the *BSDs, due to the Linux distros forcing you to
>>> install a
>>> > > > > whole lot
>>> > > > > > >> > > of bloat. It probably boils down to what level you are
>>> on, be
>>> > > it
>>> > > > > Joe
>>> > > > > > >> > > Public or someone with more experience when it comes t=
o
>>> > > computers
>>> > > > > and
>>> > > > > > >> > > operating systems. Maybe I'm just misinformed and ther=
e
>>> > > exists a
>>> > > > > Linux
>>> > > > > > >> > > distro or two letting the user/administrator chose wha=
t
>>> to
>>> > > install
>>> > > > > > >> > > rather well.
>>> > > > > > >> > >
>>> > > > > > >> > > > On Wed, May 22, 2013 at 7:53 PM, Trond Endrest=F8l <
>>> > > > > > >> > > > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> > > > > > >> > > >
>>> > > > > > >> > > > > On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote:
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > > Hi Trond,
>>> > > > > > >> > > > > > Thanks a lot for a clear reply.
>>> > > > > > >> > > > > > Could you please tell me Laptop1 ipv6
>>> configuration
>>> > > details?
>>> > > > > > >> > > > > > as laptop auto configuration will generate the L=
L
>>> > > address
>>> > > > > for a
>>> > > > > > >> auto
>>> > > > > > >> > > ipv6
>>> > > > > > >> > > > > > configuration.
>>> > > > > > >> > > > > > For Interface rl0 ipv6 address
>>> > > > > > >> > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1=
01
>>> > > prefixlen
>>> > > > > 64" ,
>>> > > > > > >> > > > > >
>>> > > > > > >> > > > > > what will be laptop ipv6 address?
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > It depends solely on the operating system and
>>> whether IPv6
>>> > > > > > >> privacy is
>>> > > > > > >> > > > > in effect.
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > Normally, the client will perform stateless
>>> automatic
>>> > > address
>>> > > > > > >> > > > > configuration (SLAAC). It goes pretty much like
>>> this:
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > The router announces the 64 bit prefix, usually
>>> every 200
>>> > > > > > >> seconds, but
>>> > > > > > >> > > > > the client may request a new announcement at any
>>> time. The
>>> > > > > client
>>> > > > > > >> > > > > generates a 64 bit interface identifier based on
>>> its 48
>>> > > bit
>>> > > > > MAC
>>> > > > > > >> > > > > address. The client then concatenates the supplied
>>> prefix
>>> > > > > with the
>>> > > > > > >> > > > > generated interface identifier. The client then
>>> performs
>>> > > > > duplicate
>>> > > > > > >> > > > > address detection (DAD), and if everythings checks
>>> out,
>>> > > the
>>> > > > > > >> client got
>>> > > > > > >> > > > > its IPv6 address.
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > Given this prefix fd8f:d6d0:e6e7:100::/64, and thi=
s
>>> MAC
>>> > > > > address
>>> > > > > > >> > > > > 50:e5:49:41:4d:70.
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > The client would then generated this interface id:
>>> > > > > > >> > > > > 52e5:49ff:fe41:4d70.
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > The Universal/Local bit of the MAC address is
>>> inverted,
>>> > > and
>>> > > > > FF:FE
>>> > > > > > >> is
>>> > > > > > >> > > > > placed at center. (It really ought to be FF:FF, bu=
t
>>> way
>>> > > back
>>> > > > > in
>>> > > > > > >> time
>>> > > > > > >> > > > > someone misread the IEEE standards regarding
>>> conversion
>>> > > from
>>> > > > > 48
>>> > > > > > >> bit
>>> > > > > > >> > > > > MAC addresses to EUI64 format. This oversight
>>> doesn't
>>> > > really
>>> > > > > > >> matter.)
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > The same client would then aqcuire this IPv6
>>> address:
>>> > > > > > >> > > > > fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perfor=
m
>>> DAD.
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > The client gets its IPv6 default route/gateway fro=
m
>>> the
>>> > > router
>>> > > > > > >> > > > > announcement.
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > Of course, you may configure the IPv6 address and
>>> gateway
>>> > > > > > >> manually on
>>> > > > > > >> > > > > the client, say fd8f:d6d0:e6e7:100::1337/64
>>> (client's
>>> > > > > address) and
>>> > > > > > >> > > > > fd8f:d6d0:e6e7:100::101 (gateway's address).
>>> > > > > > >> > > > >
>>> > > > > > >> > > > > > On Wed, May 22, 2013 at 6:54 PM, Trond Endrest=
=F8l <
>>> > > > > > >> > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> > > > > > >> > > > > >
>>> > > > > > >> > > > > > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu
>>> wrote:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > > Hi Trond ,
>>> > > > > > >> > > > > > > > Thanks a lot.
>>> > > > > > >> > > > > > > > Now i am able to ping to other network with
>>> IPv4
>>> > > > > address.
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > For IPv6 I added these lines in rc.conf -
>>> > > > > > >> > > > > > > > first I included -
>>> > > > > > >> > > > > > > > ipv6_gateway_enable=3D"YES"
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > ++> Laptop1( Ipv6 address
>>> fe80::224:7eff:fee0:6b51)
>>> > > is
>>> > > > > > >> connected
>>> > > > > > >> > > to
>>> > > > > > >> > > > > > > > interface rl0 ( ipv6 address -
>>> > > fe80::21f:b5ff:fe48:9f73)
>>> > > > > > >> > > > > > > > While doing ping6 from
>>> "fe80::224:7eff:fee0:6b51" to
>>> > > > > > >> > > > > > > > "fe80::21f:b5ff:fe48:9f73" - it is working.
>>> Neighbor
>>> > > > > > >> > > advertisement
>>> > > > > > >> > > > > from
>>> > > > > > >> > > > > > > > "fe80::21f:b5ff:fe48:9f73" is happening.
>>> > > > > > >> > > > > > > > while doing from ping6 from
>>> > > "fe80::224:7eff:fee0:6b51"
>>> > > > > to
>>> > > > > > >> other
>>> > > > > > >> > > > > interface
>>> > > > > > >> > > > > > > > "fe80::21f:d0ff:fe40:8bbd" , then there is n=
o
>>> > > Neighbor
>>> > > > > > >> > > advertisement.
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > After this I included these two lines to
>>> rc.conf -
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > rtadvd_enable=3D"YES"
>>> > > > > > >> > > > > > > > rtadvd_interfaces=3D"rl0"
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > I have not created any file like
>>> /etc/rtadvd.conf .
>>> > > Do i
>>> > > > > > >> need to
>>> > > > > > >> > > > > create
>>> > > > > > >> > > > > > > > this configuration file?
>>> > > > > > >> > > > > > > > if yes, what should be the input to
>>> rtadvd.conf for
>>> > > > >  link
>>> > > > > > >> local
>>> > > > > > >> > > > > address?
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > please find Ipv6 interface details.
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > Ifconfig
>>> > > > > > >> > > > > > > > --------------------
>>> > > > > > >> > > > > > > > re0: flags=3D8843<UP,Broadcast,
>>> > > > > > >> > > > > > > > Running,Simplex,Multicast> Metric 0 mtu 1500
>>> > > > > > >> > > > > > > > options=3D8209b<RXCSUM,TXCSUM,
>>> > > > > > >> > > > > > > >
>>> > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
>>> > > > > > >> > > > > > > > ether 00:1f:d0:40:8b:bd
>>> > > > > > >> > > > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen
>>> 64
>>> > > scopeid
>>> > > > > 0x5
>>> > > > > > >> > > > > > > > inet 192.168.200.101 netmask 0xffffff00
>>> > > > > broadcast
>>> > > > > > >> > > > > 192.168.200.255
>>> > > > > > >> > > > > > > > nd6 options=3D21<PERFORMNUD,AUTO_
>>> > > > > > >> > > > > > > > LINKLOCAL>
>>> > > > > > >> > > > > > > > media:Enthernet autoselect (none)
>>> > > > > > >> > > > > > > > status:active
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > rl0: flags=3D8843<UP,Broadcast,
>>> > > > > > >> > > > > > > > Running,Simplex,Multicast> Metric 0 mtu 1500
>>> > > > > > >> > > > > > > > options=3D2008<VLAN_MTU,WOL_MAGIC>
>>> > > > > > >> > > > > > > > ether 00:10:b5:48:9f:73
>>> > > > > > >> > > > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen
>>> 64
>>> > > scopeid
>>> > > > > 0xa
>>> > > > > > >> > > > > > > > inet 192.168.100.101 netmask 0xffffff00
>>> > > > > broadcast
>>> > > > > > >> > > > > 192.168.100.255
>>> > > > > > >> > > > > > > > nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>>> > > > > > >> > > > > > > > media:Enthernet autoselect (none)
>>> > > > > > >> > > > > > > > status: active
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Congratz on achieving active carrier wave on
>>> your
>>> > > NICs.
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Right now your system is running with
>>> link-local IPv6
>>> > > > > > >> addresses.
>>> > > > > > >> > > You
>>> > > > > > >> > > > > > > may view LL addresses as VLAN local. Packets t=
o
>>> such
>>> > > > > > >> addresses will
>>> > > > > > >> > > > > > > never ever be forwarded by a router.
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Instead set up either official IPv6
>>> addresses/subnets
>>> > > or
>>> > > > > > >> create
>>> > > > > > >> > > your
>>> > > > > > >> > > > > > > own Unique Local Addresses (ULA) as I wrote
>>> previously
>>> > > > > about.
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Augment your /etc/rc.conf file with, say:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100:=
:101
>>> > > > > prefixlen 64"
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > You may assign the IPv6 address manually to
>>> avoid
>>> > > > > restarting
>>> > > > > > >> the
>>> > > > > > >> > > > > > > networking subsystem or the whole machine:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101
>>> prefixlen
>>> > > 64
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Next, create /etc/rtadvd.conf with the followi=
ng
>>> > > contents:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > rl0:\
>>> > > > > > >> > > > > > >
>>> :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > If you want IPv6 routing on the re0 interface,
>>> you
>>> > > need,
>>> > > > > say
>>> > > > > > >> this,
>>> > > > > > >> > > in
>>> > > > > > >> > > > > > > /etc/rc.conf:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200:=
:1
>>> > > prefixlen
>>> > > > > 64"
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Assign the IPv6 address manually using:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > ifconfig re0 inet6 fd44:13de:a366:200::1
>>> prefixlen 64
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > And add this to /etc/rtadvd.conf:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > re0:\
>>> > > > > > >> > > > > > >
>>> :addr=3D"fd44:13de:a366:200::":prefixlen#64:
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > You'll need to restart rtadvd by issuing
>>> > > /etc/rc.d/rtadvd
>>> > > > > > >> restart.
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > Happy hacking.
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > > > > > Regards
>>> > > > > > >> > > > > > > > Hrisikesh
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > On Wed, May 22, 2013 at 1:03 PM, Trond
>>> Endrest=F8l <
>>> > > > > > >> > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote:
>>> > > > > > >> > > > > > > >
>>> > > > > > >> > > > > > > > > On Wed, 22 May 2013 12:38+0530, hrkesh sah=
u
>>> wrote:
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > > > > > Hi ,
>>> > > > > > >> > > > > > > > > > Thanks a lot for this quick reply.
>>> > > > > > >> > > > > > > > > > Sorry i missed the " in the end while
>>> typing.
>>> > > It's a
>>> > > > > > >> typo.
>>> > > > > > >> > > > > > > > > > I provided the ouput of " nestat -r " an=
d
>>> > > > > "ifconfig".
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > netstat -r
>>> > > > > > >> > > > > > > > > > --------------
>>> > > > > > >> > > > > > > > > > routing tables  -
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > internet :
>>> > > > > > >> > > > > > > > > > -----------
>>> > > > > > >> > > > > > > > > > destination                   Gateway
>>> > > > > > >> > > > > > > > > > Flags                       Refs
>>> > > > > > >> > > > > > > > > > Use                               Netif
>>> Expire
>>> > > > > > >> > > > > > > > > > default
>>> 192.168.200.1
>>> > > > > > >> > > > > > > > > > UGS                       0
>>> > > > > > >> > > > > > > > > > 0                                  re0
>>> > > > > > >> > > > > > > > > > localhost                      link#12
>>> > > > > > >> > > > > > > > > > UH                         0
>>> > > > > > >> > > > > > > > > > 148                               lo0
>>> > > > > > >> > > > > > > > > > 192.168.100.0              link#10
>>> > > > > > >> > > > > > > > > > U                           0
>>> > > > > > >> > > > > > > > > > 0                                   rl0
>>> > > > > > >> > > > > > > > > > 192.168.100.101           link#10
>>> > > > > > >>  UHS
>>> > > > > > >> > > > > > > > > >                      0
>>> > > > > > >> > > > > > > > > > 0                                   lo0
>>> > > > > > >> > > > > > > > > > 192.168.200.0              link#5
>>> > > > > > >> > > > > > > > > > U                           0
>>> > > > > > >> > > > > > > > > > 0                                   re0
>>> > > > > > >> > > > > > > > > > 192.168.200.101           link#5
>>> > > > > > >>  UHS
>>> > > > > > >> > > > > > > > > >                        0
>>> > > > > > >> > > > > > > > > > 0                                   lo0
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > Internet6:
>>> > > > > > >> > > > > > > > > > -------------------
>>> > > > > > >> > > > > > > > > > Ipv6 details
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > Ifconfig
>>> > > > > > >> > > > > > > > > > --------------------
>>> > > > > > >> > > > > > > > > > re0:
>>> > > > > flags=3D8843<UP,Broadcast,Running,Simplex,Multicast>
>>> > > > > > >> > > Metric 0
>>> > > > > > >> > > > > mtu
>>> > > > > > >> > > > > > > 1500
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > >
>>> > > > > > >> > >
>>> > > > > > >>
>>> > > > >
>>> > >
>>> options=3D8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_M=
AGIC,LINKSTATE>
>>> > > > > > >> > > > > > > > > > ether 00:1f:d0:40:8b:bd
>>> > > > > > >> > > > > > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0
>>> prefixlen 64
>>> > > > > scopeid
>>> > > > > > >> 0x5
>>> > > > > > >> > > > > > > > > > inet 192.168.200.101 netmask 0xffffff00
>>> > > > > > >> broadcast
>>> > > > > > >> > > > > > > 192.168.200.255
>>> > > > > > >> > > > > > > > > > nd6 options=3D21<PERFORMNUD,AUTO_LINKLOC=
AL>
>>> > > > > > >> > > > > > > > > > media:Enthernet autoselect (none)
>>> > > > > > >> > > > > > > > > > status: no carrier
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > rl0:
>>> > > > > flags=3D8843<UP,Broadcast,Running,Simplex,Multicast>
>>> > > > > > >> > > Metric 0
>>> > > > > > >> > > > > mtu
>>> > > > > > >> > > > > > > 1500
>>> > > > > > >> > > > > > > > > > options=3D2008<VLAN_MTU,WOL_MAGIC>
>>> > > > > > >> > > > > > > > > > ether 00:10:b5:48:9f:73
>>> > > > > > >> > > > > > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0
>>> prefixlen 64
>>> > > > > scopeid
>>> > > > > > >> 0xa
>>> > > > > > >> > > > > > > > > > inet 192.168.100.101 netmask 0xffffff00
>>> > > > > > >> broadcast
>>> > > > > > >> > > > > > > 192.168.100.255
>>> > > > > > >> > > > > > > > > > nd6 options=3D21<PERFORMNUD,AUTO_LINKLOC=
AL>
>>> > > > > > >> > > > > > > > > > media:Enthernet autoselect (none)
>>> > > > > > >> > > > > > > > > > status: no carrier
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > there is a plip0 and lo0.
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > > > > Neither NIC is connected to any equipment,
>>> e.g.
>>> > > > > switch,
>>> > > > > > >> hub, or
>>> > > > > > >> > > > > > > > > computer (status: no carrier). Make sure
>>> you can
>>> > > use a
>>> > > > > > >> straight
>>> > > > > > >> > > > > > > > > network cable, else you'll need to get a
>>> couple of
>>> > > > > cross
>>> > > > > > >> wired
>>> > > > > > >> > > > > network
>>> > > > > > >> > > > > > > > > cables and use those instead.
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > > > > Next, confirm the sysctl
>>> net.inet.ip.forwarding is
>>> > > > > set to
>>> > > > > > >> 1 by
>>> > > > > > >> > > > > > > > > running the sysctl net.inet.ip.forwarding
>>> command.
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > > > > If not, you can set the sysctl to 1 by
>>> running the
>>> > > > > sysctl
>>> > > > > > >> > > > > > > > > net.inet.ip.forwarding=3D1 command, and yo=
u
>>> probably
>>> > > > > should
>>> > > > > > >> > > inspect
>>> > > > > > >> > > > > the
>>> > > > > > >> > > > > > > > > /etc/rc.conf file one more time.
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > > > > Once you connect the computer to the two
>>> > > networks, the
>>> > > > > > >> IPv4
>>> > > > > > >> > > routing
>>> > > > > > >> > > > > > > > > should work. If not, come back.
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > > > > > Regards
>>> > > > > > >> > > > > > > > > > Hrisikesh
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond
>>> > > Endrest=F8l <
>>> > > > > > >> > > > > > > > > > Trond.Endrestol@fagskolen.gjovik.no>
>>> wrote:
>>> > > > > > >> > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh
>>> sahu
>>> > > wrote:
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > Hi All,
>>> > > > > > >> > > > > > > > > > > > IPv4 Routing  -
>>> > > > > > >> > > > > > > > > > > > ------------------------
>>> > > > > > >> > > > > > > > > > > > I disabled the DHCP from rc.conf for
>>> both
>>> > > the
>>> > > > > > >> interface.
>>> > > > > > >> > > but
>>> > > > > > >> > > > > > > still I
>>> > > > > > >> > > > > > > > > am
>>> > > > > > >> > > > > > > > > > > not
>>> > > > > > >> > > > > > > > > > > > able to route trafic from one
>>> interface to
>>> > > > > another.
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > rc.conf
>>> > > > > > >> > > > > > > > > > > > ---------------
>>> > > > > > >> > > > > > > > > > > > hostname=3D"idc-freebsd"
>>> > > > > > >> > > > > > > > > > > > keymap=3D"hy.armscii-8.kbd"
>>> > > > > > >> > > > > > > > > > > > #ifconfig_re0=3D"DHCP"
>>> > > > > > >> > > > > > > > > > > > #ifconfig_rl0=3D"DHCP"
>>> > > > > > >> > > > > > > > > > > > dumpdev=3D"NO"
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > ifconfig_rl0=3D"inet 192.168.100.101
>>> netmask
>>> > > > > > >> 255.255.255.0
>>> > > > > > >> > > > > > > > > > > > ifconfig_re0=3D"inet 192.168.200.101
>>> netmask
>>> > > > > > >> 255.255.255.0
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > Are the two lines above copied straigh=
t
>>> from
>>> > > your
>>> > > > > > >> rc.conf
>>> > > > > > >> > > file?
>>> > > > > > >> > > > > > > > > > > If so, both lines are missing a " at
>>> the end.
>>> > > > > Please
>>> > > > > > >> check
>>> > > > > > >> > > to
>>> > > > > > >> > > > > see
>>> > > > > > >> > > > > > > if
>>> > > > > > >> > > > > > > > > > > this is needed.
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > Next, the outputs of the ifconfig
>>> command and
>>> > > the
>>> > > > > > >> netstat
>>> > > > > > >> > > -r
>>> > > > > > >> > > > > > > command
>>> > > > > > >> > > > > > > > > > > should reveal something interesting.
>>> Would you
>>> > > > > please
>>> > > > > > >> post
>>> > > > > > >> > > the
>>> > > > > > >> > > > > > > > > > > results from these two commands?
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > ipv6_activate_all_interfaces=3D"YES"
>>> > > > > > >> > > > > > > > > > > > gateway_enable=3D"YES"
>>> > > > > > >> > > > > > > > > > > > default_router=3D"192.168.200.1"
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > I am using FreeBSD - 9.1 Release
>>> version
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > I need to communicate between two
>>> different
>>> > > > > subnets.
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > Am i missing anything to enable
>>> freebsd as
>>> > > > > router?
>>> > > > > > >> > > > > > > > > > > > Do i need to add a route entry?
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > If possible could you please share
>>> rc.conf
>>> > > file
>>> > > > > > >> with IPv4
>>> > > > > > >> > > > > > > routing?
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > Regards
>>> > > > > > >> > > > > > > > > > > > Hrisikesh
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Tron=
d
>>> > > Endrest=F8l
>>> > > > > <
>>> > > > > > >> > > > > > > > > > > > Trond.Endrestol@fagskolen.gjovik.no>
>>> wrote:
>>> > > > > > >> > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530,
>>> hrkesh sahu
>>> > > > > wrote:
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > > HI All,
>>> > > > > > >> > > > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > I have a FreeBSD 9.1 Release
>>> installed
>>> > > with
>>> > > > > TWO
>>> > > > > > >> NIC
>>> > > > > > >> > > > > cards. I
>>> > > > > > >> > > > > > > was
>>> > > > > > >> > > > > > > > > > > trying
>>> > > > > > >> > > > > > > > > > > > > to
>>> > > > > > >> > > > > > > > > > > > > > make this FreeBSD machine as a
>>> router .
>>> > > > > > >> > > > > > > > > > > > > > This is my rc.conf
>>> > > > > > >> > > > > > > > > > > > > > --------------------------------
>>> > > > > > >> > > > > > > > > > > > > > ifconfig_rl0 =3D "inet
>>> 192.168.100.101
>>> > > netmask
>>> > > > > > >> > > > > 255.255.255.0"
>>> > > > > > >> > > > > > > > > > > > > > ifconfig_re0=3D"inet 192.168.200=
.101
>>> > > netmask
>>> > > > > > >> > > 255.255.255.0"
>>> > > > > > >> > > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > gateway_enable =3D "YES"
>>> > > > > > >> > > > > > > > > > > > > > ifconfig_rl0 =3D "DHCP"
>>> > > > > > >> > > > > > > > > > > > > > ifconfig_re0 =3D "DHCP"
>>> > > > > > >> > > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > defaultrouter =3D "192.168.100.1=
"
>>> > > > > > >> > > > > > > > > > > > > > ipv6_activate_all_interfaces =3D
>>> "YES"
>>> > > > > > >> > > > > > > > > > > > > > sshd_enable =3D "YES"
>>> > > > > > >> > > > > > > > > > > > > > synchronous_dhclient=3D"YES"
>>> > > > > > >> > > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > Please help me to establish a IP=
v4
>>> > > router.
>>> > > > > > >> > > > > > > > > > > > > > Both the interfaces are connecte=
d
>>> to to
>>> > > > > > >> different
>>> > > > > > >> > > laptops
>>> > > > > > >> > > > > > > with a
>>> > > > > > >> > > > > > > > > > > static
>>> > > > > > >> > > > > > > > > > > > > IP
>>> > > > > > >> > > > > > > > > > > > > > address.
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > You should place a # in front of
>>> the two
>>> > > > > lines:
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > ifconfig_rl0 =3D "DHCP"
>>> > > > > > >> > > > > > > > > > > > > > ifconfig_re0 =3D "DHCP"
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > Next, you probably shouldn't place
>>> spaces
>>> > > > > before
>>> > > > > > >> and
>>> > > > > > >> > > after
>>> > > > > > >> > > > > the
>>> > > > > > >> > > > > > > > > equal
>>> > > > > > >> > > > > > > > > > > > > signs.
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > Laptop 1 =3D 192.168.100.102  (
>>> connected
>>> > > to
>>> > > > > > >> interface
>>> > > > > > >> > > rl0)
>>> > > > > > >> > > > > > > > > gateway  -
>>> > > > > > >> > > > > > > > > > > > > > 192.168.100.1
>>> > > > > > >> > > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > Laptop 2 =3D 192.168.200.102 (
>>> connected
>>> > > to
>>> > > > > > >> interface
>>> > > > > > >> > > re0)
>>> > > > > > >> > > > > > > > > > > > > > ping from Laptop1 -> rl0 is
>>> successful
>>> > > > > > >> > > > > > > > > > > > > > but ping from Laptop1 -> re0 is
>>> not
>>> > > > > successful.
>>> > > > > > >> > > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > > After this I want to know also
>>> How to
>>> > > make
>>> > > > > this
>>> > > > > > >> as
>>> > > > > > >> > > IPv6
>>> > > > > > >> > > > > > > router?
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > See
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > >
>>> > > > > > >> > >
>>> > > > > > >>
>>> > > > >
>>> > >
>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.=
html
>>> > > > > > >> > > > > > > > > > > > > .
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > You probably should create a ULA
>>> prefix or
>>> > > > > two,
>>> > > > > > >> and
>>> > > > > > >> > > assign
>>> > > > > > >> > > > > > > these to
>>> > > > > > >> > > > > > > > > > > > > your router interfaces.
>>> > > > > > >> > > > > http://www.sixxs.net/tools/grh/ula/might
>>> > > > > > >> > > > > > > > > help
>>> > > > > > >> > > > > > > > > > > > > you.
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > Something along these lines might
>>> help you
>>> > > > > achieve
>>> > > > > > >> > > what you
>>> > > > > > >> > > > > > > want:
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > ifconfig_rl0_ipv6=3D"inet6
>>> > > fd8f:d6d0:e6e7:100::1
>>> > > > > > >> > > prefixlen
>>> > > > > > >> > > > > 64"
>>> > > > > > >> > > > > > > > > > > > > ifconfig_re0_ipv6=3D"inet6
>>> > > fd44:13de:a366:200::1
>>> > > > > > >> > > prefixlen
>>> > > > > > >> > > > > 64"
>>> > > > > > >> > > > > > > > > > > > > ipv6_gateway_enable=3D"YES"
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > > > > Finally you probably should
>>> configure and
>>> > > > > enable
>>> > > > > > >> Router
>>> > > > > > >> > > > > > > > > Advertisement
>>> > > > > > >> > > > > > > > > > > > > and Host Auto Configuration as
>>> explained
>>> > > in
>>> > > > > > >> section
>>> > > > > > >> > > > > 32.11.6 of
>>> > > > > > >> > > > > > > > > > > > >
>>> > > > > > >> > > > > > > > > > >
>>> > > > > > >> > > > > > > > >
>>> > > > > > >> > > > > > >
>>> > > > > > >> > > > >
>>> > > > > > >> > >
>>> > > > > > >>
>>> > > > >
>>> > >
>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.=
html
>>> > > > > > >> > > > > > > > > > > > > .
>>>
>>> --
>>> +-------------------------------+------------------------------------+
>>> | Vennlig hilsen,               | Best regards,                      |
>>> | Trond Endrest=F8l,              | Trond Endrest=F8l,                 =
  |
>>> | IT-ansvarlig,                 | System administrator,              |
>>> | Fagskolen Innlandet,          | Gj=F8vik Technical College, Norway,  =
|
>>> | tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
>>> | sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
>>> +-------------------------------+------------------------------------+
>>>
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMB42my-KuxhZvqaSNjtf-vT%2BfkWJ6YkvthT--DvrRv8_%2B4LSQ>