Você está na página 1de 9

Computer Networks

FEATURE OF IPv4 AND IPV6

Feature IPv4 IPv6


Address  32 bits long (4 bytes/octets).  128 bits long (16 bytes/octets).
 Composed of a network and a host portion,  Basic architecture is 64 bits for the network
which depend on address class. number and 64 bits for the host number. Often,
 Have 5 classes: A, B, C, D, or E depending the host portion of an IPv6 address (or part of
on initial few bits. it) will be derived from a MAC address or
 Address space: = 4, 294,967,296 other interface identifier. Depending on the
possible address. subnet prefix, IPv6 has a more complicated
 Address format: aaa.aaa.aaa.aaa , aaa only architecture than IPv4.
represents number 0 – 255. Each a is a  Address space: that is 1028 (79 228 162
decimal digit. Leading zeros can be omitted. 514 264 337 593 543 950 336) times larger
Maximum number of print characters is 15, than the number of IPv4 addresses.
not counting a mask.  Address format :
 Address example : 125.12.3.65 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, x
consists of letter of numbers. Eeach x is a
hexadecimal digit, representing 4 bits. Leading
zeros can be omitted. The double colon (::) can
be used once in the text form of an address, to
designate any number of 0 bits.
 Address example:
2145:00D5:2F3B:0000:0000:00FF:EF00:98F
3
 Address with Leading Zeros Removed:
2145:D5:2F3B:0:0:FF:EF00:98F3
 IPv6 Address with Compressed and Removed
Zeros:
2145:D5:2F3B::FF:EF00:98F3

Address  Allocated by network class A, B, C (large,  Earliest stages. IPv4 compatibility


allocation medium, small nets).  Hierarchical by registry, provider, subscriber,
 Classless Inter-Domain Routing (CIDR) are and subnet
made as address space is depleted, stopgap  Hierarchical by geographic region
measure to deal with address space exhaustion,  Local use by link or site
router table overgrowth.  Over 70% of addresses reserved for future
 Allocation has not been balanced among expansion
institutions and nations.  The Internet Engineering Task Force (IETF)
 Local use limited to link only and Internet Architecture Board (IAB) have
 Expansion room used up recommended that essentially every
organization, home, or entity be allocated
a /48 subnet prefix length. This would leave 16
bits for the organization to do subnetting.
 The address space is large enough to give every
person in the world their own/48 subnet prefix
length.

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

Address lifetime  Not an applicable concept, except for  2 lifetimes: preferred and valid, with the
addresses assigned using DHCP. preferred lifetime always <= valid.
 After the preferred lifetime expires, the
address is not to be used as a source IP address
for new connections if an equally good
preferred address is available.
 After the valid lifetime expires, the address is
not used (recognized) as a valid destination IP
address for incoming packets or used as a
source IP address.

Address mask  Used to designate network from host portion.  Not used

Address prefix  Sometimes used to designate network from  Used to designate the subnet prefix of an
host portion. address.
 Sometimes written as /nn suffix on  Written as /nnn (up to 3 decimal digits, 0 <=
presentation form of address. nnn <= 128) suffix after the print form.
 An example is FE80::982:2A5C/10, where the
first 10 bits comprise the subnet prefix.

Address  ARP is used to find a physical address, such  Use Internet Control Message Protocol version
Resolution as the MAC or link address, associated with 6 (ICMPv6). Embeds ARP function within IP
Protocol (ARP) an IPv4 address. itself as part of the algorithms for stateless auto
configuration and neighbor discovery.
 No such thing as ARP6.

Address scope  For unicast addresses, the concept does not  Address scope is part of IPv6 architecture.
apply.  Unicast addresses have two defined scopes,
 There are designated private address ranges including link-local and global.
and loopback. Outside of that, addresses are  Multicast addresses have 14 scopes. Default
assumed to be global. address selection for both source and
destination takes scope into account.
 A scope zone is an instance of a scope in a
