• [^] # Re: Inquiétudes

    Posté par . En réponse à la dépêche IP-formation : la formation administrateur Linux menacée. Évalué à 5.

    bertrand@arwenn:~$ sudo ifconfig eth0:0 10.0.1.0 netmask 255.255.254.0
    Password:
    bertrand@arwenn:~$ ping 10.0.1.0
    PING 10.0.1.0 (10.0.1.0) 56(84) bytes of data.
    64 bytes from 10.0.1.0: icmp_seq=1 ttl=64 time=0.088 ms

    --- 10.0.1.0 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.088/0.088/0.088/0.000 ms
    bertrand@arwenn:~$ sudo netstat -nr
    Table de routage IP du noyau
    Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    10.0.0.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
    239.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

    C'est une adresse IP comme les autres, utilisable en unicast.