Ping da subinterface

1

Eu tenho a interface eth0: 0

auto eth0:0 iface eth0:0 inet static
        address 192.168.2.96
        netmask 255.255.255.0
        gateway 192.168.2.1

e eu tento isso:

ping -I eth0:0 8.8.8.8

e eu entendo isso

ping: SO_BINDTODEVICE: Invalid argument

Se eu tentar pingar da eth0, tudo está OK. Eu estou usando o Ubuntu 14.04. Como consertar isso?

    
por Ivan 20.06.2016 / 16:27

0 respostas