Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

How do I assign IPv6 addresses manually?

So I'm still rather clueless with IPv6, but I wanted to try something with my network today. Currently, I assign IPv4 LAN addresses manually, so that my router is 192.168.0.1 , then my first computer is 192.168.0.2 , and so on.

So far, I haven't been able to figure out how to do this with IPv6. Or is the process completely different that this is not how it would work?

Router is an Archer C4000, and my main system runs Ubuntu 19.04

EDIT: To clarify with how I manually set network IP addresses, my router has a page where I can set an address of my choosing to a MAC address. No configuration is done outside of the router.

hiigaran's user avatar

  • Please edit question and indicate how you assign LAN addesses manually. (On the router only? On your first computer as well?) I suspect you just set a network range on the router, and then addresses are not assigned "manually", but by DHCP from the router. On IPv6 then your router needs to advertise a subnet. On Ubuntu, you can set both IPv4 and IPv6 address manually with ip addr add ... . –  dirkt Sep 10, 2019 at 11:22
  • Edited. I'm going to guess then that it is assigned from a range, but then I limit what can be assigned based on MAC addresses. If I'm setting the IP address manually on each device, is there any further configuration that needs to be done (apart from avoiding duplicates), or will the router just accept that device A is going to use its own configured address? –  hiigaran Sep 10, 2019 at 12:00
  • If there's a page where you can assign an IPv4 address based on a MAC address, then this is for static addresses assigned via DHCP from the router. IPv6 works differently. While there is DHCPv6, the normal way is to use SLAAC , and let each computer pick an IPv6 address based on the announced subnet prefix.So this page won't help you to assign IPv6 addresses... –  dirkt Sep 10, 2019 at 12:05

2 Answers 2

To clarify with how I manually set network IP addresses, my router has a page where I can set an address of my choosing to a MAC address. No configuration is done outside of the router

This usually isn't called "manual configuration" to avoid confusion (from the LAN hosts' point of view, it is still automatic configuration). The usual terms are "static DHCP lease" or "DHCP reservation".

Overall, the process in IPv6 is usually completely different.

In IPv6 primary address auto-configuration mechanism (SLAAC) is completely stateless: the router does not issue individual addresses; it only periodically advertises the subnet address prefix and each host just combines it with its own chosen suffix. The router cannot limit hosts to just a specific sub-range; in fact the router does not receive any feedback about hosts' chosen address at all.

(Depending on each device's OS, the suffix might be a MAC address in traditional RFC4862 SLAAC; it might be a static hash value in RFC7217; it might be completely random in RFC4941 "Privacy Extensions"; and it might even be a user-provided value if the OS allows that.)

For example, the router advertises 2001:db8:123:456::/64 as the LAN address prefix; client A combines it with its own MAC address and begins using 2001:db8:123:456:6af2:68fe:ff7c:e25c .

That said, DHCP does exist in the IPv6 world and handles address leases in much the same way as IPv4 DHCP does. That means you can create DHCPv6 address pools, you can configure static address leases in DHCPv6, and so on. But not all clients support DHCPv6 at all (e.g. Android does not), so having SLAAC alongside is almost unavoidable.

So if you have a DHCPv6-capable client on a DHCPv6-capable network, chances are it'll have both a nice DHCPv6-assigned address and a longer SLAAC-autoconfigured address.

If I'm setting the IP address manually on each device, is there any further configuration that needs to be done (apart from avoiding duplicates), or will the router just accept that device A is going to use its own configured address?

As you can see above, that's how IPv6 address configuration works anyway .

grawity_u1686's user avatar

Your router's manual is found in User Guide and contains for IPv6 only an option for entering a static IPv6 address for the router itself (as received from the ISP).

The section about specifying the IP addresses that the router assigns by MAC address does not say whether they are IPv4 or IPv6, but I think it is highly unlikely that this will work for IPv6. And here is why.

IPv6 is quite unlike IPv4 in the sense that the long IPv6 address is made up of two parts. The first (the prefix) is assigned by the ISP. The second is assigned locally by the router or by each computer and is usually a random value based on the MAC address.

This means that the router does not control the IPv6 prefix which the ISP can change whenever it likes. You can force your computer to use a static IPv6 address, but only if it agrees with the ISP. You may be able to ask the ISP for a static IPv6 address, but that is a bad idea.

The reason it's a bad idea, is that all your devices are visible to the entire Internet by their IPv6 address (unless the router intervenes). Therefore having a fixed IPv6 address just makes tracking you that much easier.

If you wish, you would in Windows set a computer's static IPv6 inside Start > Network > Network and Sharing Center > Change Adapter Setting , right-click on the Ethernet connection IPv6 and choose Properties, right-click "Internet Protocol Version 6 (TCP/IPv6)" and click on Properties, the set "Use the following IPv6 address".

But the fact you can does not mean you should. The only place that static IPv6 addresses makes sense is inside a local network which is not connected to the Internet.

harrymc's user avatar

  • What about if I wanted to run a web server? I'm constantly traveling for work, and I would love to have access to one of the computers at home which runs 24/7. I'd need to set a static IPv6 for this to work, wouldn't I? –  hiigaran Sep 10, 2019 at 19:23
  • A general solution would require an IPv6 dynamic DNS provider. See for that the article dynv6.com: IPv6 dynamic DNS done right . –  harrymc Sep 10, 2019 at 19:29
  • @harrymc Help me understand your logic, why would a server in a data center have a static IP but a server at home a dynamic one? In what world does that make any sense? –  Chazy Chaz Jul 29, 2022 at 12:40
  • In a world where the ISP attributes to users dynamic IP addresses. –  harrymc Jul 29, 2022 at 12:51

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged networking router ipv6 ..

  • The Overflow Blog
  • The Good, the Bad, and the Disruptive: Let us know where you stand in the...
  • How to train your dream machine
  • Featured on Meta
  • Our Partnership with OpenAI
  • What deliverables would you like to see out of a working group?

Hot Network Questions

  • Will an isolation transformer have a noticeable effect on mains hum? Also critique my DIY transformer idea
  • How Much Rehab/Partial Rebuild Can Be Done While Keeping Existing Mortgage?
  • Stealth In Space Calculator
  • How do photons have temperature?
  • Should I wait to send a revised manuscript?
  • BoM says of itself it is comparable to the Bible and contains the fulness of the everlasting gospel. Why is not Mormon doctrine taught in the BoM?
  • Chemfig problem with bond to charge atom
  • How to name a TikZ path?
  • Are there any dangerous consequences when allowing spending inspiration on rerolls?
  • How to become a witch: Fiction Novel - Girl finds a how-to book about witches at the library
  • Steenrod powers of the Thom class
  • Will the NTSB be involved in the investigation of the crash that killed the President of Iran?
  • How to calculate the Schmidt decomposition of a state without SVD
  • Reproduce table borders issues
  • Is there any significance to great northern beans being wrinkled before soaking?
  • Examining Your Finger Joints
  • What are the minimum system requirements to run GW-BASIC?
  • How close will Pluto come to Earth this year (2024)?
  • Cost Minimization and Karush-Kuhn-Tucker
  • Why "guilty" or "not guilty"and not "guilty" or "innocent"?
  • Does an object approaching a black hole ever cross the combined event horizon of the black hole and itself?
  • Could ghosts be an airborne species of octopus?
  • Who says understanding physics helps mathematicians? (A reference request) [Take the word "who" literally.]
  • Why are ND filters used in moon photography

ipv6 assignment command

Stateless autoconfiguration for IPv6

Stateless autoconfiguration for IPv6 is like a “mini-DHCP” server for IPv6. Routers running IPv6 can give the prefix of the network and a gateway address to clients looking for an IPv6 address. IPv6 uses the NDP (Neighbor Discovery Protocol), and one of the things this protocol offers is RS (Route Solicitation and (RA) Router Advertisement messages that help an IPv6 device configure an IPv6 address automatically. Let’s take a look at a configuration example:

two routers running ipv6

Besides configuring an IPv6 address, we must use the ipv6 unicast-routing command to make R2 act like a router. Remember this command since you need it for routing protocols as well.

We need to enable ipv6 address autoconfig on R1 to make sure it generates its own IPv6 address.

We can use debug ipv6 nd to watch the whole process.

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic . Explained As Simple As Possible.
  • Try for Just $1 . The Best Dollar You’ve Ever Spent on Your Cisco Career!
  • Full Access to our 786 Lessons . More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

672 Sign Ups in the last 30 days

satisfaction-guaranteed

Forum Replies

Good article…

Making it a little more comprehensive will make it a lot better and one of the best learning source especially for starters.

Thanks. I’ll add some more IPv6 stuff in the feature, especially since the new CCNA exams cover much more IPv6 then the previous version.

good article. But I could not get ipv6 address from my neighbor router in gns3 ((

Did you enable the interfaces? It worked fine on a couple of 3600 routers in GNS3.

it works for me. using 7200

40 more replies! Ask a question or join the discussion by visiting our Community Forum

Logo

CCNA 200-301

  • CCNA 200-301 Labs
  • CCNP 350-401 ENCOR
  • CCNP 350-401 ENCOR Labs
  • CCNP 300-410 ENARSI
  • CCIE Enterprise Infrastructure
  • Cisco Packet Tracer Lab Course
  • NRS II IRP Course
  • NRS II MPLS Course
  • NRS II Service Architecture
  • Nokia Configuration Course
  • Nokia SRC Program
  • JNCIA Junos
  • HCIA (HCNA)
  • HCIA Configuration Course
  • What is Huawei R&S Certification?
  • Huawei ICT Certifications
  • Python Course
  • IPv6 Course
  • IP Multicast Course
  • NRS I Configuration Course
  • Cisco Packet Tracer How To Guide
  • Online Courses
  • Udemy Courses
  • CCNA Flashcard Questions
  • Protocol Cheat Sheets
  • Subnetting Cheat Sheet
  • Linux Cheat Sheet
  • Python Cheat Sheet
  • CLI Commands Cheat Sheets
  • Miscellaneous Cheat Sheets
  • Cisco Packet Tracer Labs
  • Cisco GNS3 Labs
  • Huawei eNSP Labs
  • Nokia GNS3 Labs
  • Short Config Videos
  • Network Tools
  • IPCisco on Social Media
  • Network Engineer Interview Questions
  • Personality Interview Training
  • Sign In/Up | Members
  • Lost password
  • Sign In/Sign Up
  • ENROLL HERE

Logo

  • IPv6 Configuration on Cisco Packet Tracer

ipv6-configuration

Table of Contents

IPv6 Configuration

IPv6 is the new version of the most important Network Layer Protocol IP. With this new IP version, IPv6, beside different features, some configuration differencies are also coming. In this lesson, we will focus on these IPv6 Configuration Steps, IPv6 Configuration on Cisco devices . We will use the below Packet Tracer topology for our IPv6 Config .

You can download Packet Tracer IPv6 Lab , in Packet Tracer Labs page.

In this configuration lesson, we will follow the below IPv6 Configuration steps :

Enable IPv6 Globally

Enable ipv6 on interface, configure eui-64 format global unicast address, configure manual global unicast address, manual link local address configuration, auto ipv6 address configuration, enable dhcpv6 client, ipv6 verification commands.

  So, let’s go to the IPv6 Configuration steps and configure IPv6 for Cisco routers .

After going to the configuration mode with “ configure terminal ” command, to enable IPv6 on a Cisco router, “ ipv6 unicast-routing ” command is used. With this Cisco command, IPv6 is enabled globally on the router. This can be used before both interface configurations and IPv6 Routing Protocol configurations.

Router 1# configure terminal Router 1(config)# ipv6 unicast-routing Router 2# configure terminal Router 2(config)# ipv6 unicast-routing

After enabling IPv6 globally, we should enable IPv6 under the Interfaces. To enable IPv6 under an interface, we will use “ ipv6 enable ” command. Let’s enable IPv6 on two interfaces of each router.

Router 1 (config)# interface FastEthernet0/0 Router 1 (config-if)# ipv6 enable Router 1 (config-if)# no shutdown Router 1 (config)# interface FastEthernet0/1 Router 1 (config-if)# ipv6 enable Router 1 (config-if)# no shutdown
Router 2 (config)# interface FastEthernet0/0 Router 2 (config-if)# ipv6 enable Router 2 (config-if)# no shutdown Router 2 (config)# interface FastEthernet0/1 Router 2 (config-if)# ipv6 enable Router 2 (config-if)# no shutdown

EUI-64 format is the IPv6 format used to create IPv6 Global Unicast Addresses . It is a specific format that we have also talked about before. With this format, basically, interface id of the whole IPv6 adderess is ceated with the help of the MAC address. After that, this created interface id is appended to the network id.

To configure an interface with EUI-64 format (Extended Unique Identifier), firstly we will go under the interface, then we will use “ ip address ipv6-address/prefix-length eui-64 ” command. Here, our IPv6 address and prefix-length are 2001:AAAA:BBBB:CCCC::/64. The real EUI-64 Global Unicast Address will be created with this address and MAC address after IPv6 configuration.

Router 1 (config)# interface FastEthernet0/0 Router 1(config-if)# ipv6 address 2001:AAAA:BBBB:CCCC::/64 eui-64 Router 1(config-if)# end

Let’s check the IPv6 address that is created with EUI-64 format with “ show ipv6 interface brief ” command.

Router 1# show ipv6 interface brief FastEthernet0/0            [up/up] FE80::2E0:B0FF:FE0E:7701 2001:AAAA:BBBB:CCCC:2E0:B0FF:FE0E:7701 FastEthernet0/1            [up/up] FE80::2E0:B0FF:FE0E:7702 Vlan1                      [administratively down/down] unassigned

If we do not use EUI-64 format address, we have to write the whole IPv6 Address to the configuration line. Let’s configure Gigabit Ethernet 0/0 interface of Router 2 manually .

Router 2 (config)# interface FastEthernet0/0 Router 2 (config-if)# ipv6 address 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234/64 Router 2(config-if)# end

Here, both of these directly connected interfaces are in the same subnet, the Network ID is same (2001:AAAA:BBBB:CCCC::/64).

Let’s check the IPv6 address that we have manually assigned with “ show ipv6 interface brief ” command.

Router 2# show ipv6 interface brief FastEthernet0/0            [up/up] FE80::206:2AFF:FE15:BD01     2001:AAAA:BBBB:CCCC:1234:1234:1234:1234 FastEthernet0/1            [administratively up/up] FE80::206:2AFF:FE15:BD02 Vlan1                      [administratively down/down] unassigned

To check the connectivity between two node, we use ping. As IPv4, with IPv6, we also use ping, but this time it is called IPv6 Ping . The format of IPv6 Ping is a little difference than IPv4 Ping. These  differences are the format of the used IP address and the used keywords. With IPv6 Ping , “ ping ipv6 ” keywords are used before the destination IPv6 address.

Here, we will ping from Router 1 GigabitEthernet0/0 interface to Router 2 GigabitEthernet0/0 interface.

Router 1# ping ipv6 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234   Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms

To check the configured IPv6 Address, we can use “ show ipv6 interface interface-name ” command.

Router 1# show ipv6 interface FastEthernet0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::2E0:B0FF:FE0E:7701 No Virtual link-local address(es): Global unicast address(es): 2001:AAAA:BBBB:CCCC:2E0:B0FF:FE0E:7701 , subnet is 2001:AAAA:BBBB:CCCC::/64 [EUI] Joined group address(es): FF02::1 FF02::2 FF02::1:FF0E:7701 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ICMP unreachables are sent ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND advertised reachable time is 0 (unspecified) ND advertised retransmit interval is 0 (unspecified) ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds ND advertised default router preference is Medium Hosts use stateless autoconfig for addresses.
Router 2# show ipv6 interface FastEthernet0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::206:2AFF:FE15:BD01 No Virtual link-local address(es): Global unicast address(es):     2001:AAAA:BBBB:CCCC:1234:1234:1234:1234 , subnet is 2001:AAAA:BBBB:CCCC::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF15:BD01 FF02::1:FF34:1234 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ICMP unreachables are sent ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND advertised reachable time is 0 (unspecified) ND advertised retransmit interval is 0 (unspecified) ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds ND advertised default router preference is Medium Hosts use stateless autoconfig for addresses.

Here, with ipv6 ping, there are some options that we can use. These are given below:

ping ipv6 [hostname | ip_address] [repeat repeat-count | size datagram-size | source [ interface-name | source-address ]

  • repeat : Ping packet count. The default ping repeat value is 5.
  • size : Datagram size. The default value ping size is 56 bytes.
  • source : Source Address of the ping. Default value is None.

So if we would like to send 10 IPv6 ping packet with 200 byte datagrams from 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234 to 2001:AAAA:BBBB:CCCC:1111:2222:3333:4444, we will use the below command:

Router 2 # ping ipv6 2001:AAAA:BBBB:CCCC:1111:2222:3333:4444 repeat 10 size 200 source 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234

To configure a Link Locak address manually, we use “ ipv6 address link-local ipv6-address ” command. Here, we should write an IPv6 address in the range of Link Local addresses. If you would like to learn more about a Link Local Address, you can check Link Local Address lesson.

Let’s configure GigabitEthernet0/1 interface of Router 1 with Link Local Address FE80::AAAA:BBBB:CCCC:DDDD. Here, there is no need to write a prefix length but we will add link-local keyword at the end of the command.

Router 1 (config)# interface FastEthernet0/1 Router 1 (config-if)# ipv6 address FE80::AAAA:BBBB:CCCC:DDDD link-local Router 1 (config-if)# end

Let’s check the manually configure ipv6 Link-Local address with “ show ipv6 interface brief ” command.

Router 1# show ipv6 interface brief FastEthernet0/0            [up/up] FE80::2E0:B0FF:FE0E:7701 2001:AAAA:BBBB:CCCC:2E0:B0FF:FE0E:7701 FastEthernet0/1            [administratively down/down]     FE80::AAAA:BBBB:CCCC:DDDD Vlan1                      [administratively down/down] unassigned

IPv6 Addresses can be configured automatically. This is one of the most important characteristics coming with IPv6. For IPv6 Auto configuration , we will use “ ipv6 address autoconfig ” command. Let’s use it on Router 2 on GigabitEthernet0/1.

Router 2 (config)# interface FastEthernet0/1 Router 2 (config-if)# ipv6 address autoconfig Router 2 (config-if)# end

This type of IPv6 address configuration is Sateless Auto Configuration .

Let’s check the Autoconfigured Link-Local ipv6 address with “ show ipv6 interface brief ” command.

Router 2# show ipv6 interface brief FastEthernet0/0            [up/up] FE80::206:2AFF:FE15:BD01 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234 FastEthernet0/1            [up/down]     FE80::206:2AFF:FE15:BD02 Vlan1                      [administratively down/down] unassigned

Let’s ping from Router 2 to Router 1 to test this second interfaces’ ipv6 connection.

Router 2# ping ipv6 FE80::AAAA:BBBB:CCCC:DDDD Output Interface: FastEthernet0/1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FE80::AAAA:BBBB:CCCC:DDDD, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms

To enable DHCPv6 Client function on an interface, we use “ ipv6 address dhcp ” command under this interface. With this command, interface gets its IPv6 address form the DHCPv6 server . Let’s enable DHCPv6 on GigabitEthernet0/2 of Router 2.

Router 1 (config)# interface FastEthernet0/1 Router 1 (config-if)# ipv6 address dhcp Router 1 (config)# end

To verify DHCPv6 enabled interfaces, we can use “ show ipv6 dhcp interface ” command.

Router 1 # show ipv6 dhcp interface

To verify IPv6 Configuration, we can use different show commands. These IPv6 show commands are given below

  • To check IPv6 interface configuration and status we use “ show ipv6 interface interface-id ”.
Router 1# show ipv6 interface FastEthernet0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::2E0:B0FF:FE0E:7701 No Virtual link-local address(es): Global unicast address(es): 2001:AAAA:BBBB:CCCC:2E0:B0FF:FE0E:7701, subnet is 2001:AAAA:BBBB:CCCC::/64 [EUI] Joined group address(es): FF02::1 FF02::2 FF02::1:FF0E:7701 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ICMP unreachables are sent ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND advertised reachable time is 0 (unspecified) ND advertised retransmit interval is 0 (unspecified) ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds ND advertised default router preference is Medium Hosts use stateless autoconfig for addresses.
  • To check IPv6 neighbor cache entries we use “ show ipv6 neighbors ”.
Router 1# show ipv6 neighbors IPv6 Address                              Age Link-layer Addr State Interface 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234    23 0006.2A15.BD01  REACH Fa0/0 FE80::206:2AFF:FE15:BD02                    7 0006.2A15.BD02  REACH Fa0/1
  • To check IPv6 Routing Table we use “ show ipv6 route ”.
Router 1# show ipv6 route   IPv6 Routing Table – 3 entries Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP U – Per-user Static route, M – MIPv6 I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2 ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2 D – EIGRP, EX – EIGRP external C   2001:AAAA:BBBB:CCCC::/64 [0/0] via ::, FastEthernet0/0 L   2001:AAAA:BBBB:CCCC:2E0:B0FF:FE0E:7701/128 [0/0] via ::, FastEthernet0/0 L   FF00::/8 [0/0] via ::, Null0
  • To check IPv6 DHCP we use “ show ipv6 dhcp ”.
Router 1# show ipv6 dhcp This device’s DHCPv6 unique identifier (DUID): 0003000100E0B00E7701
  • To check IPv6 Protocols we use “ show ipv6 protocols ”.
Router 1# show ipv6 protocols IPv6 Routing Protocol is “connected” IPv6 Routing Protocol is “static

Questions For IPv6 Configuration

Question 1: with which command do we enable ipv6 globally for ipv6 configuration.

a) ipv6 enable

b) ipv6 unicast-routing

c) ipv6 no shutdown

d) ipv6 run

Question 2: Which command enables IPv6 under an interface?

Question 3: which command enables auto ipv6 addressing under an interface .

a) ipv6 auto

d) ipv6 address autoconfig

e) ipv6 run

Question 4: Which command enables DHCPv6 under an interface?

a) ipv6 auto dhcp

b) ipv6 address dhcp

c) ipv6 address autoconfig

d) ipv6 dhcp run

e) ipv6 dhcp on

Question 5: How to send 20 ping packet to 001:AAAA:BBBB:CCCC:1111:2222:3333:4444 address?

a) ping ipv6 2001:AAAA:BBBB:CCCC:1111:2222:3333:4444 source 20

b) ping ipv6 2001:AAAA:BBBB:CCCC:1111:2222:3333:4444 size 20

c) ping ipv6 2001:AAAA:BBBB:CCCC:1111:2222:3333:4444 repeat 20

Answers: 1) b     2) a    3) d    4) b    5) c   

ipv6 assignment command

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Network Fundamentals

  • Collision Domain vs Broadcast Domain
  • Coaxial Cable Details
  • Types of Networks
  • Top Internet Access Technologies
  • WAN Topology Types
  • Network Topology Architectures
  • Power Over Ethernet (PoE)
  • Ethernet Collisions and Troubleshooting
  • Cisco NGFW and Cisco NGIPS
  • Networking Connectors
  • Ping Command
  • Basic Cisco Router Configuration on Packet Tracer
  • ICMP (Internet Control Message Protocol)
  • Address Resolution Protocol (ARP)
  • Network Cabling
  • Network Devices
  • TCP/IP Model
  • OSI Referance Model

IPv4 Addressing

  • Verify IP Parameters for Client OS
  • VLSM Subnetting
  • IPv4 vs IPv6 Comparison
  • Cisco IP Address Configuration
  • APIPA Address
  • Private IP Address Ranges
  • Subnetting Examples
  • IP Addressing (IPv4)
  • IP Subnetting and Subnetting Examples

TCP and UDP

  • TCP Header : Sequence & Acknowledgement Number
  • TCP Handshake
  • TCP versus UDP
  • UDP (User Datagram Protocol)
  • TCP (Transmission Control Protocol)
  • TCP Header : TCP Options
  • TCP Header : TCP Window Size, Checksum & Urgent Pointer
  • TCP Header : TCP Flags
  • Voice VLAN Configuration
  • Packet Tracer VLAN Example 2
  • How to Configure Cisco VLANs
  • VTP Configuration with Packet Tracer
  • VTP (VLAN Trunking Protocol)
  • DTP and VLAN Frame Tagging protocols ISL, dot1.q
  • Cisco Packet Tracer VLAN Configuration Example
  • VLAN Port Assignment and VLAN Port Types
  • VLANs (Virtual Local Area Networks)

Switching and LANs

  • Ethernet Basics
  • Cisco Switch Configuration on Cisco Packet Tracer
  • MAC Address Lookup
  • What is a mac address
  • Local Area Networks
  • Network Topologies
  • Hubs, Switches and Routers

Spanning Tree Protocol

  • Loop Guard, Uplink Fast, Backbone Fast and UDLD
  • Portfast, Root Guard, BPDU Filter and BPDU Guard
  • PVST+ and Rapid PVST+
  • STP (Spanning Tree Protocol) Example on Packet Tracer
  • RSTP Configuration on Packet Tracer
  • STP Portfast Configuration with Packet Tracer
  • Spanning Tree Protocol Operation
  • Rapid Spanning Tree Protocol (RSTP)
  • Spanning Tree Protocol (STP)

Neighbor Discovery

  • LLDP Configuration on Cisco IOS
  • Neighbour Discovery Protocols
  • CDP Configuration with Packet Tracer

EtherChannels

  • PAgP Configuration on Cisco Devices
  • LACP Configuration on Cisco Devices
  • Link Aggregation Control Protocol (LACP)

Routing Fundamentals

  • Route Summarization
  • Routing Path Determination
  • Routing Table
  • Static Routes
  • IPv4 Floating Static Routes
  • Inter VLAN Routing Configuration on Packet Tracer
  • Switch Virtual Interface Configuration on Packet Tracer
  • Switch Virtual Interfaces
  • Inter VLAN Routing with Router on Stick
  • IP and Layer 3 Overview
  • Static Route Configuration on Cisco Routers
  • Dynamic Routing Protocols
  • OSPF Cost and SPF Algorithm
  • OSPFv3 Configuration Example on Cisco IOS
  • OSPFv3 (Open Shortest Path First Version 3)
  • Cisco Single Area OSPF Configuration
  • Other OSPF Key Points
  • OSPF Network Types
  • OSPF Area Types
  • OSPF LSA Types
  • OSPF Packet Types
  • OSPF Adjacency
  • OSPF(Open Shortest Path First) Overview

WAN (Wide Area Networks)

  • MLPPP Configuration on Cisco Packet Tracer
  • What is MLPPP?
  • Metro Ethernet Technology
  • WAN and WAN Technologies

DHCP and DNS

  • DNS Configuration on Cisco Routers
  • Domain Name System Overview
  • Router DHCP Configuration with Packet Tracer
  • DHCP IP Allocation Operation
  • DHCP (Dynamic Host Configuration Protocol)
  • NAT (Network Address Translation)
  • PAT Configuration with Packet Tracer
  • Dynamic NAT Configuration with Packet Tracer
  • Static NAT Configuration with Packet Tracer

First Hop Redundancy

  • HSRP Configuration on Cisco IOS
  • HSRP (Hot Standby Router Protocol)
  • First Hop Redundancy Protocols (FHRPs)

Network Management

  • Syslog Overview
  • Configuration Register
  • TFTP, FTP, SFTP and SCP
  • SSH Configuration on Packet Tracer
  • Syslog Configuration Cisco
  • Cisco NTP Configuration
  • NTP (Network Time Protocol)
  • SNMP Overview
  • SNMP Configuration On Cisco IOS
  • Cisco Router Password Recovery
  • IPv6 Floating Static Routes
  • IPv6 Static and Default Route Configuration
  • Stateless Address Auto Configuration
  • IPv6 NDP (Neighbour Discovery Protocol)
  • What does IPv6 bring?
  • Subnetting in IPv6
  • IPv6 Address Types
  • IPv4 and IPv6 Headers
  • IPv6 and IPv6 Addresses

Quality of Service

  • Network Traffic Types
  • Policing and Shaping in QoS
  • Classification and Marking in QoS
  • Quality of Service Overview
  • Radius Configuration for Wireless Users
  • Cisco RADIUS Server Configuration on Packet Tracer
  • TACACS+ Overview
  • RADIUS Overview
  • AAA Protocols : RADIUS and TACACS+
  • Authentication, Authorization, Accounting (AAA)
  • WLAN Frequency Bands
  • Other Wireless Network Extention Types
  • Wireless Principles
  • WLAN Components
  • Wireless Network Design Models
  • WLC Management Access Connections
  • Wireless Access Point Modes
  • Wireless Security Protocols
  • WLAN Configuration on Packet Tracer

Security Fundamentals

  • DHCP Snooping Configuration on Packet Tracer
  • Cisco Banner Configuration on Packet Tracer
  • What is DHCP Snooping?
  • Access Control Lists
  • Multifactor Authentication (MFA)
  • Dynamic ARP Inspection
  • Cyber Attacks, Network Attacks, Threats and Mitigation
  • 802.1x (Port Based Network Access Control)
  • Switch Port Security Configuration on Cisco Packet Tracer
  • Switch Port Security
  • Extended Access List Configuration With Packet Tracer
  • Standard Access List Configuration With Packet Tracer
  • Basic Cisco Router Security Configuration

Automation and Programmability

  • Ansible vs Puppet vs Chef
  • Chef Overview
  • Puppet Overview
  • Ansible Overview
  • Network Automation Tools
  • Interpret JSON Encoded Data
  • Cisco DNA Center
  • Cisco SD-Access
  • Data Serialization Languages: JSON, YAML, XML
  • Traditional Network Management versus Cisco DNA Center
  • Cisco DNA and Intent-Based Networking (IBN)
  • How Network Automation Impacts Network Management

SDN (Software Defined Networking)

  • What is SDN ?
  • Traditional Network Drawbacks Versus SDN
  • What Will SDN Bring?
  • SDN Architecture Components
  • SDN Terminology
  • Virtualization
  • Virtual Network Structure

Latest Lessons

  • VLSM Subnetting Part of: CCNA 200-301
  • Coaxial Cable Details Part of: CCNA 200-301
  • IPv4 vs IPv6 Comparison Part of: CCNA 200-301
  • IGMPv3 Overview Part of: IP Multicast Course
  • IGMPv3 Overview Part of: CCIE Enterprise Infrastructure
  • Subnetting IPv6 Part of: CCIE Enterprise Infrastructure
  • IPv6 and Subnetting Part of: CCNP Enterprise 350-401 ENCOR
  • IPv6 Link Local Address Type Part of: CCIE Enterprise Infrastructure
  • Cisco Switch Configuration on Cisco Packet Tracer Part of: CCNA 200-301
  • Switch Configuration on Cisco Packet Tracer Part of: Cisco Packet Tracer Lab Course
  • More Lessons

Latest Blog Posts

how-ransomware-attack-works-ipcisco.com

WHAT YOU WILL FIND?

  • 250.000+ Students All Over The World
  • 8.000+ Questions & Answers
  • 100+ Lab Files & Cheat Sheets
  • 30+ IT/Network Courses
  • A Real Desire To Help You
  • Daily Social Media Shares
  • %100 Satisfaction
  • CISCO Courses
  • NOKIA Courses
  • HUAWEI Courses
  • JUNIPER Courses
  • PYTHON Course
  • KEY Courses
  • VIDEO Courses
  • UDEMY Courses
  • Cheat Sheets
  • Configuration Files
  • Interview Questions
  • IPCisco On Social Media
  • Pärnu mnt. 139c – 14, 11317, Tallinn, Estonia
  • [email protected]
  • Trending Now
  • Foundational Courses
  • Data Science
  • Practice Problem
  • Machine Learning
  • System Design
  • DevOps Tutorial
  • CCNA Tutorial for Beginners

Basics of Computer Networking

  • Network and Communication
  • LAN Full Form
  • What is OSI Model? - Layers of OSI Model
  • TCP/IP Model
  • How Data Encapsulation and De-encapsulation Works?

Components of Computer Networking

  • NIC Full Form
  • What is a network switch, and how does it work?
  • What is Network Hub and How it Works?
  • Introduction of a Router
  • Types of Ethernet Cable

Transport Layer

  • Transport Layer responsibilities
  • Introduction of Ports in Computers
  • What is Transmission Control Protocol (TCP)?
  • TCP 3-Way Handshake Process
  • User Datagram Protocol (UDP)

Network Layer

  • Introduction and IPv4 Datagram Header
  • Difference between Unicast, Broadcast and Multicast in Computer Network
  • Structure and Types of IP Address

IPv4 Addressing

  • What is IPv4?
  • Role of Subnet Mask
  • Introduction of Classful IP Addressing
  • Introduction To Subnetting
  • Classless Inter Domain Routing (CIDR)
  • Introduction of Variable Length Subnet Mask (VLSM)
  • Private IP Addresses in Networking

Data Link Layer

  • What is Ethernet?
  • What is MAC Address?
  • What is an IP Address?

Physical Layer

  • Ethernet Frame Format
  • What is Power Over Ethernet (POE)?

Cisco Networking Devices

  • Network Devices (Hub, Repeater, Bridge, Switch, Router, Gateways and Brouter)
  • Collision Detection in CSMA/CD
  • Collision Domain and Broadcast Domain in Computer Network
  • Difference between layer-2 and layer-3 switches

Life of a Packet

  • Working of Domain Name System (DNS) Server
  • Configuring DHCP and Web Server in Cisco Packet Tracer
  • How Address Resolution Protocol (ARP) works?

Router and Switch Basic Configuration

  • Cisco Router basic commands
  • Configure IP Address for Interface in Cisco Switches
  • Transmission Modes in Computer Networks (Simplex, Half-Duplex and Full-Duplex)
  • Link Layer Discovery Protocol (LLDP)
  • What is Cisco Discovery Protocol (CDP)?

Cisco Device Management

  • What are the different memories used in a CISCO router?
  • Router Boot Sequence
  • Recovering password in Cisco Routers
  • Catalyst Switch Password Reset in Cisco
  • Process of Backing Up and Restoring the Cisco IOS
  • File Transfer Protocol (FTP)
  • Difference between FTP and TFTP
  • Backing up Cisco IOS Router image
  • Steps Involves in Cisco Router Configuration Backups

Basic Network Trouble shooting

  • Troubleshooting Questions on OS and Networking asked in Cloud based Interview
  • Internet Control Message Protocol (ICMP)
  • What is Ping?
  • traceroute Command in Linux with Examples

IPv4 Routing

  • What is IP Routing?
  • Routing Tables in Computer Network
  • Difference between Static and Dynamic Routing
  • What is Floating Static Route ?
  • How to Add a Static Route to Windows Routing Table?

Dynamic Routing Protocols

  • Routing Protocol Code
  • Difference between IGRP and BGP
  • Administrative Distance (AD) and Autonomous System (AS)
  • Configuring a Loopback Interface in Cisco
  • What is a Loopback Address?
  • What is Passive-Interface Command Behavior in RIP, EIGRP & OSPF?

Interior Gateway Protocols

  • Routing Information Protocol (RIP)
  • Configuring RIP Default Information Originate in Cisco
  • Configuring RIP Versions 1 and 2 in Cisco
  • EIGRP fundamentals
  • Features of Enhanced Interior Gateway Routing Protocol (EIGRP)
  • Types of EIGRP Packet in Computer Network
  • How to Configure EIGRP Summarization in Cisco?

Open Shortest Path First(OSPF)

  • Open shortest path first (OSPF) router roles and configuration
  • Difference between EIGRP and OSPF
  • Bandwidth Allocation Control Protocol (BACP)
  • Open shortest path first (OSPF) - Set 2
  • OSPF Implementation
  • Explain OSPF DR/BDR Election?
  • Configuring OSPF Passive Interface in Cisco
  • Configuring OSPF Default Route Propagation
  • Configuring OSPF Maximum Paths
  • Configuring OSPF Route Summarization in Cisco
  • Configuring OSPF Network Types in Cisco

Virtual Local Area Network(VLAN)

  • Three-Layer Hierarchical Model in Cisco
  • 2 - Tier And 3 - Tier Architecture in Networking
  • Spine-Leaf Architecture
  • Virtual LAN (VLAN)
  • Configuring and Verifying VLANs in Cisco
  • Access and Trunk Ports
  • What is ISL(Inter-Switch Link)?
  • Inter-Switch Link (ISL) and IEEE 802.1Q
  • Access Ports (Data and Voice) in CCNA
  • Dynamic Trunking Protocol (DTP)
  • VLAN Trunking Protocol (VTP)
  • What are the VTP Modes?

Inter-V LAN Routing

  • Inter VLAN Routing by Layer 3 Switch
  • Configuration of Router on a stick

Dynamic Host Control Protocol(DHCP)

  • Difference between DNS and DHCP
  • How to Configure DHCP Server on a Cisco Router?
  • DHCP Relay Agent in Computer Network
  • What is APIPA (Automatic Private IP Addressing)?

Hot Standby Routing Protocol(HSRP)

  • Redundant Link problems in Computer Network
  • Firsthop Redundancy Protocol
  • Hot Standby Router Protocol (HSRP)

Spanning Tree Protocol(STP)

  • Introduction of Spanning Tree Protocol (STP)
  • What is Bridge in Computer Network - Types, Uses, Functions & Differences
  • Working of Spanning Tree Protocol (STP)
  • Root Bridge Election in Spanning Tree Protocol
  • How Spanning Tree Protocol (STP) Select Designated Port?
  • Types of Spanning Tree Protocol (STP)
  • Rapid Spanning Tree Protocol
  • Configuring Spanning Tree Protocol Portfast

Ethernet Channel

  • EtherChannel in Computer Network
  • Configure, Verify and Troubleshoot (Layer 2/Layer 3) EtherChannel
  • Link Aggregation Control Protocol

Switch Security

  • DHCP Snooping
  • Wireless Security | Set 1
  • Port Security in Computer Network
  • Configuring Port Security on Cisco IOS Switch

Access Control List(ACL)

  • Standard Access-List
  • Static NAT Configuration in Cisco
  • Dynamic NAT Configuration in Cisco
  • Extended Access-List
  • Reflexive Access-List

IPv6 Addressing and Routing

  • What is IPv6?
  • Internet Protocol version 6 (IPv6)
  • IPv6 EUI-64 (Extended Unique Identifier)
  • Differences between IPv4 and IPv6
  • Global Unicast Address in CCNA
  • Link Local Address
  • What is IPv6 Address Planning?

How to Configure IPv6 on CISCO Router?

  • What is IPv6 Stateless Address Autoconfiguration ?
  • RPL (IPv6 Routing protocol)

Wide Area Network

  • WAN Full Form
  • What is VPN and How It Works?
  • Overview of Wireless Wide Area Network (WWAN)
  • Multi Protocol Label Switching (MPLS)
  • Point-to-Point Protocol (PPP) Suite

Security Concepts

  • Types of Cyber Attacks
  • Types of Network Firewall
  • Introduction of Firewall in Computer Network
  • Intrusion Detection System (IDS)
  • Intrusion Prevention System (IPS)
  • Difference Between Symmetric and Asymmetric Key Encryption
  • HTTP Full Form
  • Explain the Working of HTTPS
  • What is Attack Mitigation?

Network Device Security

  • TELNET and SSH in Cisco devices
  • How to configure SSH Client in Linux ?
  • AAA (Authentication, Authorization and Accounting) configuration (locally)
  • RADIUS Protocol
  • TACACS+ Protocol
  • Network Time Protocol (NTP)
  • Configure and Verify NTP Operating in Client and Server Mode

Network Device Management

  • What is Syslog server and its working ?
  • Command-Line Tools and Utilities For Network Management in Linux
  • Simple Network Management Protocol (SNMP)
  • Overview of SNMPv3

Wireless Networking

  • Wired and Wireless Networking
  • What is a Wireless Access Point?
  • Cisco Wireless Architecture and AP Modes
  • Physical Infrastructure Connections of WLAN Components
  • WiFi and its Amendments
  • Types of Wireless Security Encryption

An IPv6 is the sixth version of any IP address on the IP protocol. It consists of eight groups of four hexadecimal digits. IP v6 is a 128-bits address having an address space of 2^128. 

For more details about IPv6 refer to the articles: What is IPv6? and Internet Protocol version 6 (IPv6) .

Steps to Configure IPv6 on Cisco Packets Tracer:

Step 1: First open the Cisco packet tracer desktop and create a network topology something like the image and an IPv6 addressing table given below.

ipv6 assignment command

IP Addressing Table:

Step 2: Configuring the  GigabitEthernet Interfaces.

  •  First, we will configure the GigabitEthernet0/0 using CLI.
  • Click on router0 and go to CLI and type the commands are given below:
  • Now we will configure the GigabitEthernet0/1 Interface.
  • Then, both the interfaces will be active now:

ipv6 assignment command

Step 3: Configuring Ipv6 address in both Interfaces using CLI:

  • CLI commands to configure IPv6 address in GigabitEthernet0/0 and GigabitEthernet0/1 ports are given below:

ipv6 assignment command

Step 4: We have configured the router now change the settings of hosts in IPv6 configuration:

  • First, click on PC0 and go to desktop then IP configuration.
  • Now find the IPv6 configuration.
  • Change the settings from static to automatic and then after a few seconds, the IPv6 address and default gateway are displayed.

ipv6 assignment command

  • Similarly, repeat this procedure with PC1 and PC2

ipv6 assignment command

Step 5: Now we have to verify the connection by pinging the IPv6 address of PC0 in PC1.

  • First, click on PC1 and go to the command prompt, and type ping <ipv6 address>
  • As we can see in the below image, getting replies from PC0 means the connection is established successfully.

ipv6 assignment command

Simulation Result:

Please login to comment..., similar reads.

author

  • CCNA IP Addressing

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

How to configure ipv6 address in Linux (RHEL / CentOS 7/8)

January 2, 2024

Linux , How To , Tips and Tricks

This step by step by guide to configure IPv6 address is validated on RHEL and CentOS 7 .

How-to-configure-ipv6-address-linux

IPv6 can act as a replacement for the IPv4 network protocol. The major problem it solves is the exhaustion of IPv4 addresses by using a much larger network address space. It also provides a number of enhancements and new features for network configuration management and support for future protocol changes.

The key reason IPv6 is not yet in wide deployment is that the core protocol does not have a simple way for systems that only have IPv6 addresses to communicate with systems that only have IPv4 addresses.

An IPv6 address is a 128-bit number , normally expressed as eight colon-separated groups of four hexadecimal nibbles (half-bytes). Each nibble represents four bits of the IPv6 address, so each group represents 16 bits of the IPv6 address.

To make it easier to write IPv6 addresses, leading zeros in a colon-separated group do not need to be written. However at least one nibble must be written in each field. Zeros which follow a non zero nibble in the group do not need to be written.

Since addresses with long strings of zeros are common, combine one or more groups of consecutive zeros with exactly one :: block.

Notice that under these rules 2001:1:1:1443::400 would be another less convenient way to write the example address. But it is a valid representation of the same address, and this can confuse administrators new to IPv6.

Some tips for writing consistently readable addresses

  • Always suppress all the leading zeros in a group
  • Use :: to shorten as much as possible. If two runs of zeros are equal in length, shorten the leftmost run of zeros by preference.
  • Although it is allowed, do not use :: to shorten one group of zeros, Use :0: instead, and save :: for runs of zeros longer than a single group.
  • Always use lowercase letters for hexadecimal numbers a through f .

Pre-requisite before starting to configure IPv6 address

Make sure that IPv6 is enable on your node. Look out for below entry in your sysctl configuration

This will list the IPv6 status for the default value and per interface value.

Here " 0 " means IPv6 is in active on our node, if the above returns " 1 " then it means IPv6 is disable on your node. So if the IPv6 is disable then your IPv6 configuration will not work.

I have already written an article with steps to enable or disable IPv6

Comparison of nm-setting and ifcfg-* directives

The following table maps some of the key NetworkManager settings name relevant to IPv6 connections to ifcfg-* directives.

Configure IPv6 address using Network Manager.

Open Network Manager Console from your Linux node

Select Edit a Connection and click on Ok

How to configure ipv6 address in Linux (RHEL / CentOS 7/8)

Next look out for your Ethernet card on which you wish to configure IPv6 address. If your NIC card does not appear on the list then you can add a new device . Since for me my device ( eno50 ) exists, so I will select the device and select Edit

How to configure ipv6 address in Linux (RHEL / CentOS 7/8)

This will bring you the main configuration page where you must give all the details to configure IPv6 address. Since I do not want to add IPv4 address to the same Ethernet device, I have disabled the IPv4 option.

Provide the IPv6 address/subnet and the gateway . Make sure you select Automatically Connect

How to configure ipv6 address in Linux (RHEL / CentOS 7/8)

Lastly click OK to exit the utility.

Next restart the network services to activate the changes

Now let us check the network configuration of eno50

So looks like I was able to successfully configure my interface with IPv6 address.

Validate the connectivity by pinging the IPv6 gateway

So I am able to connect to my gateway which means my IPv6 configuration was successful.

Configure IPv6 address using CLI

The following command will add a new connection for the interface eno49 , which will auto connect at startup, getting IPv4 networking information using DHCPv4. It will also get IPv6 networking settings by listening for router advertisements on the locallink.

The below command configures the eno49 interface statically using the IPv6 address and network prefix 2001:1:1:1443::433/122 and default IPv6 gateway 2001:1:1:1443::43F , but it still auto connects at startup and saves its configuration into /etc/sysconfig/network-scripts/ifcfg-eno49 .

Let us validate our configuration by pinging the gateway using eno49 interface

Again with the CLI looks like the steps are successful for me.

Modify existing IPv6 configuration

In the below command we are changing the IPv6 address of our interface eno49 from 2001:1:1:1443::433 to 2001:1:1:1443::434 , while the gateway remains the same.

Restart the eno49 interface

Next bring the the interface

Validate the new IP address for eno49 device

Check the connectivity from eno49 to it's gateway

Check the configuration file for eno49

I hope the steps from the article to configure IPv6 address on Linux (CentOS/RHEL 7/8) was helpful. Let me know your suggestions and feedback using the comment section.

Deepak Prasad

Deepak Prasad

He is the founder of GoLinuxCloud and brings over a decade of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels in various domains, from development to DevOps, Networking, and Security, ensuring robust and efficient solutions for diverse projects. You can connect with him on his LinkedIn profile.

Can't find what you're searching for? Let us assist you.

Enter your query below, and we'll provide instant results tailored to your needs.

If my articles on GoLinuxCloud has helped you, kindly consider buying me a coffee as a token of appreciation.

Buy GoLinuxCloud a Coffee

For any other feedbacks or questions you can send mail to [email protected]

Thank You for your support!!

6 thoughts on “How to configure ipv6 address in Linux (RHEL / CentOS 7/8)”

One update for Centos 8. Change systemctl restart network to systemctl restart NetworkManager.service

I really love your website.. Very nice colors & theme. Did you make this amazing site yourself? Please reply back as I’m planning to create my very own site and want to know where you got this from or exactly what the theme is called. Kudos!

For us noobs: the network should be restarted after the address setup:

service network restart

Thanks for your feedback, I have updated the article 🙂

How did you get /122 when creating the new ip address and same gateway example?

This is the gateway and subnet provided by our network team.

Leave a Comment Cancel reply

Save my name and email in this browser for the next time I comment.

Notify me via e-mail if anyone answers my comment.

ipv6 assignment command

We try to offer easy-to-follow guides and tips on various topics such as Linux, Cloud Computing, Programming Languages, Ethical Hacking and much more.

Recent Comments

Popular posts, 7 tools to detect memory leaks with examples, 100+ linux commands cheat sheet & examples, tutorial: beginners guide on linux memory management, top 15 tools to monitor disk io performance with examples, overview on different disk types and disk interface types, 6 ssh authentication methods to secure connection (sshd_config), how to check security updates list & perform linux patch management rhel 6/7/8, 8 ways to prevent brute force ssh attacks in linux (centos/rhel 7).

Privacy Policy

HTML Sitemap

  • Skip to content
  • Skip to search
  • Skip to footer

Cisco cBR Converged Broadband Routers DOCSIS Software Configuration Guide for Cisco IOS XE Cupertino 17.9

Bias-free language.

The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.

  • Start Up Configuration of the Cisco cBR Router
  • Cisco Smart Licensing
  • Core Peak Bandwidth Licensing
  • Capped License Enforcement
  • Consolidated Packages and SubPackages Management
  • Support for 2x100G DPIC
  • G.8275.2 Telecom Profile
  • Model-Driven Telemetry
  • Cisco IOS-XE In-Service Software Upgrade Process
  • Supervisor Redundancy
  • Line Card Redundancy
  • Downstream Interface Configuration
  • Upstream Interface Configuration
  • DOCSIS Interface and Fiber Node Configuration
  • Service Group Based Configuration of the Cisco cBR Router
  • DOCSIS Load Balancing Groups
  • DOCSIS Load Balancing Movements
  • DOCSIS 3.0 Downstream Bonding
  • DOCSIS 2.0 A-TDMA Modulation Profiles
  • Downstream Resiliency Bonding Group
  • Downstream Channel ID Assignment
  • Upstream Channel Bonding
  • Dynamic Bonding Group
  • Spectrum Management and Advanced Spectrum Management
  • Upstream Scheduler Mode
  • Generic Routing Encapsulation
  • Transparent LAN Service over Cable
  • Downgrading Channel Bonding in Battery Backup Mode
  • Upstream Bonding Support for D-PON
  • Energy Management Mode
  • Cable Modem Steering
  • DOCSIS Predictive Scheduler
  • DOCSIS 3.1 OFDM Channel Configuration
  • OFDM Channel Power Profile
  • DOCSIS 3.1 Path Selection
  • DOCSIS 3.1 Downstream Profile Selection
  • DOCSIS 3.1 Commanded Power for Upstream SC-QAMs
  • DOCSIS3.1 Downstream Resiliency for OFDM channel
  • DOCSIS 3.1 OFDMA Channel Configuration
  • OFDMA OUDP Leak Detection Configuration
  • Time and Frequency Division Multiplexing Configuration
  • DOCSIS 3.1 Upstream Profile Selection
  • Proactive Network Management
  • Downstream Power Tilt
  • Controller Profile Configuration
  • Voltage Thresholds for AC Power Supply Module Mode Control
  • DOCSIS3.1 Downstream Zero Bit Loading
  • Reducing Power Consumption
  • Low Latency DOCSIS
  • L2VPN Support over Cable
  • L2VPN Over Port-Channel
  • MPLS Pseudowire for Cable L2VPN
  • MPLS VPN Cable Enhancements
  • Multicast VPN and DOCSIS 3.0 Multicast QoS Support
  • EtherChannel for the Cisco CMTS
  • Flow-Based per Port-Channel Load Balancing
  • MPLS QoS via TLV for non-L2VPN Service Flow
  • IPsec Security Support
  • DHCP, ToD, and TFTP Services for CMTS Routers
  • Virtual Interface Bundling

IPv6 on Cable

  • Cable DHCP Leasequery
  • DHCPv6 Bulk-Lease query
  • Layer 3 CPE Mobility
  • DOCSIS 3.0 Multicast Support
  • IPv6 Segment Routing on Cisco cBR
  • IP Access Control Lists
  • Creating an IP Access List and Applying It to an Interface
  • Creating an IP Access List to Filter IP Options, TCP Flags, Noncontiguous Ports
  • Refining an IP Access List
  • IP Named Access Control Lists
  • IPv4 ACL Chaining Support
  • IPv6 ACL Chaining with a Common ACL
  • Commented IP Access List Entries
  • Standard IP Access List Logging
  • IP Access List Entry Sequence Numbering
  • ACL IP Options Selective Drop
  • ACL Syslog Correlation
  • IPv6 Access Control Lists
  • IPv6 Template ACL
  • IPv6 ACL Extensions for Hop by Hop Filtering
  • Unique Device Identifier Retrieval
  • Advanced-Mode DOCSIS Set-Top Gateway 1.2 for the Cisco CMTS Routers
  • Cisco Network Registrar for the Cisco CMTS Routers
  • PacketCable and PacketCable Multimedia
  • COPS Engine Operation
  • Dynamic Bandwidth Sharing
  • Modular Quality of Service Command-Line Interface QoS
  • DOCSIS 1.1 for the Cisco CMTS Routers
  • Default DOCSIS 1.0 ToS Overwrite
  • DOCSIS WFQ Scheduler on the Cisco CMTS Routers
  • Fairness Across DOCSIS Interfaces
  • Service Group Admission Control
  • Subscriber Traffic Management
  • Narrowband Digital Forward And Narrowband Digital Return
  • Differentiated Services Code Point Downstream
  • Dynamic Shared Secret
  • Lawful Intercept Architecture
  • Cable Monitoring Feature for Cisco cBR Series Routers
  • Source-Based Rate Limit
  • Cable Duplicate MAC Address Reject
  • Cable ARP Filtering
  • Subscriber Management Packet Filtering Extension for DOCSIS 2.0
  • MAC Filtering
  • SNMP Support over VPNs—Context-Based Access Control
  • SNMP Engine Enhancement
  • Onboard Failure Logging
  • Control Point Discovery
  • IPDR Streaming Protocol
  • Usage-Based Billing (SAMIS)
  • Frequency Allocation Information for the Cisco CMTS Routers
  • Flap List Troubleshooting
  • Maximum CPE and Host Parameters
  • SNMP Background Synchronization
  • Online Offline Diagnostics
  • Factory Reset

Clear Contents of Search

Chapter: IPv6 on Cable

Hardware compatibility matrix for the cisco cbr series routers, multicast restrictions, qos restrictions, features supported, overview of the docsis 3.0 network model supporting ipv6, overview of cable modem ipv6 address provisioning, overview of ipv6 dual stack cpe support on the cmts, overview of ipv6 over subinterfaces, docsis pre ha, docsis line card ha, dynamic channel change, overview of ipv6 vpn over mpls, cable monitor, overview of ipv6 cpe router support on the cisco cmts, support for ipv6 prefix stability on the cmts, configurable dhcpv6 relay address, support for multiple iapds in a single advertise, ipv6 neighbor discovery gleaning, configuring ipv6 switching services, configuring the cable virtual bundle interface, configuring the ip provisioning mode and bundle on the cable interface, enabling mdd with pre-registration dsid, configuring ipv6 cable filter groups, cable filter groups and the docsis subscriber management mib, troubleshooting tips, configuring ipv6 domain name service, configuring ipv6 source verification, configuring ipv6 vpn over mpls, configuring dhcpv6 relay agent, configuring ipv6 source address and link address, configurable docsis cmts capabilities dhcpv6 field, disabling ipv6 nd gleaning, example: ipv6 over subinterfaces, example: basic ipv6 cable filter groups, example: complete cable configuration with ipv6, example: bgp configuration for 6vpe, example: subinterface configuration for 6vpe, example: cable interface bundling, example: vrf configuration for 6vpe, verifying ipv6 vrf configuration, verifying ipv6 bgp status, verifying mpls forwarding table, verifying ipv6 cable modem and its host state, verifying multiple iapds in a single advertise, supported mibs, additional references, feature information for ipv6 on cable.

Cisco cBR series Converged Broadband Router supports full IPv6 functionality.

The IPv6 feature support available in the Cisco IOS software and for Cisco CMTS routers is extensive. This document provides a comprehensive overview of all of the IPv6 features supported on the Cisco CMTS routers, and their restrictions.

However, the details of every feature are not covered in this document. The areas of IPv6 protocol support for the Cisco CMTS routers discussed in this document are classified by platform-independence or by platform-specific feature support.

Platform-independent IPv6 features—Describes IPv6 features that are supported in the Cisco IOS software for several other Cisco platforms, and which generally do not have any platform-specific behavior or configuration differences on the Cisco CMTS routers.

Documentation about the restrictions for these platform-independent features can be found in the Restrictions for IPv6 on Cable.

Detailed information about these features, including conceptual and task-based configuration information, is documented outside of this feature and in the Cisco IOS software documentation. Detailed information about the location of this related documentation in the Cisco IOS software documentation is described in the Feature Information for IPv6 on Cable.

Platform-specific IPv6 features—Describes IPv6 features that are specific to the cable technology area and that only apply to the supported Cisco CMTS routers. The cable-specific IPv6 feature support includes new or modified cable features supporting IPv6, and any transparent support of the IPv6 protocol in existing (legacy) cable features on the CMTS router platforms.

Your software release may not support all the features that are documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. The Feature Information Table at the end of this document provides information about the documented features and lists the releases in which each feature is supported.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://tools.cisco.com/ITDIT/CFN/ . An account on http://www.cisco.com/ is not required.

Restrictions for IPv6 on Cable

IPv6 multicast has the following behavior restrictions on the Cisco CMTS routers:

  • ICMP redirects are not sent to the originating host if the packet is destined for another CPE behind the same CM. All CPE-to-CPE traffic is processed by the Cisco CMTS router.
  • IPv6 multicast forwarding is not supported in Parallel Express Forwarding (PXF), therefore, the IPv6 multicast forwarding performance is limited by the Router Processor (RP).

The following areas of IPv6 multicast are not supported by the Cisco CMTS routers:

Address family support for Multiprotocol Border Gateway Protocol (MBGP)

Bidirectional Protocol Independent Multicast (PIM)

Bootstrap router (BSR)

DOCSIS 3.0 encrypted multicast

Explicit tracking of receivers

IPv6 multicast echo

Multicast Forwarding Information Base (MFIB) display enhancements

Multicast use authentication and profile support

PIM embedded rendezvous point

Protocol Independent Multicast sparse mode (PIM-SM) accept register feature

Reverse path forwarding (RPF) flooding of bootstrap router (BSR) packets

Routable address hello option

Source Specific Multicast (SSM) mapping for Multicast Listener Device (MLD) version 1 SSM

In Cisco IOS-XE Release 16.5.1 , the following fields are supported for theIPv6 downstream classification:

IPv6 dest addr

ipv6 src addr

IPv6 next header

IPv6 traffic class

The following areas of DOCSIS QoS are not supported by the Cisco CMTS routers:

Upstream IPv6 Type of Service (ToS) overwrite

Downstream IPv6 classification

Information About IPv6 on Cable

This section includes the following topics:

The following features are supported on the Cisco CMTS routers:

  • Source verification of IPv6 packets in PXF
  • ACL support for PXF
  • ToS overwrite
  • DOCSIS classification
  • Modular QoS CLI (MQC) on Gigabit Ethernet
  • IPv6 DOCSIS RP and LC HA and DCC
  • MAC tapping of IPv6 packets
  • Equal cost route load balancing of IPv6 packets destined to the backhaul
  • IPv6 over IPv4 GRE tunnels
  • Assignment of different prefixes to CM and CPE
  • DHCPv6 over MPLS-VPN
  • DHCPv6 relay prefix delegation VRF awareness
  • Assignment of multiple IAPDs in a single advertise for each CPE.
  • Assignment of multiple IA_NA and IAPD combinations to multiple CPEs behind a CM.
  • The default maximum number of IA_NA and IAPD combinations for each cable modem is 16, including link-local addresses.
  • IPv6 Downstream ToS overwrite.
  • DHCPv6 Client Link-Layer Address Option (RFC 6939).

Voice over IPv6. PacketCable Multimedia needs to be enabled before using this feature. For more information, see http://www.cisco.com/c/en/us/td/docs/cable/cbr/configuration/guide/b_pktcbl_pktcblmm/packetcable_and_packetcable_multimedia.html .

Figure below illustrates the network model described by the DOCSIS 3.0 MAC and Upper Layer Protocols Interface Specification .

ipv6 assignment command

In this model, the different devices support the following functions and services:

Customer premises equipment (CPE)—Supports IPv4, IPv6, or dual stack operation.

Cable modem (CM)—Functions as a bridging device and supports IPv4, IPv6, or dual stack operation.

Cable modem termination system (CMTS) router—Works with the CM over the hybrid fiber coaxial cable (HFC) network to provide IPv4 and IPv6 network connectivity to the provisioning servers and the core data network behind the CMTS router.

The CMTS router supports IPv6 address assignment, routing, and forwarding of IPv6 multicast and unicast packets.

Simple Network Management Protocol (SNMP) agent—Provides management tools to configure and query devices on the network.

Syslog server—Collects messages from the CM to support its functions.

Dynamic Host Control Protocol (DHCP) server—The DOCSIS 3.0 network model supports both DHCPv4 and DHCPv6 servers to control the assignment of IP addresses.

Time server—Provides the current time to the CM.

Trivial File Transport Protocol (TFTP) server—Provides the CM configuration file.

Prior to cable modem registration with a CMTS router, the CMTS router sends a MAC Domain Descriptor (MDD) message to provide information to the cable modem about its supported IP provisioning mode. You configure the CMTS router provisioning mode using the cable ip-init interface configuration command. For more information, see the Implementing IPv6 Addressing and Basic Connectivity for Cable Interfaces and Bundles .

The MDD contains an IP initialization parameters type length value (TLV) that defines the IP version, management and alternate provisioning mode, and pre-registration downstream service ID (DSID) that is used by cable modems that are capable of downstream traffic filtering.

When IPv6 is configured and active, for transmitting multicast DSID carrying IPv6 ND messages within a MAC domain, the CMTS contains the pre-registration DSID TLV encoding (type 5.2) in the MDD message.

To support the MULPIv3.0 I04 or later version of the DOCSIS 3.0 MAC and Upper Layer Protocols Interface Specification , the cable modem must attempt IPv6 address acquisition first.

Figure below illustrates the message flow between a cable modem, the CMTS router, and the DHCP server when the cable modem is requesting an IPv6 address.

ipv6 assignment command

Link-local address assignment—The cable modem sends a Neighbor Solicit (NS) message with its link-local address (LLA) to the CMTS router, which starts the duplicate address detection (DAD) process for that LLA. The cable modem expects no response to the NS message.

Router discovery—The cable modem listens to the downstream to detect periodical Router Advertise (RA) messages. When an RA message is detected, the cable modem uses the data in the RA message to configure the default route. If an RA is not detected in a specified period, the cable modem sends a Router Solicit (RS) message to find the router on the link (all nodes multicast). The CMTS router responds with a Router Advertise (RA) message with theM and O bits set to 1 to instruct the CM to perform stateful address configuration.

DHCPv6—The cable modem sends a DHCPv6 Solicit message to the CMTS router to request an IPv6 address. The CMTS router relays this message to the DHCPv6 servers. The DHCPv6 servers send an Advertise message indicating the server’s availability.

If the Rapid-Commit option is not used by the cable modem, then the cable modem responds to the Advertise message of the server with a Request message to select the server that the CMTS router relays to the DHCPv6 server. If the Rapid-Commit option is used, then multiple DHCPv6 servers that could assign different addresses to the same CPE must not be used.

The cable modem starts the DAD process to verify the uniqueness of the IPv6 address that the DHCPv6 server assigns to it.

TFTP and Time of Day (ToD)—Once the CM establishes IP connectivity, it sends a request to the TFTP server to download a configuration file and requests the current time from the ToD server to complete its boot process.

Most operating systems (OS) deployed at homes support dual stack operation. Cisco CMTS supports dual stack, which is both IPv4 and IPv6 addressing on the CPE.

Cisco CMTS supports IPv6 over bundle subinterfaces. To configure IPv6 on bundle subinterfaces, see the Implementing IPv6 Addressing and Basic Connectivity for Cable Interfaces and Bundles section. For a CMTS bundle configuration example, see the Example: IPv6 over Subinterfaces section.

To enable IPv6 on subinterfaces, configure IPv6 on bundle subinterfaces and not the bundle. Reset the CMs after the subinterface is configured.

Overview of High Availability on IPv6

Cisco cBR Series routers support IPv6 HA for the Supervisor card.

The IPv6 HA feature support in Cisco CMTS routers covers the following capabilities:

  • DOCSIS line card HA
  • Dynamic Channel Change (DCC)

The DOCSIS PRE HA has the following behavior restrictions and prerequisites on the Cisco CMTS routers:

  • The CMs and CPEs should not go offline after a PRE switchover.
  • The data structures of the IPv6 CM and CPE should be synchronized to the standby PRE before the PRE switchover. Both dynamic and bulk synchronization is supported.
  • Single stack, dual stack, and APM are supported for the CM.
  • Single stack and dual stack provisioning modes are supported on the CPE.
  • After a PRE switchover, the IPv6 neighbor entries are rebuilt by Neighbor Discovery (ND) messages on the standby PRE, and the IPv6 routes are rebuilt after converging the routing protocol.

The DOCSIS line card HA has the following behavior restrictions and prerequisites on the Cisco CMTS routers:

  • The data structures of the IPv6 CM and CPE should be synchronized to the standby line card before the line card switchover. Both dynamic and bulk synchronization is supported.
  • The CMs and CPEs should not fall offline after a line card switches over and reverts; the CMs and CPEs should behave the same as before the switchover.
  • The DOCSIS line card HA supports both 4+1 and 7+1 redundancy.
  • Traffic outages in IPv6 may be longer because traffic recovery occurs only after converging the routing protocol.

The Dynamic Channel Change (DCC) feature is supported on Cisco CMTS routers.

The IPv6 and IPv4 DCC functionality has the following behavior restrictions and prerequisites on the Cisco CMTS routers:

Narrowband Cable Modem

  • If the source and destination MAC domains of the CM are on the same line card, DCC initialization techniques 0, 1, 2, 3, and 4 are used to move the CM and its associated CPE from one upstream or downstream to another; or move the CM and CPE from one upstream and downstream combination to another.
  • If the source and destination MAC domains of the CM are on different line cards, you can use only the DCC initialization technique 0 to move the CM and its associated CPE across line cards.

Wideband Cable Modem

  • If the source and destination MAC domains of the CM are on the same line card, DCC initialization techniques 0, 1, 2, 3, and 4 are used to move the CM and its associated CPE from one upstream to another.
  • If the primary downstream of a CM is changed after DCC, you can use only the DCC initialization technique 0 to move the CM and its associated CPE across line cards.

The Multiprotocol Label Switching (MPLS) VPN feature represents an implementation of the provider edge (PE) based VPN model. This document describes the IPv6 VPN over MPLS (6VPE) feature.

The 6VPE feature allows Service Providers to provide an IPv6 VPN service that does not require an upgrade or reconfiguration of the PE routers in the IPv4 MPLS Core. The resulting IPv6 VPN service has a configuration and operation which is virtually identical to the current IPv4 VPN service.

In principle, there is no difference between IPv4 and IPv6 VPNs. In both IPv4 and IPv6, the multiprotocol BGP is the core of the MPLS VPN for IPv6 (VPNv6) architecture. It is used to distribute IPv6 routes over the service provider backbone using the same procedures to work with overlapping addresses, redistribution policies, and scalability issues.

Figure below illustrates the 6PE/6VPE reference architecture diagram.

ipv6 assignment command

The Cable Monitor and Intercept features for Cisco CMTS routers provide a software solution for monitoring and intercepting traffic coming from a cable network. These features give service providers Lawful Intercept capabilities.

For more information, see the Cable Monitor and Intercept Features for the Cisco CMTS Routers guide.

The IPv6 CPE router support is provided on the Cisco CMTS. The IPv6 CPE router is a node primarily for home or small office use that connects the end-user network to a service provider network. It is also referred to as the home router.

The IPv6 CPE router is responsible for implementing IPv6 routing; that is, the IPv6 CPE router looks up the IPv6 destination address in its routing table and decides to which interface the packet should be sent.

The IPv6 CPE router performs the following functions:

  • Provisions its WAN interface automatically.
  • Acquires IP address space for provisioning of its LAN interfaces.
  • Fetches other configuration information from the service provider network.

Figure below illustrates the CPE router reference architecture diagram between the CPE router, the CMTS, and the DHCPv6 server (CNR) when the CM is requesting an IPv6 address.

ipv6 assignment command

As part of the IPv6 CPE Router Support feature, the following enhancements are introduced:

  • Support to IPv6 router devices.
  • IPv6 Prefix Delegation (PD) High Availability.
  • Prefix awareness support in IPv6 cable source-verify, Cable DOCSIS filters code, and packet intercepts.

IPv6 prefix stability is supported on the Cisco CMTS as specified in DOCSIS 3.0 MULPI CM-SP-MULPIv3.0-I15-110210 standard. The IPv6 prefix stability allows an IPv6 home router to move from one Cisco CMTS to another while retaining the same prefix.

The multiple service operators (MSOs) can use this feature to allow their business customers (with IPv6 routers) to retain the same IPv6 prefix during a node split.

The DHCPv6 Cisco IOS relay agent on the Cisco CMTS router sends relay-forward messages from a source address to all configured relay destinations. The source address is either an IPv6 address provisioned on the network interface or a Cisco CMTS WAN IPv6 address. The relay destination can be a unicast address of a server, another relay agent, or a multicast address. The relay-forward messages contain specific DHCPv6 link-addresses.

A DHCP relay agent is used to relay messages between the client and server. A client locates a DHCP server using a reserved, link-scoped multicast address.

Use the cable ipv6 dhcp-insert hostname command to configure the Cisco cBR-8 routers for inserting descriptors into DHCPv6 packets and to insert the specific hostname.

DHCPv6 Client Link-Layer Address Option (RFC 6939)

Cisco IOS -XE Releases support DHCPv6 Client Link-Layer Address Option (RFC 6939). It defines an optional mechanism and the related DHCPv6 option to allow first-hop DHCPv6 relay agents (relay agents that are connected to the same link as the client) to provide the client's link-layer address in the DHCPv6 messages being sent towards the server.

The format of the DHCPv6 Client Link-Layer address option is shown below.

ipv6 assignment command

To configure DHCPv6 Relay Address on the Cisco CMTS bundle subinterfaces, see the Configuring DHCPv6 Relay Agent section.

For more information about the DHCPv6 client, server, and relay functions, see the Implementing DHCP for IPv6 chapter in the IPv6 Implementation Guide, Cisco IOS XE Release 3S .

Assignment of multiple IA_NA and IAPD to CPEs behind a CM is supported on Cisco CMTS routers. This feature includes support for link-local addresses and IA_NA and IAPD. However, a CM can be assigned only one IA_NA. This IA_NA can be either static or DHCP-assigned.

The CPEs behind the CM can request for multiple DHCPv6 IA_NAs and IAPDs. Each CPE is assigned multiple IA_NAs and IAPDs in a single Advertise/Reply message. Each CPE request for IA_NA and IAPD is treated as a separate Advertise/Reply message.

The IPv6 Neighbor Discovery (ND) Gleaning feature enables Cisco CMTS routers to automatically recover lost IPv6 CPE addresses and update the CPE records in the Cisco CMTS subscriber database. The Cisco CMTS router gleans only the solicited neighbor advertise (NA) messages transmitted in the upstream direction. IPv6 ND gleaning is similar to Address Resolution Protocol (ARP) gleaning for IPv4 CPE recovery.

The IPv6 ND Gleaning feature is configured by default on Cisco CMTS routers. To disable this feature, use the no form of the cable nd command in bundle interface configuration mode. The cable nd command adds a CPE (host behind a cable modem) to the Cisco CMTS subscriber database. This command does not impact the IPv6 ND protocol operation on the router.

How to Configure IPv6 on Cable

This section includes the following tasks:

The CMTS routers support forwarding of unicast and multicast IPv6 traffic using either Cisco Express Forwarding for IPv6 (CEFv6) or distributed CEFv6 (dCEFv6):

CEFv6—All CMTS platforms

dCEFv6—Cisco uBR10012 universal broadband router only

The CMTS routers also support Unicast Reverse Path Forwarding (RPF), as long as you enable Cisco Express Forwarding switching or distributed Cisco Express Forwarding switching globally on the router. There is no need to configure the input interface for Cisco Express Forwarding switching. As long as Cisco Express Forwarding is running on the router, individual interfaces can be configured with other switching modes.

To configure forwarding of IPv6 traffic using Cisco Express Forwarding or distributed Cisco Express Forwarding (supported on the Cisco uBR10012 universal broadband router only) on the CMTS routers, you must configure forwarding of IPv6 unicast datagrams using the ipv6 unicast-routing global configuration command, and you must configure an IPv6 address on the bundle interface using the ipv6 address command.

The show ipv6 cef platform command is supported on the Cisco CMTS platform. You can use the show ipv6 cef platform command for debugging purposes.

Before you begin

You must enable Cisco Express Forwarding for IPv4 globally on the router by using the ip cef or ip cef distributed command before configuring Cisco Express Forwarding v6 or distributed Cisco Express Forwarding v6.

You must configure forwarding of IPv6 unicast datagrams using the ipv6 unicast-routing global configuration command.

You must configure IPv6 addressing on the cable bundle interface.

CEF switching is required for Unicast RPF to work.

Step 4

Do one of the following:

  • ipv6 cef distributed

Enables Cisco Express Forwarding v6.

Enables distributed Cisco Express Forwarding v6 for IPv6 datagrams.

Step 5

ipv6 unicast-routing

Enables the forwarding of IPv6 unicast datagrams.

What to do next

  • (Optional) Enable IPv6 multicast routing using the ipv6 multicast-routing command in global configuration mode and configure other multicast features.

Implementing IPv6 Addressing and Basic Connectivity for Cable Interfaces and Bundles

The only required IPv6 configuration on a cable line card interface is the IP provisioning mode. The remainder of the IPv6 features are configured at the virtual bundle interface, which is then associated with a particular cable line card interface to establish its configuration.

Most of the IPv6 features that are supported in interface configuration mode (both cable-specific as well as platform-independent IPv6 features) are configured at a cable bundle interface.

The Cisco CMTS routers support IPv6 routing on the bundle interface and map both IPv6 unicast and multicast addresses into the cable bundle forwarding table, for packet forwarding.

Each bundle interface has a unique link-local address (LLA) to support link-local traffic when IPv6 is enabled. Cisco CMTS routers can support a maximum of 40 active bundle interfaces, which also translates to a maximum of 40 active IPv6-enabled bundle interfaces.

IPv6 commands can be configured on multiple bundle subinterfaces.

The cable ipv6 source-verify and cable nd commands are not compatible with each other in Cisco IOS release 12.2(33)SCE and later. You must disable IPv6 ND gleaning using the no form of the cable nd command before using the cable ipv6 source-verify command to ensure that only DHCPv6 and SAV-based CPEs can send traffic on the router.

  • Configure the desired platform-independent IPv6 features on the bundle interface, such as Neighbor Discovery and DHCPv6 features.
  • Configure the IP provisioning mode and bundle on the cable interface.

The CMTS routers allow you to configure cable interfaces to support cable modems provisioned for both IPv4 and IPv6 addressing support (known as “dual stack”), only IPv4 addressing, or only IPv6 addressing. Prior to cable modem registration, the CMTS router sends its supported provisioning mode to the cable modem in the MDD message.

In addition to configuring the provisioning mode on the cable interface, you must also associate the cable interface with a cable bundle. You perform most of the other IPv6 feature configuration at the bundle interface.

Configuration of a bundle interface is required.

Proceed to configuring any other cable interface features that you want to support, such as upstream and downstream features. For more information about the other cable interface features, refer to the Cisco IOS CMTS Cable Software Configuration Guide .

Proceed to configure other optional IPv6 cable features.

When only IPv4 is configured and active, where the IP provisioning mode is IPv4, for Cable Modems to come online, the pre-registration DSID (TLV 5.2) is required in the MAC Domain Descriptor (MDD) message. To enable this pre-registration DSID, use the following command.

By default, this command is disabled.

The Cisco CMTS router supports IPv6 cable filter group capability with IPv6 filter options.

Cable subscriber management is a DOCSIS 1.1 specification, which can be established using the following configuration methods:

  • CMTS router configuration (via CLI)
  • SNMP configuration
  • DOCSIS 1.1 configuration file (TLVs 35, 36, and 37)

This section describes the IPv6 cable filter group feature support of the packet filtering portion of the DOCSIS Subscriber Management MIB (DOCS-SUBMGMT-MIB) using configuration commands on the CMTS routers. This IPv6 cable filter group support extends filter classifiers with IPv6 addressing options for CM and CPE traffic, but is independent of DOCSIS IPv6 classifiers, which are used to match packets to service flows.

Configuration of IPv6 cable filter groups on the CMTS routers is supported according to the following guidelines:

  • A cable filter group consists of a set of cable filter group commands that share the same group ID.
  • Separate indexes can be used to define different sets of filters for the same group ID. This can be used to define both IPv4 and IPv6 filters to the same filter group.
  • Upstream traffic—All traffic coming from CMs is evaluated against the assigned upstream filter group that is configured by the cable submgmt default filter-group cm upstream command.
  • Downstream traffic—All traffic going to CMs is evaluated against the assigned downstream filter group that is configured by the cable submgmt default filter-group cm downstream command.
  • Upstream traffic—All traffic coming from CPEs is evaluated against the assigned upstream filter group that is configured by the cable submgmt default filter-group cpe upstream command.
  • Downstream traffic—All traffic going to CPEs is evaluated against the assigned downstream filter group that is configured by the cable submgmt default filter-group cpe downstream command.

You must create the cable filter group before you assign it to a CM or CPE upstream or downstream.

Step 10

cable filter group group-id index index-num tcp-flags flags-mask flags-value

(Optional) Specifies the TCP flag mask and value to be matched (IPv4 and IPv6 filters):

Step 11

cable filter group group-id index index-num v6-dest-address ipv6-address

(Optional) Specifies the IPv6 destination address that should be matched using the format X:X:X:X::X (IPv6 filters only).

Step 12

cable filter group group-id index index-num v6-dest-pfxlen prefix-length

(Optional) Specifies the length of the network portion of the IPv6 destination address. The valid range is from 0 to 128.

Step 13

cable filter group group-id index index-num v6-src-address ipv6-address

(Optional) Specifies the IPv6 source address that should be matched using the format X:X:X:X::X (IPv6 filters only).

Step 14

cable filter group group-id index index-num v6-src-pfxlen prefix-length

(Optional) Specifies the length of the network portion of the IPv6 source address. The valid range is from 0 to 128 (IPv6 filters only).

Step 15

cable submgmt default filter-group { cm | cpe } { downstream | upstream } group-id

Applies a defined filter group (by specifying its group-id) to either a CM or its CPE devices, for downstream or upstream traffic.

Step 16

cable submgmt default active

(Required if you do not provision TLVs 35, 36, and 37 in the DOCSIS 1.1 CM configuration file)

Enables filters and allows the CMTS to manage the CPE devices for a particular CM (sets the docsSubMgtCpeActiveDefault attribute to TRUE).

The following example shows how to create an IPv6 filter group with ID 254 and an index number of 128. The ip-version ipv6 keywords must be configured to create the IPv6 filter group; otherwise, the default is an IPv4 filter group:

This group filters CM upstream traffic and drops any packets with an IPv6 source address of 2001:33::20B:BFFF:FEA9:741F (with network prefix of 128) destined for an IPv6 address of 2001:DB8::/32 (with network prefix of 128).

All of the cable filter group commands are associated by their group ID of 254 (and index of 128), and the cable submgmt default filter-group command applies the corresponding filter group ID of 254 to CM upstream traffic.

To monitor your cable filter group configuration, use forms of the show cable filter command as shown in the following examples. In these output examples, the output from the show cable filter , show cable filter group 254 , and show cable filter group 254 index 128 commands all display the same information because there is currently only a single filter group and index defined.

You should configure the cable filter group commands prior to applying a filter group using the cable submgmt default filter-group command. Failure to do so results in the following message, and an association to a filter group that is undefined:

Cisco IOS releases support the domain name service (DNS) capability for devices using IPv6 addressing on the Cisco CMTS routers.

DNS simplifies the identification of cable devices by associating a hostname with what can often be a complex 128-bit IPv6 address. The hostname can then be used in place of the IPv6 address within the CMTS router CLI that supports use of hostnames.

There are two separate DNS caches supported on a CMTS router—an IOS DNS cache and a cable-specific DNS cache that stores IPv6 addresses learned by the CMTS router for CMs and CPEs.

In this phase of the IPv6 DNS service on cable, the DNS server is queried for domain name information as needed when you use the show cable modem domain-name command. When you use this command, the following actions take place:

  • The CMTS router checks whether CMs are online. If a CM is online, the CMTS router uses the corresponding IPv6 address assigned to the CM and looks up its domain name from the IOS DNS cache.
  • If no match is found, the CMTS router sends a DNS-QUERY message with the IPv6 address of the CM to the DNS server, which tries to resolve the domain name.
  • When the DNS reply is received, the CMTS router stores the domain name in the IOS DNS cache for each IPv6 address.
  • The CMTS router also stores the fully-qualified domain name (FQDN) that is replied by the DNS server in the cable-specific DNS cache.

The following platform-independent Cisco IOS -xe software commands are supported using host names by the CMTS router for IPv6 DNS on cable:

A DNS server must be configured.

You must identify and assign the host names to the IPv6 addresses. If you are using the Cisco DNS server, use the ip host global configuration command to map hostnames to IP addresses.

You must configure the DNS server using the ip name-server global configuration command before use of DNS host names (or domains) are available in the supported commands.

The show cable modem domain-name command must be run first on the Route Processor (RP) of the CMTS router before any domain name can be used as part of a cable command.

Typically, the IPv6 source verification feature is enabled on a cable bundle interface. From there, the cable interface is associated with the virtual bundle interface to acquire its configuration.

When you enable IPv6 source verification on a cable line card interface, the source verification routine verifies the MAC address-MD-SID-IP binding of the packet. If the source verification succeeds, the packet is forwarded. If the verification fails, the packet is dropped.

When a CM is operating as a bridge modem device, then the CMTS router verifies all the IPv6 addresses related to that CM and the CPEs behind that CM.

The cable ipv6 source-verify command controls only the source verification of IPv6 packets. For IPv4-based source verification, use the cable source-verify command, which also supports different options.

For more information about how to configure IPv6 source verification on a bundle interface, see the Configuring the Cable Virtual Bundle Interface .

Restrictions

Source verification of IPv6 packets occurs only on packets in the process-switched path of the Route Processor (RP).

The Cisco CMTS routers support the IPv6 VPN over MPLS (6VPE) feature. Implementing this feature includes the following configuration tasks.

Configuring a VRF instance for IPv6

Binding a VRF to an interface

Creating a subinterface

Configuring a static route for PE-to-CE-routing

Configuring eBGP PE-to-CE routing sessions

Configuring the IPv6 VPN address family for iBGP

Configuring route reflectors for improved scalability

Configuring Internet access

For detailed information about the configuration examples, see Configuration Examples for IPv6 on Cable .

The Cisco CMTS router supports DHCPv6 relay agent to forward relay-forward messages from a specific source address to client relay destinations.

Perform the following steps to enable the DHCPv6 relay agent function and specify relay destination addresses on an interface.

The relay-forward messages must contain specific source IPv6 address. This is required because the firewall deployed between the Cisco CMTS DHCPv6 relay agent and the DHCPv6 server expects only one source address for one Cisco CMTS bundle interface.

In some network deployments, there is a firewall between CNR servers and CMTS router. The firewall only allows packets from certain addresses to transmit to CMTS router.

To allow the DHCPv6 message to be sent to CNR server with specific source address, user needs to configure the source address of the relayed forwarded DHCPv6 message in the following 3 ways:

In the global configuration mode, use the command ipv6 dhcp-relay source-interface interface-type interface-number

In the interface configuration mode, use the command ipv6 dhcp relay source-interface interface-type interface-number

In the interface configuration mode, use the command ipv6 dhcp relay destination ipv6-address[interface] [ link-address link-address ] [ source-address source-address]

If the user does not have any of the above configuration, the DHCPv6 message will be relay forwarded with default source-address, which will be calculated based on relay destination address.

If any one of above is configured, the source-address of the DHCPv6 message will be based on that configuration.

If more than one configuration above is configured, the overriding rule is that more specific configuration wins, i.e., 3>2>1.

According to DOCSIS 3.1 specification, CMTS must support DOCSIS 3.0 cable modems and features. To support the backward compatibility of DOCSIS versions, the DHCPv6 vendor option must change from 30 to 31.

You can now upgrade to any DOCSIS version using the cable docsis-ver [major version | minor version] command.

The default value of the command is cable docsis-ver 3 1 .

You must disable IPv6 ND gleaning before configuring IPv6 source verification using DHCPv6 leasequery.

How to Verify IPv6 Dual Stack CPE Support

This section describes how to use show commands to verify the configuration of the IPv6 Dual Stack CPE Support on the CMTS feature.

Use the show cable modem ipv6 command to display the IPv6 portion of a dual stack CPE and use the show cable modem cpe command to display the IPv4 mode of a dual stack CPE. Both show cable modem ipv6 registered and show cable modem registered commands display CPE count as one for a dual stack CPE.

The following example shows the output of the show cable modem ipv6 command:

The following example shows the output of the show cable modem registered command:

The following example shows the output of the show cable modem cpe command:

Configuration Examples for IPv6 on Cable

This section includes the following examples:

The following example shows the CMTS bundle configuration that can be used with subinterfaces:

The following example shows the configuration of an IPv6 filter group that drops traffic from a specific IPv6 host (with source address 2001:DB8::1/48) behind a cable router to an IPv6 host on the network (with destination address 2001:DB8::5/64):

The following example shows a complete cable configuration example; it also displays the configuration of multiple cable filter groups using both IPv4 and IPv6 and separate indexes to associate the filter definitions with the same group ID.

The following example shows a sample BGP configuration on CMTS 6VPE.

The following example shows how to define a subinterface on virtual bundle interface 1.

When configuring IPv6 VPNs, you must configure the first subinterface created as a part of the management VRF. In the following example, Bundle 1.10 is the first sub-interface, which is configured into management VRF. Make sure the CNR server is reachable in management VRF.

The following example shows how to bundle a group of physical interfaces.

The following example shows how to create VRFs for each VPN.

Verifying IPv6 on Cable

This section explains how to verify IPv6 on cable configuration and it contains the following topics:

To verify the IPv6 VRF configuration, use the show vrf ipv6 command in privileged EXEC mode.

To verify the IPv6 BGP status, use the show ip bgp command in privileged EXEC mode.

To verify the output of the MPLS forwarding table, use the show mpls forwarding-table command in the privileged EXEC mode.

To verify IPv6 addresses and connected host states of cable modems and CPEs, use the show interface cable modem command in the privileged EXEC mode:

To verify the multiple IPv6 prefixes assigned to devices on a network, use the show cable modem ipv6 prefix command in privileged EXEC mode:

To verify the multiple IPv6 prefixes assigned to CPEs behind a CM with a specific MAC address, use the show cable modem mac-address ipv6 prefix command in privileged EXEC mode:

To verify the IPv6 information of CPEs behind a CM with a specific MAC address, use the show cable modem mac-address ipv6 cpe command in privileged EXEC mode:

CISCO-DOCS-EXT-MIB

The CISCO-DOCS-EXT-MIB contains objects that support extensions to the Data-over-Cable Service Interface Specifications (DOCSIS) interface MIB, DOCS-IF-MIB.

CdxBundleIpHelperEntry—Provides a list of cable helper entries on the bundle and sub-bundle interfaces.

CdxBundleIPv6DHCPRelayEntry—Contains the IPv6 DHCP relay option, IPv6 DHCP relay source-interface details, and IPv6 DHCP relay trust configuration on a bundle and sub-bundle interface.

CdxBundleIPv6DHCPRelayDestEntry—Contains a list of IPv6 DHCP relay destination entries on the cable bundle and sub-bundle interfaces.

Technical Assistance

Use Cisco Feature Navigator to find information about the platform support and software image support. Cisco Feature Navigator enables you to determine which software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to the https://cfnng.cisco.com/ link. An account on the Cisco.com page is not required.

Was this Document Helpful?

Feedback

Contact Cisco

login required

  • (Requires a Cisco Service Contract )

ipv6 assignment command

Guide to Linux ip Command With Examples

Last updated: May 17, 2024

ipv6 assignment command

  • Administration

1. Overview

IP is the abbreviation for Internet Protocol in networking. Like the ifconfig utility, the ip command is a network utility specifically designed for managing Linux system networks .

The main goal of the ip command is to configure different network interfaces . In this tutorial, we’ll use the ip command with various available options.

2. Syntax of ip Command

The ip command has a straightforward syntax. First, the ip command alone in the terminal can display its general syntax:

Here’s what we can learn about the  ip  command from the above output:

  • The above syntax shows that the command starts with the ip keyword followed by available OPTIONS .
  • OPTIONS represent flags used to amend the behavior of the ip command.
  • The OBJECT can be a placeholder for network-related objects on which the ip command will operate, such as address , help , and others.

3. General Usage of ip Command

As discussed before, the Linux system provides different options to be used within the ip command to get various output information.

Thus, let’s look at a few of the other options and objects that are available one by one.

3.1. Using ip Command With link Object

The ip command and the link object are used for displaying and managing all the available network interfaces on Linux systems .

Here, we’re executing ip link to display all network interfaces:

In this example, lo denotes the loopback interface specified for a local host. Meanwhile, enp0s3 is an ethernet network interface on slot 3.

The output of this command displays the two devices along with their network status, such as UNKNOWN and UP . However, qlen is the device’s default transmit queue length measured in packets. The above interfaces have a default 1000-packet queue, which means the 1001 packet would be dropped.

Meanwhile, if we need to get data about a specific device, such as enp0s3 , we need to mention it after the keyword dev :

Here, the output displayed in return is specific for the ethernet device enp0s3 .

3.2. Get Stats Using the -s OPTION

Sometimes, we want to get the stats about the transferred or dropped packets over the Linux network. For this, we specify the -s option of the ip command and the link object:

In return, the stats regarding the two devices are displayed on the terminal. The RX stands for Received, while the TX stands for Transmitted network data . Also, we have information about the total bytes and packets received and transferred over the network. These stats do not include errors, dropped packets, or missed data packets.

Meanwhile, to get network data information about a single device, such as enp0s3 , let’s use the ls command followed by the device name :

Now, we’re adding another -s option to the ip command, which can display even more details about the network traffic:

Hence, the above output has a separate section of received and transferred network data about the errors.

3.3. Update Network Interface Status

A networking device’s status can be up , down , or unknown and can be updated when necessary . up  means that the network interface is active and can transmit data, and  down means that it’s currently disabled.

Let’s use the ip link command to set the status of the lo network interface to up first and then down :

If the command executes successfully, no output message will be displayed.

According to our system’s hardware capabilities, the network interface performance can be slowed down or sped up by updating the values of the transmit queue and mtu (maximum transmitting unit) .

We’re using the ip link command to set the txqueuelen and mtu values to 5 for the network device lo :

Again, no output is displayed on the terminal.

3.4. Manage IP Addresses With the addr OBJECT

The ip command can be executed with the object addr to get information about the IP addresses associated with the network interfaces:

Above, the command outputs the IP address, subnet mask, and other information for the ethernet interface enp0s3 . The output for the loopback interface is nothing more than its mtu value and state as UNKNOWN .

Similarly, we can use the show option in the command to get the information on IP addresses for the network interfaces separately, followed by the device name:

Additionally, we can list the network interfaces with IPv4 or IPv6 addresses by using the options -4 and -6 , respectively, in the ip addr command:

Thus, we can see the output separately for both available network interfaces.

3.5. Adding an IP Address

We can also use the ip command to assign IP addresses to network interfaces.

Here, we’re using the ip addr  command and the  add option to add IP address 192.168.10.10 to the loopback interface. If successful, this command doesn’t return anything:

Additionally, to verify the success of the add option in the above command, let’s use the show option in the ip addr command:

Finally, the terminal result shows that the inet address 192.168.10.10 was successfully added to the network interface.

3.6. Removing an IP Address

Just like we can assign an IP address to a network device, the ip addr command provides an option del to remove an IP address for a specific network device .

Let’s see how to remove an IP address from the loopback interface using  ip addr del :

After that, the command displays a warning and successfully removes the IP address from the network device lo .

3.7. Managing the Routing Table

The routing table provides information regarding data routing towards the destination . The ip command displays the routing table by using its route object:

Here, the first line of the output depicts the default route 10.0.2.2 .

3.8. Adding a New Entry to the Routing Table

The  ip route add command can add a new route to the routing table.

Here, we’re adding a new route to the network interface enp0s3 by executing the ip route command with the add option followed by a new IP address 192.169.10.10 :

Let’s execute the  ip route list  command to confirm that the new route was successfully added:

Thus, the routing table displays a new entry.

4. Conclusion

In this article, we discussed the ip command and its syntax in detail. The ip command can display network interface information and its stats. The network interface status can also be updated by using ip command.

Finally, we used ip to get information about the IP addresses associated with the network interfaces, assigned and removed IP addresses, displayed information about the routing table, and added a new entry.

guest

IMAGES

  1. How to Ping IPv6 Address from Windows and Linux CLI

    ipv6 assignment command

  2. Troubleshoot IPv6 Dynamic Address Assignment with Cisco Router and

    ipv6 assignment command

  3. IPv6

    ipv6 assignment command

  4. Troubleshoot IPv6 Dynamic Address Assignment with Cisco Router and

    ipv6 assignment command

  5. How To Check The IPv6 Configuration On A Windows Device

    ipv6 assignment command

  6. IPv6 Address Assignment Example

    ipv6 assignment command

VIDEO

  1. 112 TSHOOT Address Assignment Issues SLAAC IPv6

  2. IPV6 configuration

  3. English Assignment

  4. Stateless IPv6 Assignment Method (SLAAC Only & SLAAC + DHCPv6)

  5. Design patterns assignment : command and mediator

  6. Stateless IPv6 Assignment Method

COMMENTS

  1. IPv6 Addressing and Basic Connectivity Configuration Guide ...

    When IPv6 or IPv4 command output displays an IPv6 address, a long IPv6 address can overflow into neighboring fields, causing the output to be difficult to read. ... Configuring IPv6 Addressing and Enabling IPv6 Routing. Perform this task to assign IPv6 addresses to individual device interfaces and enable IPv6 traffic forwarding globally on the ...

  2. How to Configure IPv6 Address on Cisco Routers with Example

    Extended Unique Identifier or EUI-64 format allows a host to automatically assign itself a unique 64-bit IPv6 interface identifier without manual configuration. ... Cisco IOS supports IPv6 many years ago, but it is not enabled by default and needs to be explicitly enabled with the command "ipv6 unicast routing".

  3. IPv6 Commands: ipv6 a to ipv6 g

    Usage Guidelines. The ipv6 access-class command is similar to the access-class command, except that it is IPv6-specific.. Identical restrictions should be set on all the virtual terminal lines because a user can connect to any of them. The incoming connection source address is used to match against the access list source prefix.

  4. IPv6 Configuration Guide

    Perform this task to assign IPv6 addresses to individual device interfaces and enable IPv6 traffic forwarding globally on the device. By default, IPv6 addresses are not configured and IPv6 routing is disabled. ... on the device with the ipv6 unicast-routing command, an IPv6 address has been configured on Gigabit Ethernet interface 0/0/0 with ...

  5. IPv6 Address Assignment Example

    In this lesson we'll take a look how you can create IPv6 prefixes and subnets so that you can configure your entire network with IPv6. We'll start at the top where IANA (Internet Assigned Numbers Authority) is responsible for the global coordination of the IPv4 and IPv6 address space and move our way all the way to the bottom where we assign subnets and IPv6 addresses to our routers ...

  6. How to configure IPv6 Static Route

    IPv6 Address Types; IPv6 Address Assignment Example; IPv6 EUI-64 explained; IPv6 Summarization Example; IPv6 General Prefix; ... I still did not get how you get it to write it in your command line below, "Futura(config) #ipv6 route 2001::2/128 fastEthernet 0/0 FE80::CE0A:22FF: ...

  7. IPv6: How to configure static and DHCP IP addressing and deal with DNS

    IPv6 offers several ways that aren't possible in IPv4 to assign IP addresses, and DNS set-up has differences as well. ... The third way is to use the Windows PowerShell command-line interface ...

  8. How do I assign IPv6 addresses manually?

    The section about specifying the IP addresses that the router assigns by MAC address does not say whether they are IPv4 or IPv6, but I think it is highly unlikely that this will work for IPv6. And here is why. IPv6 is quite unlike IPv4 in the sense that the long IPv6 address is made up of two parts. The first (the prefix) is assigned by the ISP.

  9. Chapter 6. Configuring IPv6 addresses

    There are different ways to configure an IPv6 address on an interface. You can use use "ifconfig" or "ip".

  10. Stateless autoconfiguration for IPv6

    R2 will have an IPv6 address and is going to send router advertisements. R1 will use this to configure its own IPv6 address. R2(config)#ipv6 unicast-routing R2(config)#interface fastEthernet 0/0 R2(config-if)#ipv6 address 2001:1234::/64 eui-64. Besides configuring an IPv6 address, we must use the ipv6 unicast-routing command to make R2 act like ...

  11. IPv6 Commands

    Use the show ipv6 rip command to display IPv6 RIP routes. ... sets an address prefix for address assignment. This address must be in hexadecimal, using 16-bit values between colons. link-address IPv6-prefix sets a link-address IPv6 prefix. When an address on the incoming interface or a link-address in the packet matches the specified IPv6 ...

  12. 9 Steps

    After going to the configuration mode with "configure terminal" command, to enable IPv6 on a Cisco router, "ipv6 unicast-routing" command is used. With this Cisco command, IPv6 is enabled globally on the router. This can be used before both interface configurations and IPv6 Routing Protocol configurations. Router 1# configure terminal

  13. 2. Add an IPv6 address

    Adding an IPv6 address is similar to the mechanism of "IP ALIAS" addresses in Linux IPv4 addressed interfaces.

  14. 12.9.2 Lab

    Step 1: Assign the IPv6 addresses to Ethernet interfaces on R1. Step 2: Enable IPv6 routing on R1. Step 3: Assign IPv6 addresses to the management interface (SVI) on S1. ... On a PC-B command prompt, enter the ipconfig command to examine IPv6 address information assigned to the PC interface.

  15. How to Configure IPv6 on CISCO Router?

    Step 2: Configuring the GigabitEthernet Interfaces. First, we will configure the GigabitEthernet0/0 using CLI.; Click on router0 and go to CLI and type the commands are given below:; Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ipv6 unicast-routing Router(config)#int Gig0/0 Router(config-if)#ipv6 address FE80::1 link Router(config-if)#ipv6 ...

  16. How to Enable IPv6 on a Cisco Router?

    First, enable IPv6 routing on a Cisco router using the 'ipv6 unicast-routing' global configuration command. This command globally enables IPv6 and must be the first command executed on the router. Configure the IPv6 global unicast address on an interface using the 'ipv6 address address/prefix-length [eui-64]' command.

  17. How to configure ipv6 address in Linux (RHEL / CentOS 7/8)

    Configure IPv6 address using Network Manager (nmtui), CLI, Modify existing IPv6 address using nmci on Linux (RHEL / CentOS 7), Best practices for IPv6 usage ... In the below command we are changing the IPv6 address of our interface eno49 from 2001:1:1:1443::433 to 2001:1:1:1443::434, while the gateway remains the same.

  18. Understand the IPv6 Link-Local Address

    IPv6 Address Formats found in the Cisco IOS® IPv6 Command Reference; Components Used. The information in this document is based on the Cisco 3700 series router with Cisco IOS® Software Release 12.4 (15)T1. The information in this document was created from the devices in a specific lab environment. All of the devices used in this document ...

  19. Navigating IPv6 Address Configuration: SLAAC, Stateful DHCPv6, and

    Stateful DHCPv6. Stateful DHCPv6, as the name suggests, brings an element of centralization and statefulness to IPv6 address configuration. Devices request and receive specific IPv6 addresses from a DHCPv6 server, which maintains a record of assigned addresses and manages the overall address space.

  20. How to use IPv6 in enterprise networks

    IPv6 commands. Network troubleshooters rely on tools like ping and traceroute-- or tracert on Windows -- to help diagnose and correct network issues in IPv4 systems. The process is similar with IPv6. Commands to show IPv6 addresses. Use the standard OS commands to see IPv6 addresses on a workstation. On Linux, type the following: ip addr

  21. 12.6.6 Packet Tracer

    a. Enter the commands necessary to move to interface configuration mode for GigabitEthernet0/0. b. Configure the IPv6 address with the following command: R1(config-if)# ipv6 address 2001:db8:1:1::1/64. c. Configure the link-local IPv6 address with the following command: R1(config-if)# ipv6 address fe80::1 link-local. d. Activate the interface.

  22. Cisco cBR Converged Broadband Routers DOCSIS Software Configuration

    Message Flow for CM Provisioning of DHCP IPv6 Address Assignment Link-local address assignment—The cable modem sends a Neighbor Solicit (NS) message with its link-local address (LLA) to the CMTS router, which starts the duplicate address detection (DAD) process for that LLA. ... IPv6 commands can be configured on multiple bundle subinterfaces.

  23. Guide to Linux ip Command With Examples

    We can also use the ip command to assign IP addresses to network interfaces. Here, we're using the ip addr command and the add option to add IP address 192.168.10.10 to the loopback interface. If successful, this command doesn't return anything: $ sudo ip addr add 192.168.10.10 dev lo [sudo] password for aqsa: