All Classes Namespaces Files Functions Pages
Layer2.Ppp.NetworkControl.Ipv6cp Class Reference

IP version 6 over PPPoE. More...

Methods

 Close
 Perform an administrative close on the IPv6CP protocol. More...
 
 Description.Get
 Returns a textual description of the object.
 
 Destructor
 
 InterfaceIdentifier.Get
 Returns the local IPv6 interface identifier. More...
 
 InterfaceIdentifier.Remote.Get
 Returns the IPv6 interface identifier of the remote peer. More...
 
 Open
 Perform an administrative open on the IPv6CP protocol. More...
 
 Parent.Get
 Returns the parent object.
 

Class overview

IP version 6 over PPPoE.

IPv6 Control Protocol (IPv6CP) is a network control protocol for establishing and configuring the IPv6 (see also Layer3.IPv6) over PPP . It forms IPv6 link-local addresses on PPP links. The IPv6 Control Protocol (IPV6CP) is responsible for configuring, enabling, and disabling the IPv6 protocol modules on both ends of the point-to-point link. IPV6CP uses the same packet exchange mechanism as the Link Control Protocol (LCP).

The implementation is conform RFC2472

Since
2.5.0

Definition at line 5464 of file api.tcl.

Method documentation

Layer2.Ppp.NetworkControl.Ipv6cp::Close

Perform an administrative close on the IPv6CP protocol.

This event indicates that the link is not available for traffic.

In the closed state, the protocol will not come up when the PPP session is established. When the PPP/IPv6CP session was already established, the IPv6CP session will properly terminate the network layer.

See also RFC1661, section 4.3 (RFC1661, page 17) for detailed information about the Close event.

Definition at line 5476 of file api.tcl.

Layer2.Ppp.NetworkControl.Ipv6cp::Destructor
Warning
This object cannot be destroyed. An exception will be thrown when this method is called.

Definition at line 5487 of file api.tcl.

Layer2.Ppp.NetworkControl.Ipv6cp::InterfaceIdentifier.Get

Returns the local IPv6 interface identifier.

This method returns the IPv6 interface identifier to be used at the local end of the link. The initial value is based on the local MAC address (from Layer2.EthernetII::Mac.Get).

After IPv6 interface identifier negotiation with the remote peer, the method will return the IPv6 interface identifier negotiated with the remote peer.

The latter will be either:

  • the initial value if the remote peer accepted that address.
  • the address imposed by the remote peer when the remote peer did not accept the requested address.
Returns
The IPv6 interface identifier to be used by the local peer.
Example
1 $ipcp InterfaceIdentifier.Get

Returns:

02ff:12ff:febb:cc01  

Definition at line 5505 of file api.tcl.

Layer2.Ppp.NetworkControl.Ipv6cp::InterfaceIdentifier.Remote.Get

Returns the IPv6 interface identifier of the remote peer.

This method will return the IPv6 interface identifier which has been requested by the remote peer during (the last) address negotiation.

Returns
IPv6 interface identifier of the remote peer of the last address negotiation. '00:00:00:00:00:00:00:00' if no negotiation took place yet.
Example
1 $ipcp InterfaceIdentifier.Remote.Get

Returns:

0205:8eff:fe24:7900  

Definition at line 5519 of file api.tcl.

Layer2.Ppp.NetworkControl.Ipv6cp::Open

Perform an administrative open on the IPv6CP protocol.

This event indicates that the link is administratively available for traffic.

In the opened state, the protocol will come up when the PPP session is established. When the PPP/IPv6CP session was already established, the IPv6CP will start negotiation.

See also RFC1661, section 4.3 (RFC1661, page 17) for detailed information about the Open event.

Definition at line 5531 of file api.tcl.