|
Welcome to Catalin(ux) M. BOIE's page!
Here you can find some work of mine on Linux kernel & other stuff.
E-mail: catab # embedromix dot ro
Phone: +40-745-048374
|
|
For commercial support and customizations, contact us at: Embedromix
|
[Home]
[Networking]
[Crypto]
[Linux kernel patches]
[Userspace]
[Docs]
[CV/Resume]
[Links]
Name |
Description |
Links |
Presentations |
Presentations made by me
|
present.html |
IFB |
A mini howto on how to shape on incoming packets and distribute
packets on multiple interfaces, sharing bandwidth.
|
ifb.html |
RAID mini HOWTO |
A mini howto describing linear, 0, 1, 5 and 6, using mdadm.
|
RAID.html |
git mini HOWTO |
A mini howto describing how to use git.
|
git.html |
LVM mini HOWTO |
A mini howto describing how to use LVM.
|
LVM.html |
IPv6 mini howtos |
Some mini howtos to easy IPv6 implementation.
|
ipv6.html |
Random stuff |
Some usefull one-liners.
|
random.html |
Name |
Description |
Links |
IPv6 6to4 |
A mini howto describing 6to4 tunneling.
|
ipv6-6to4.html |
IPv6 ULIUA |
A mini howto describing "Unique Local IPv6 Unicast Addresses".
|
ipv6-uliua.html |
IPv6 - 6to4 tunneling
Content: 6to4 tunneling for fastest and simplest way to be IPv6 enabled.
Author: Catalin(ux) M BOIE
URL: http://kernel.embedromix.ro/docs/
Version: 0.1
IPv6 class used for this tunneling is 2002::/16:
- Format prefix (first 3 bits) are 001
- TLA (next 13 bits) are 0x0002
- V4ADDR (next 32 bites) are the IPv4 address
- SLA ID (next 16 bits are the site local network)
- Rest of 64 bits are the interface id.
For an IPv4 host you have a /48 class, so 65536 /64 local network can be
assigned internally.
IPv6 packets are packed in an IPv4 packet, with protocol 41.
Example of a 6to4 configuration:
- In /etc/sysconfig/iptables, add: "-A INPUT -p ipv6 -j ACCEPT" and
restart (service iptables restart).
- In /etc/sysconfig/network add NETWORKING_IPV6=yes and IPV6_DEFAULTDEV=tun6to4.
- In /etc/sysconfig/network-scripts/ifcfg-eth0 add IPV6INIT=yes and IPV6TO4INIT=yes.
- Restart network (service network restart).
- Allow IPv6 access to your services: add in /etc/sysconfig/ip6tables INPUT ACCEPT rules.
- ping6 www.sixxs.net or ping6 kernel.embedromix.ro or tracepath6 kernel.embedromix.ro.
Links:
Notes:
- You have to activate IPv6 forwarding (/etc/sysconfig/network:IPV6FORWARDING=yes) if
you want to delegate some subnetworks inside. Also, you have to allow
forwarding by adding FORWARD rules to /etc/sysconfig/ip6tables
- If you have a connection with a tunnel broker, it is still better to use a
6to4 tunnel (ifcfg-eth?: IPV6INIT=yes, IPV6TO4INIT=yes) to direclty access
6to4 hosts because there is a more shorter route.
TODO:
- IPV6_AUTOTUNNEL
- 192.88.99.1
- radvd
|