博客
关于我
Linux配置IPv6
阅读量:793 次
发布时间:2023-02-05

本文共 580 字,大约阅读时间需要 1 分钟。

1、Linux配置IPv6地址与路由

配置IPv6地址信息:

[root@controller ~]# nmcli connection show

查看网卡NAME UUID TYPE DEVICE

eth0 5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 802-3-ethernet eth0

[root@controller ~]# nmcli connection modify eth0 ipv6.addresses 2001:db8:85a3::8a2e:370:195/64 ipv6.method manual

配置永久生效的ipv6,注意ipv6地址别搞错了,ipv6.method manual意思是设为手动模式

[root@controller ~]# nmcli connection up eth0

启动网卡Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)

ping6 fddb:fe2a:ab1e::c0a8:2

PING fddb:fe2a:ab1e::c0a8:2(fddb:fe2a:ab1e::c0a8:2) 56 data bytes

转载地址:http://crkfk.baihongyu.com/

你可能感兴趣的文章
Linux虚拟网络设备—Veth Pair
查看>>
linux解压缩命令之unzip,tar(持续更新)
查看>>
linux解析core文件都是问号,gdb core文件函数出现问号
查看>>
linux设备共享,Linux中的存储设备共享之target
查看>>
Linux设备模型(5)_device和device driver
查看>>
Linux设备驱动开发学习(4):字符设备驱动(未完)
查看>>
linux设置时区和自动同步时间
查看>>
Linux语言配置
查看>>
Linux课题实践四——ELF文件格式分析
查看>>
Linux调优工具tuned
查看>>
Linux调度器 - 进程优先级
查看>>
Linux负载CPU、内存、磁盘IO、网络IO状态分析详解
查看>>
Linux账号安全——用户登陆权限
查看>>
Linux资产管理与服务器运行状态监控脚本
查看>>
Linux超级强大的十六进制dump工具:XXD命令,我教你应该如何使用!
查看>>
Linux路径格式与Window路径格式的转换(附Python代码)
查看>>
linux踢掉线上用户
查看>>
Linux踢掉远程登录用户
查看>>
Linux软RAID(MDAMD)使用实战
查看>>
Linux软件包源码编译安装实战
查看>>