在 AIX 上更改 IPV6 路由的接口

在 AIX 上更改 IPV6 路由的接口

我当前的 IPV6 路由表:

Route Tree for Protocol Family 24 (Internet v6):
::/96              0.0.0.0           UC        0         0 sit0     -      -   =>
default            link#2            UC        0         0 en0      -      -   
::1%1              ::1%1             UH        0       127 lo0      -      -   
ef80::/64          link#4            UC        0         0 en1      -      -   =>
ef80::/64          link#5            UC        0         0 en2      -      -   
ef80::21a:64ff:fe92:1b46                   UHLWl     0         1 lo0      -      -   
ef80::21a:64ff:fe92:1b47 ee:c6:7f:84:98:3  UHLW      1       321 en2      -      -   
ef80::21a:64ff:fe92:1b92                   UHLWl     0         2 lo0      -      -   
ef80::21a:64ff:fe92:1b93 ee:c6:7f:84:98:4  UHLW      1       318 en1      -      -   
fe80::/64          link#2            UCX     143         0 en0      -      -   
fe80::ecc6:77ff:fe25:6402                   UHXLWl    0         1 lo0      -      -   
ff01::%1/16        ::1               U         0         8 lo0      -      -   
ff02::/16          fe80::ecc6:77ff:fe25:6402 U         0        37 en0      -      -   
ff05::1:12bc       link#2            UHLW      2         8 en0      -      -   
ff11::%1/16        ::1               U         0         0 lo0      -      -   
ff12::/16          fe80::ecc6:77ff:fe25:6402 U         0         0 en0      -      -

我需要切换这两条路线的接口:

ef80::21a:64ff:fe92:1b47 ee:c6:7f:84:98:3  UHLW      1       321 en2
ef80::21a:64ff:fe92:1b93 ee:c6:7f:84:98:4  UHLW      1       318 en1

使其看起来像:

ef80::21a:64ff:fe92:1b47 ee:c6:7f:84:98:3  UHLW      1       321 en1
ef80::21a:64ff:fe92:1b93 ee:c6:7f:84:98:4  UHLW      1       318 en2

在 AIX 上执行此操作的首选方法是什么?

附言

尝试使用smitty tcpip实用程序先删除 IPV6 路由,然后添加一个配置了预期接口的路由。但是不行,smitty 说这ee:c6:7f:84:98:3是未知网关。

相关内容