- 论坛徽章:
- 0
|
下面是我的网络配置,我想添加一个ipv6地址,我该在那个interface上添加,怎么添加
# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 34:40:b5:a0:ca:10 txqueuelen 1000 (Ethernet)
RX packets 1758968 bytes 811471744 (773.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 489989 bytes 517564679 (493.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 34:40:b5:a0:ca:12 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s29f0u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 36:40:b5:99:ca:13 txqueuelen 1000 (Ethernet)
RX packets 26392 bytes 1718000 (1.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 10631 bytes 34975753 (33.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10631 bytes 34975753 (33.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
switch: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.66.106.28 netmask 255.255.248.0 broadcast 10.66.111.255
inet6 3ffe::105 prefixlen 64 scopeid 0x0<global>
inet6 fe80::3640:b5ff:fea0:ca10 prefixlen 64 scopeid 0x20<link>
ether 34:40:b5:a0:ca:10 txqueuelen 0 (Ethernet)
RX packets 1393967 bytes 760402265 (725.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 191466 bytes 495891799 (472.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
inet6 3ffe::105 prefixlen 64 scopeid 0x0<global>
inet6 fe80::fc54:ff:fee7:7e04 prefixlen 64 scopeid 0x20<link>
ether fe:54:00:e7:7e:04 txqueuelen 0 (Ethernet)
RX packets 6512 bytes 421078 (411.2 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 1366 bytes 72078 (70.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc54:ff:fee7:7e04 prefixlen 64 scopeid 0x20<link>
ether fe:54:00:e7:7e:04 txqueuelen 500 (Ethernet)
RX packets 6040 bytes 477956 (466.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28708 bytes 1489918 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
|