Configure IPv4 and IPv6 in nmcli

Source: Internet
Author: User
  1. Nmcli con add con-name eno1 type Ethernet ifname eno1

  2. Nmcli con show

  3. Nmcli con show eno1

  4. Nmcli con mod eno1 ipv4.addresses 192.168.0.100/24

  5. Nmcli con mod eno1 ipv4.method Manual

  6. Nmcli con mod eno1 2.166.addresses fddb: fe2a: ab1e: c0a8: 64/64

  7. Nmcli con mod eno1 release 6.method Manual

  8. Nmcli con down eno1

  9. Nmcli con up eno1

  10. Ip addr show Dev eno1

  11. Ping-I eno1 192.168.0.254

  12. Ping6-I eno1 fddb: fe2a: ab1e: c0a8: Fe

This article is from the "Blood Java" blog, please be sure to keep this source http://sunrain990.blog.51cto.com/3700585/1558806

Configure IPv4 and IPv6 in nmcli

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.