顯示具有 IPv6 標籤的文章。 顯示所有文章
顯示具有 IPv6 標籤的文章。 顯示所有文章

2015年5月10日 星期日

[IPv6] Autoconfiguration and DHCPv6


RA format

  • M=1, O=0 or 1: All information (include Prefix、DNS) get from DHCPv6 Server. (Stateful DHCPv6)
  • M=0, O=1 : Use Prefix from RA, but the info the DNS get from DHCPv6 Server. (Stateless DHCPv6)
  • M=0, O=0 : Use Prefix from RA, but client can’t get DNS from DHCPv6 Server. (Stateless autoconfiguration)
Stateful : Must maintain the table which contain all info by DHCPv6 Server. (IPv6 assign, Ipv6 mapping)
Stateless : No need to dynamic maintain table by DHCPv6 Server.
Reference:
IPv6 位址的取得 (Autoconfiguration and DHCPv6)

2013年9月25日 星期三

2013年9月2日 星期一

[ipv6] stateless auto-configuration - using IEEE EUI-64


[ipv6] stateless auto-configuration - using IEEE EUI-64



Stateful Autoconfiguration -

Like ipv4, IP was assigned by DHCP server.



Stateless Autoconfiguration -

1. Combine with network prefix and its ethernet MAC address (EUI-64).

2. IGMP = option 31









Reference :



2013年7月22日 星期一

[IPv6] Stateless Auto-configuration


[IPv6] Stateless Auto-configuration



ff:fe (64 bit) in the middle of IPv6



eth0      Link encap:Ethernet  HWaddr 00:22:CF:6B:F6:F9  

          inet addr:101.2.1.69  Bcast:111.2.1.255  Mask:255.255.255.0

          inet6 addr: 2001:1::2101/64 Scope:Global

          inet6 addr: fe80::222:cfff:fe6b:f6f9/64 Scope:Link



abc0  Link encap:Ethernet  HWaddr 00:0C:01:01:09:63  

          inet addr:101.5.3.200  Bcast:111.5.3.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:1ff:fe01:963/64 Scope:Link



eth0      Link encap:Ethernet  HWaddr 00:0B:00:00:AD:D0  

          inet6 addr: fe80::20b:ff:fe00:add0/64 Scope:Link



lan0      Link encap:Ethernet  HWaddr 00:0C:01:01:09:64  

          inet6 addr: fe80::20c:1ff:fe01:964/64 Scope:Link

          

Reference :



2013年1月31日 星期四

[IPv6][IPv4] IPv6 and IPv4 subnet matrix table


[IPv6][IPv4] IPv6 and IPv4 subnet matrix table


IPv6 subnet matrix table

2001:0DB8:0400:000e:0000:0000:0000:402b
XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX
||| |||| |||| |||| |||| |||| ||||
||| |||| |||| |||| |||| |||| |||128
||| |||| |||| |||| |||| |||| ||124
||| |||| |||| |||| |||| |||| |120
||| |||| |||| |||| |||| |||| 116
||| |||| |||| |||| |||| |||112
||| |||| |||| |||| |||| ||108
||| |||| |||| |||| |||| |104
||| |||| |||| |||| |||| 100
||| |||| |||| |||| |||96
||| |||| |||| |||| ||92
||| |||| |||| |||| |88
||| |||| |||| |||| 84
||| |||| |||| |||80
||| |||| |||| ||76
||| |||| |||| |72
||| |||| |||| 68
||| |||| |||64
||| |||| ||60
||| |||| |56
||| |||| 52
||| |||48
||| ||44
||| |40
||| 36
||32
|28
24

IPv4 subnet matrix table






Reference :




  1. IPv6 subnet matrix table


  2. Working with IP Addresses


2013年1月24日 星期四

2013年1月23日 星期三

[IPV6][Ubuntun] How to set IPV6 address and ping IPv6 address


1. Assign IPv6 address
Good@Good-laptop:~$ sudo ifconfig eth0  inet6 add 2001:1::3001/64

2. Ping  IPv6 address
Good@Good-laptop:~$ ping6 2001:1::2009
PING 2001:1::2009(2001:1::2009) 56 data bytes
64 bytes from 2001:1::2009: icmp_seq=1 ttl=64 time=6.75 ms
64 bytes from 2001:1::2009: icmp_seq=2 ttl=64 time=0.256 ms
64 bytes from 2001:1::2009: icmp_seq=3 ttl=64 time=0.293 ms
64 bytes from 2001:1::2009: icmp_seq=4 ttl=64 time=0.249 ms
64 bytes from 2001:1::2009: icmp_seq=5 ttl=64 time=0.292 ms
64 bytes from 2001:1::2009: icmp_seq=6 ttl=64 time=0.250 ms
^C
--- 2001:1::2009 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4999ms

rtt min/avg/max/mdev = 0.249/1.349/6.757/2.418 ms
Good@Good-laptop:~$

Reference :