Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 16:50:09 -0800 (PST)
From:      Arone Silimantia <aronesimi@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   help needed setting up NATIVE ipv6 connection
Message-ID:  <382849.74059.qm@web58615.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello,

I am in a datacenter that provides native (not tunneled) ipv6 connectivity.

Unfortunately, all of the howtos for FreeBSD are focused on tunneling ipv6 and using gif0, etc.  This does not apply to me because I have a real ipv6 connection.

Right now things are simple - I have a single ipv4 address, and a single default gateway.  Easy.

My provider has given me a /48.  They emailed me and told me the following:

- IP block is 1234:1234:1234::/48
- gateway is ::1

That is all they told me.  So my first instinct was to ifconfig an alias on em0 with inet6, and then add a inet6 default route.  BUT, I keep reading that with ipv6 you don't want to manually configure addresses and routes - there is some kind of fancy autoconfigure you can do with your gateway so that you don't need to manually configure the addresses (?)

So two questions:

- is there indeed some fancy autoconfigure, and I don't need to manually ifconfig and 'route add inet6 default'

- if not, assuming I just want to assign a single ipv6 address to myself (let's say, ::2, since ::1 is the gateway) what is the ifconfig syntax to add that one ipv6 address to my NIC (em0) as an alias that will not interfere with the ipv4 address that is already there ?

Thanks.

 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?382849.74059.qm>