Samuel Mwamsaku
Software DeveloperForum Replies Created
-
170
HPs
0
QPs
1459
XPs
Tunneling is a technique used in networking to encapsulate one type of network packet within another. It allows the transmission of packets of one protocol (such as IPv6) through a network that only supports another protocol (such as IPv4). Tunneling is often used to solve compatibility issues between networks or to securely transmit data across a public or untrusted network.
-
Samuel Mwamsaku
MemberOctober 23, 2024 at 2:27 pm in reply to: How Dual Stack Works & When To Use It
170
HPs
0
QPs
1459
XPs
Dual stack helps resolve all scenarios where both IPv4 and IPv6 are involved, because it enables devices to support and communicate over both IPv4 and IPv6 networks. Drop comments for each scenario on how it works
-
Samuel Mwamsaku
MemberOctober 23, 2024 at 3:03 am in reply to: Incompatibility Between IPv6 and IPv4
170
HPs
0
QPs
1459
XPs
The following are scenarios that would require transition techniques
1. Provider’s access network does not support IPv6
2. IPv6 only access network
3.Upstream or peers does not support IPv6
4. Ipv6 only network
5. Ipv4 MPLS-based network core
6. IPv6 only servers
-
170
HPs
0
QPs
1459
XPs
In OSPF (Open Shortest Path First), routers use Link State Advertisements (LSAs) to share updates about network changes. When a topology change occurs, such as a new link being added or a router going down, an OSPF router generates an LSA. This LSA contains critical information such as the router’s state, the status of its links, and the costs associated with those links.
These LSAs are flooded throughout the OSPF routing domain, ensuring that every router has a consistent and up-to-date view of the network. As a result, each router can independently calculate the best path to each destination using the Dijkstra algorithm, ensuring fast convergence and accurate routing decisions in dynamic network environments. This process contrasts with distance vector protocols, where only direct neighbors share information.
-
170
HPs
0
QPs
1459
XPs
In IPv6 networking, routing protocols operate similarly to their IPv4 counterparts, with appropriate updates to handle IPv6 addresses. Here’s how the key protocols adapt to IPv6:
-
BGP (Border Gateway Protocol): BGP is an exterior gateway protocol that interconnects autonomous systems. It has been extended to support IPv6 through “address families.” BGP now supports both IPv4 and IPv6 routing by handling them in separate address families.
-
RIPng (RIP for IPv6): RIPng is an extension of the Routing Information Protocol (RIP) for IPv6. It uses distance vector routing and exchanges routing information based on hop count.
-
OSPFv3 (Open Shortest Path First for IPv6): OSPFv3 is an update to OSPF that supports both IPv4 and IPv6. It is a link-state protocol that calculates the shortest path for routing based on network topology.
-
ISIS (Intermediate System to Intermediate System): ISIS already had built-in support for multiple protocols and was extended to support IPv6 without significant changes. It is a link-state protocol used by ISPs and large networks.
-
-
170
HPs
0
QPs
1459
XPs
- SLAAC (Stateless Address Autoconfiguration): The host configures its own IPv6 address using the prefix in the RA (A-flag set) and uses the RA for the default gateway.
- Stateful DHCPv6: The host gets both its IPv6 address and other configuration settings (e.g., DNS) from a DHCPv6 server (M-flag set).
- Stateless DHCPv6: The host uses SLAAC to configure its address but uses DHCPv6 to get other configuration information, such as DNS (O-flag set).
-
L-Flag (On-link Flag):
- If set to 1, the prefix provided in the RA is on-link, meaning it can be used for communication within the local network without needing to go through a router.
- If set to 0, the prefix is not considered on-link, and traffic to that prefix must be routed.
-
Samuel Mwamsaku
MemberOctober 11, 2024 at 12:06 pm in reply to: Overview of Provisioning Mechanisms
170
HPs
0
QPs
1459
XPs
In SLAAC, a device automatically configures its IPv6 address and default gateway when joining a network. The router sends a Router Advertisement (RA) message containing the network prefix, which the device uses to generate its full IPv6 address by combining it with its unique identifier (like its MAC address). The RA message also provides the address of the default gateway (the router’s address), which the device uses to send traffic destined for outside networks. This enables the device to communicate both within the local network and with external networks like the internet
-
170
HPs
0
QPs
1459
XPs
SLAAC is a method that allows a device to automatically configure its own IPv6 address without needing a central server (like a DHCP server) to assign it one.
-
170
HPs
0
QPs
1459
XPs
The main NDP functions are duplicate address detection, Link layer address resolution, Neighbor unreachability detection and redirect. Comment if you have any questions regarding these 4 functions
-
170
HPs
0
QPs
1459
XPs
- ARP is used for mapping IP addresses to MAC addresses.
- IRDP helps discover routers on the network.
- ICMP is used for error reporting and diagnostics in network communication.
-
170
HPs
0
QPs
1459
XPs
There are 4 IPv6 allocation methods:
Sequential or n+1 method
Sparse/bisection allocation
Best fit allocation
Random allocation
-
170
HPs
0
QPs
1459
XPs
Use the lookup table to estimate how many bits are required at each level to get the right prefix length of the address
-
170
HPs
0
QPs
1459
XPs
The 3 phases of IPv6 address planning are:
1. Estimate the required space needed
2. Procure the required space
3. Implement
-
Samuel Mwamsaku
MemberOctober 6, 2024 at 11:51 pm in reply to: Configure, Verify and Troubleshoot IPv6 on RouterOS
170
HPs
0
QPs
1459
XPs
Before one can configure IPv6 on RouterOS, make sure the IPv6 package is installed and enabled on your device. By default, IPv6 might not be installed.
-
To check if IPv6 is installed:
- Open Winbox or Terminal.
- Go to System > Packages and check if the IPv6 package is listed.
- If the IPv6 package is missing, download and install the appropriate version from MikroTik’s website.
-
To enable IPv6 via the command line (Terminal):
/system package enable ipv6
/system reboot
-
-
Samuel Mwamsaku
MemberOctober 6, 2024 at 11:32 pm in reply to: Configure, Verify and Troubleshoot IPv6 on Junos
170
HPs
0
QPs
1459
XPs
- Configuration: IPv6 configuration on Junos involves enabling IPv6 routing, assigning IPv6 addresses to interfaces, and setting up static or dynamic routing protocols.
- Verification: You can verify IPv6 settings using commands like
show interfaces,show route protocol ipv6,show ipv6 neighbors, andshow ipv6 neighbors. These commands help verify the interface status, routing table, and neighbor discovery cache. - Troubleshooting: Troubleshoot IPv6 issues by checking the interface status, verifying routing, inspecting neighbor discovery, and using tools like
ping6,traceroute6, and traffic monitoring to diagnose and fix connectivity problems.
-
Samuel Mwamsaku
MemberOctober 6, 2024 at 2:32 pm in reply to: Configure, Verify and Troubleshoot IPv6 on MacOS
170
HPs
0
QPs
1459
XPs
On mac os, click on the Apple menu, then click on the system preferences, then network, then click on TCP/IP.
- Automatically: Enables automatic configuration of IPv6 addresses.
- Manually: Allows you to manually input the IPv6 address, prefix length, and router information.
-
170
HPs
0
QPs
1459
XPs
- Temporary IPv6 Address: Windows generates these addresses to prevent your device from being uniquely identifiable across sessions. Instead of using a single IPv6 address assigned to your device’s network interface, Windows generates temporary ones that change over time.
- Use in Web Browsing: When accessing websites, these temporary addresses are used instead of your regular IP address to avoid tracking.
-
Samuel Mwamsaku
MemberOctober 23, 2024 at 3:57 am in reply to: The 3 Classes of Transition Techniques
170
HPs
0
QPs
1459
XPs
Do learn tunneling in depth in the upcoming lessons, you will understand
-
170
HPs
0
QPs
1459
XPs
NDP is a specific protocol that uses ICMPv6 as a transport mechanism for its messaging. While ICMPv6 handles various types of messages across different tasks like error reporting and diagnostics, NDP is focused solely on neighbor-related communications on the local link like address resolution, router discovery, and duplicate address detection
-
Samuel Mwamsaku
MemberOctober 4, 2024 at 7:48 pm in reply to: Configure, Verify and Troubleshoot IPv6 on Windows
170
HPs
0
QPs
1459
XPs
very deep