help needed setting up NATIVE ipv6 connection
aronesimi at yahoo.com
Tue Feb 20 00:50:10 UTC 2007
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 ?
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
More information about the freebsd-questions