saptechnique

修改IP和MAC地址以及网关的方法:
>  > >  >  sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0
>  > >  >  sudo route add default gw 192.168.1.1 dev eth0
>  > >  >  sudo ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE
>  > >  >  就是修改IP为192.168.1.2 网关为192.168.1.1修改MAC地址为00:AA:BB:CC:DD:EE

分类:

技术点:

相关文章: