Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bind ipv6 addresses automatically with 6to4 init-script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jtb
Apprentice
Apprentice


Joined: 19 Dec 2003
Posts: 157
Location: Germany/Darmstadt

PostPosted: Fri Feb 16, 2007 10:39 pm    Post subject: Bind ipv6 addresses automatically with 6to4 init-script Reply with quote

Hi,

I'm currently using 6to4 and it's working fine.
But if I use the new base-layout-1.12 6to4 script (see http://gentoo-wiki.com/HOWTO_IPv6) it only binds 2002:*::1 to my interface. How can I bind addresses like :2 or at best a whole subnet to my tunnel interface?
_________________
Jens

.. God is real - unless declared integer!
Back to top
View user's profile Send private message
xces
Guru
Guru


Joined: 11 Oct 2002
Posts: 515

PostPosted: Sat Feb 17, 2007 10:05 pm    Post subject: Reply with quote

You can easily add IP(v6) addresses to your network interfaces in your /etc/conf.d/net. See /etc/conf.d/net.example for starters.
Back to top
View user's profile Send private message
Jtb
Apprentice
Apprentice


Joined: 19 Dec 2003
Posts: 157
Location: Germany/Darmstadt

PostPosted: Sun Feb 18, 2007 9:37 am    Post subject: Reply with quote

xces wrote:
You can easily add IP(v6) addresses to your network interfaces in your /etc/conf.d/net. See /etc/conf.d/net.example for starters.


please reread my request.
mmh, I don't want to bind each address manually and furthermore it doesn't seem to work:
Code:

config_6to4=( "2002:58c6:d9fe::2" )


But no 2002:58c6:d9fe::2 available:
Code:

6to4      Link encap:IPv6-in-IPv4
          inet6 addr: 2002:58c6:d9fe::1/16 Scope:Global
          inet6 addr: 2002:58c6:d9fd::1/16 Scope:Global
          inet6 addr: 2002:58c6:d9fc::1/16 Scope:Global
          inet6 addr: 2002:58c6:d9fb::1/16 Scope:Global
          inet6 addr: 2002:58c6:d9fa::1/16 Scope:Global
          inet6 addr: 2002:58c6:268b::1/16 Scope:Global

_________________
Jens

.. God is real - unless declared integer!
Back to top
View user's profile Send private message
xces
Guru
Guru


Joined: 11 Oct 2002
Posts: 515

PostPosted: Sun Feb 18, 2007 11:03 am    Post subject: Reply with quote

Jtb wrote:
please reread my request.
mmh, I don't want to bind each address manually and furthermore it doesn't seem to work:

I already read your post. Since it is not possible to bind a whole IP subnet to an interface, you need to explicitly add the IP addresses you use to your /etc/conf.d/net.
Of course, you have to bring up the interface with /etc/init.d/net.6to4 which is an symlink to /etc/init.d/net.lo.
Back to top
View user's profile Send private message
Jtb
Apprentice
Apprentice


Joined: 19 Dec 2003
Posts: 157
Location: Germany/Darmstadt

PostPosted: Sun Feb 18, 2007 11:20 am    Post subject: Reply with quote

I've tried manually binding but it doesn't work :(
_________________
Jens

.. God is real - unless declared integer!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum