View previous topic :: View next topic |
Author |
Message |
Jtb Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Dec 2003 Posts: 157 Location: Germany/Darmstadt
|
Posted: Fri Feb 16, 2007 10:39 pm Post subject: Bind ipv6 addresses automatically with 6to4 init-script |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xces Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey.gif)
Joined: 11 Oct 2002 Posts: 515
|
Posted: Sat Feb 17, 2007 10:05 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jtb Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Dec 2003 Posts: 157 Location: Germany/Darmstadt
|
Posted: Sun Feb 18, 2007 9:37 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xces Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey.gif)
Joined: 11 Oct 2002 Posts: 515
|
Posted: Sun Feb 18, 2007 11:03 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jtb Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Dec 2003 Posts: 157 Location: Germany/Darmstadt
|
Posted: Sun Feb 18, 2007 11:20 am Post subject: |
|
|
I've tried manually binding but it doesn't work ![Sad :(](images/smiles/icon_sad.gif) _________________ Jens
.. God is real - unless declared integer! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|