$ sudo ipvsadm -A -u 127.10.5.5:1293
$ sudo ipvsadm -L
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
UDP localhost:1293 wlc
为什么要用127.10.5.5
来代替localhost
?
答案1
哦没关系,我只需要补充一点--numeric
:sudo ipvsadm -L --numeric