particular network. As a consequence, IPv6
addresses sometimes must be entered or
associated with a zone ID. The syntax
is %zid where zid is a number (usually small)
or a name. The zone ID is written after the
address and before the prefix.
 For example, 2ba::1:2:14e:9a9b:c%3/48.

Address types  Unicast, Point-to-point  Unicast,


 Multicast but limited and  Multicast (sends to many interfaces at once)
 Local broadcast (depends on physical link - by link
features); - by site
 Experimental anycast (not globally available) - by organization
- by any grouping
 Anycast (reaches one of a group of interfaces)

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

Communications  A tool to collect a detailed trace of TCP/IP  Same for IPv4, and IPv6 is supported.
trace (and other) packets that enter and leave the
system.

Configuration  We must configure a newly installed system  Optional, depending on functions required.
before it can communicate with other  IPv6 can be used with any Ethernet adapter and
systems; that is, IP addresses and routes must can be run over the loopback interface.
be assigned.  IPv6 interfaces are self-configuring using IPv6
stateless autoconfiguration. We can also
manually configure the IPv6 interface. So, the
system will be able to communicate with other
IPv6 systems that are local and remote,
depending on the type of network and whether
an IPv6 router exists.

Domain Name  Applications accept host names and then use  Support for IPv6 exists using AAAA (quad A)
System (DNS) DNS to get an IP address, using socket record type and reverse lookup (IP-to-name).
API gethostbyname(). An application may elect to accept IPv6
 Applications also accept IP addresses and addresses from DNS (or not) and then use IPv6
then use DNS to get host names to communicate (or not).
using gethostbyaddr().T  The socket API gethostbyname() only supports
 The domain for reverse lookups is in- IPv4. For IPv6, a newgetaddrinfo() API is used
addr.arpa. to obtain (at application choice) IPv6 only, or
IPv4 and IPv6 addresses.
 For IPv6, the domain used for reverse lookups
is ip6.arpa, and if not found then ip6.int

Dynamic Host  Used to dynamically obtain an IP address and  The i5/OS implementation of DHCP does not
Configuration other configuration information. support IPv6.
Protocol (DHCP) i5/OS supports a DHCP server for IPv4.

File Transfer  File Transfer Protocol allows you to send and  The i5/OS implementation of FTP does not
Protocol (FTP) receive files across networks. support IPv6.

Packet Size  65536 octets maximum  Normal packet up to 65536 octets


 Compromise between overhead of smaller  "Jumbogram" - up to 4 billion octets for high-
packets and line seizure by large ones performance computing LANs

Fragments  When a packet is too big for the next link  Done at most once, by host (not router), can
over which it is to travel, possible multiple only occur at the source node, and reassembly

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

step fragmentation, done by routers, is only done at the destination node. The
impacting routing performance. fragmentation extension header is used.
 After MTU discovery over the path, improving
router performance

Host table  On iSeries Navigator, a configurable table  Currently, this table does not support IPv6.
that associates an Internet address with a host  Customers need to configure an AAAA record
name; for example, 127.0.0.1, loopback. in a DNS for IPv6 domain resolution. They can
 This table is used by the sockets name run the DNS locally on the same system as the
resolver, either before a DNS lookup or after resolver, or run it on a different system.
a DNS lookup fails (determined by host name
search priority).

Interface  The conceptual or logical entity used by  Same concept as IPv4.


TCP/IP to send and receive packets and  Can be started and stopped independently of
always closely associated with an IPv4 each other and independently of TCP/IP using
address, if not named with an IPv4 address. iSeries Navigator only.
 Sometimes referred to as a logical interface.
Can be started and stopped independently of
each other and independently of TCP/IP using
STRTCPIFC and ENDTCPIFC commands
and using iSeries Navigator.

Internet Control  ICMP is used by IPv4 to communicate  Internet Control Message Protocol version 6
Message Protocol network information. (ICMPv6) provides some new attributes.
(ICMP)  Basic error types remain, such as destination
unreachable, echo request and reply.
 New types and codes are added to support
