Network environment:
Gateway: 10.0.0.1
real eth0 : 10.0.0.19
add ip to eth0:
ifconfig eth0:1 10.0.0.250 netmask 255.0.0.0 up
route add -host 10.0.0.250 dev etho0:1
arping -I eth0 -c 3 -s 10.0.0.250 10.0.0.1
remove ip from eth0:
ifconfig eth0:1 10.0.0.250 netmask 255.0.0.0 down
阅读(416) | 评论(0) | 转发(0) |