neighbor discovery and related functions.

Internet Group  IGMP is used by IPv4 routers to find hosts  Replaced by MLD (multicast listener
Management that want traffic for a particular multicast discovery) protocol.
Protocol (IGMP) group, and used by IPv4 hosts to inform IPv4  Does essentially what IGMP does for IPv4, but
routers of existing multicast group listeners uses ICMPv6 by adding a few MLD-specific
(on the host). ICMPv6 type values.

IP header  Variable length of 20-60 bytes, depending on  Fixed length of 40 bytes. No IP header options.
IP options present.  Simpler and more efficient than the IPv4
 Time-consuming to handle header.

IP header  Various options that might accompany an IP  No options.


options header (before any transport header).  IPv6 adds additional (optional) extension
headers.
 The extension headers are AH and ESP
(unchanged from IPv4), hop-by-hop, routing,
fragment, and destination.

Special Fields in  Many types, often not supported by vendors  Eliminated for efficiency or replaced by other

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

Header due to impact on performance features

IP header  The protocol code of the transport layer or  The type of header immediately following the
protocol byte packet payload; for example, ICMP. IPv6 header.
 Uses the same values as the IPv4 protocol
field. But the architectural effect is to allow a
currently defined range of next headers, and is
easily extended. The next header will be a
transport header, an extension header, or
ICMPv6.

IP header Type  Used by QoS and differentiated services to  Designates the IPv6 traffic class, similarly to
of Service (TOS) designate a traffic class. IPv4. Uses different codes. Currently, IPv6
byte does not support TOS.

iSeries Navigator  iSeries Navigator provides a complete  Same as IPv4. No CL commands are available
support configuration solution for TCP/IP. for IPv6 configuration.

LAN connection  Used by an IP interface to get to the physical  IPv6 can be used with any Ethernet adapters
network. and is also supported over virtual Ethernet
 Many types exist; for example, token ring, between logical partitions.
and Ethernet.
 Sometimes referred to as the physical
interface, link, or line.

Layer 2 Tunnel  L2TP can be thought of as virtual PPP, and  Currently, the i5/OS implementation of L2TP
Protocol (L2TP) works over any supported line type. does not support IPv6.

Loopback  An interface with an address  The concept is the same as in IPv4. The single
address of 127.*.*.* (typically127.0.0.1) that can only loopback address
be used by a node to send packets to itself. is0000:0000:0000:0000:0000:0000:0000:0001
 The physical interface (line description) is or ::1 (shortened version).
named *LOOPBACK.  The virtual physical interface is
named *LOOPBACK

Maximum  Maximum transmission unit of a link is the  IPv6 has an architected lower bound on MTU
Transmission maximum number of bytes that a particular of 1280 bytes. It will not fragment packets
Unit (MTU) link type, such as Ethernet or modem, below this limit.
supports.  To send IPv6 over a link with less than 1280
 576 is the typical minimum. MTU, the link-layer must transparently
fragment and defragment the IPv6 packets.

Netstat  A tool to look at the status of TCP/IP  IPv6 is supported for both 5250 and iSeries
connections, interfaces, or routes. Navigator.
 Available using iSeries Navigator and 5250.

Network Address  Basic firewall functions integrated into  Currently, NAT does not support IPv6. More

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

Translation TCP/IP, configured using iSeries Navigator. generally, IPv6 does not require NAT.
(NAT)  The expanded address space of IPv6 eliminates
the address shortage problem and enables easier
renumbering.

Network table  On iSeries Navigator, a configurable table  Currently, no changes are made to this table for
that associates a network name with an IP IPv6.
address without mask. For example, host
Network14 and IP address 1.2.3.4.

Node info query  Does not exist.  A simple and convenient network tool that
should work like ping, except with content: an
IPv6 node may query another IPv6 node for the
target's DNS name, IPv6 unicast address, or
IPv4 address. Currently, not supported.
Packet filtering  Basic firewall functions integrated into  Cannot use packet filtering with IPv6.
TCP/IP, configured using iSeries Navigator.

Packet  The i5/OS TCP/IP stack can be configured to  IPv6 packets are not forwarded.
forwarding forward IP packets it receives for nonlocal IP
addresses.
 Typically, the inbound interface and outbound
interface are connected to different LANs.

PING  Basic TCP/IP tool to test reachability.  IPv6 is supported, for both 5250 and iSeries
 Available using iSeries Navigator and 5250. Navigator.

Point-to-Point  PPP supports dialup interfaces over various  Currently, the i5/OS implementation of PPP
Protocol (PPP) modem and line types. does not support IPv6.

Port restrictions  These i5/OS panels allow a customer to  Port restrictions for IPv6 are identical to those
configure a selected port number or port available in IPv4.
number ranges for TCP or UDP so that they
are only available for a specific profile.

Ports  TCP and UDP have separate port spaces, each  For IPv6, ports work the same as IPv4.
identified by port numbers in the range 1-  There are now four separate port spaces. For
65535. example, there are two TCP port 80 spaces to
which an application can bind, one in
AF_INET and one in AF_INET6.

Private and  All IPv4 addresses are public.  IPv6 has an analogous concept, but with
public addresses important differences.
 Only three address ranges that have been  Addresses are public or temporary, previously
designated as private by IETF RFC termed anonymous. Unlike IPv4 private
1918:10.*.*.* addresses, temporary addresses can be globally
(10/8), 172.16.0.0 through 172.31.255.255 routed.

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

(172.16/12) , and 192.168.*.* (192.168/16).  The motivation is also different; IPv6


 Private address domains are commonly used temporary addresses are meant to shield the
within organizations. Private addresses cannot identity of a client when it initiates
be routed across the Internet. communication (a privacy concern). Temporary
addresses have a limited lifetime, and do not
contain an interface identifier that is a link
(MAC) address. They are generally
indistinguishable from public addresses.
 IPv6 has the notion of limited address scope
using its architected scope designations.

Protocol table  On iSeries Navigator, a configurable table  The table can be used with IPv6 without
that associates a protocol name with its change.
assigned protocol number; for example, UDP,
17.
 The system is shipped with a small number of
entries: IP, TCP, UDP, ICMP.

Quality of service  Quality of service allows you to request  Currently, the i5/OS implementation of QoS
(QoS) packet priority and bandwidth for TCP/IP does not support IPv6.
applications.

Renumbering  Done by manual reconfiguration, with the  Is an important architectural element of IPv6,
possible exception of DHCP. Generally, for a and is largely automatic, especially within
site or organization, a difficult and the /48 prefix.
troublesome process to avoid if possible.

Route  Logically, a mapping of a set of IP addresses  Conceptually, similar to IPv4. One important
(might contain only one) to a physical difference: IPv6 routes are associated (bound)
interface and a single next-hop IP address. IP to a physical interface (a link, such as ETH03)
packets whose destination address is defined rather than an interface. One reason that a route
as part of the set are forwarded to the next is associated with a physical interface is
hop using the line. IPv4 routes are associated because source address selection functions
with an IPv4 interface, hence, an IPv4 differently for IPv6 than for IPv4.
address.
 The default route is *DFTROUTE.

Routing  RIP is a routing protocol supported by the  Currently, RIP does not support IPv6. IPv6
Information routed daemon. routing uses static routes.
Protocol (RIP)
Services table  On i5/OS, a configurable table that associates  No changes are made to this table for IPv6.
a service name with a port and protocol; for
example, service name FTP-control, port 21,
TCP, and User Datagram Protocol (UDP).
 A large number of well-known services are
listed in the services table. Many applications
use this table to determine which port to use.

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

Simple Network  SNMP is a protocol for system management.  Currently, the i5/OS implementation of SNMP
Management does not support IPv6.
Protocol (SNMP)
Sockets API  These APIs are the way applications use  IPv6 enhances sockets so that applications can
TCP/IP. Applications that do not need IPv6 now use IPv6, using a new address family:
are not affected by sockets changes to support AF_INET6.
IPv6.  The enhancements have been designed so that
existing IPv4 applications are completely
unaffected by IPv6 and API changes.
Applications that want to support concurrent
IPv4 and IPv6 traffic, or IPv6-only traffic, are
easily accommodated using IPv4-mapped IPv6
addresses of the form::ffff:a.b.c.d,
where a.b.c.d is the IPv4 address of the client.
 The new APIs also include support for
converting IPv6 addresses from text to binary
and from binary to text.

Source address  An application may designate a source IP  As with IPv4, an application can designate a
selection (typically, using sockets bind()). If it binds to source IPv6 address usingbind(). Similarly to
INADDR_ANY, a source IP is chosen based IPv4, it can let the system choose an IPv6
on the route. source address by using in6addr_any. But
because IPv6 lines have many IPv6 addresses,
the internal method of choosing a source IP is
different.

Starting and  Use STRTCP and ENDTCP to start or end  Same as IPv4. IPv4 and IPv6 are not started or
stopping TCP/IP. stopped independently of one another or
independently of TCP/IP. That is, you start and
stop all of TCP/IP, not just IPv4 or IPv6.
 Any IPv6 interfaces are automatically started if
the AUTOSTART parameter = *YES (the
default). IPv6 cannot be used or configured
without IPv4. The IPv6 loopback interface, ::1,
will automatically be defined and activated
when IPv6 is started.

Telnet  Telnet allows to log on and use a remote  Currently, the i5/OS implementation of Telnet
computer as though you were connected to it does not support IPv6.
directly.
Trace route  Basic TCP/IP tool to do path determination.  Same for IPv6, and IPv6 is supported for both
Available using iSeries Navigator and 5250. 5250 and iSeries Navigator.
Transport layers  TCP, UDP, RAW.  The same transports exist in IPv6.
Unspecified  Apparently, not defined, as such. Socket  Defined as ::/128 (128 0 bits). It is used as the
address programming uses0.0.0.0 as INADDR_ANY. source IP in some neighbor discovery packets,
and various other contexts, like sockets. Socket
programming uses ::/128 as in6addr_any.
Virtual private  Virtual private network (using IPsec) allows  Currently, the i5/OS implementation of VPN

Prepared by: P58888 – UKM – MIS – 2011


Computer Networks

network (VPN) you to extend a secure, private network over does not support IPv6.
an existing public network.
Quality of  defined but not generally used consistently  flow labelling
Service  priority
 support for real-time data and multimedia
distribution

Routing  BGP-4 between subdomains  IDRP between subdomains


Management  uses TCP-high overhead  IP datagram-based - low overhead
 designed for 32-bit addresses  accommodates 128-bit addresses
 single address family  multiple address types
 full tables use large amounts of storage  aggregated tables economize storage
 OSPF, RIP within subdomains  OSPF and RIP updated but similar

Configuration  manual compilation of tables; even simple  automatic configuration of link-local addresses
Management networks require investment of time to based on physical addresses (e.g. Ethernet)
configure  stateless automatic configuration for simple
 support for local diskless workstation address networks
resolution  diskless workstation support
 heavy reliance on default routing paths  limited human administration, mostly for
complex environments
 neighbor discovery algorithm builds routing
paths

Security  limited; no authentication or encryption at IP  authentication (validation of packet origin)


level  encryption (privacy of contents)
 (dependence on higher-level protocols;  requires administration of "security associations"
vulnerable to denial-of-service and address to handle key distribution, etc.
deception or "spoofing" attacks

Table 1 : Feature Comparison IPv4 and IPv6 [6]

Prepared by: P58888 – UKM – MIS – 2011

Você também pode gostar