[EMAIL PROTECTED] wrote:

>Am incercat scriptul, dar primesc msg-ul acesta de eroare:
>172.27.37.2
>iptables v1.2.8: Bad mac address `172.27.37.2'
>Try `iptables -h' or 'iptables --help' for more information.
>00:0D:61:94:5E:6C
>iptables v1.2.8: host/network `00:0D:61:94:5E:6C' not found
>Try `iptables -h' or 'iptables --help' for more information.
>172.27.37.3
>iptables v1.2.8: Bad mac address `172.27.37.3'
>Try `iptables -h' or 'iptables --help' for more information.
>00:0D:61:94:5E:6A
>iptables v1.2.8: host/network `00:0D:61:94:5E:6A' not found
>Try `iptables -h' or 'iptables --help' for more information.
> Fisierul cu ip-uri si mac-uri ar avea sintaxa asta: ip<tab>mac
>Ce am gresit?
>
>Poti incerca ceva de genul:
>
>for i in `cat /etc/fisierul_tau_cu_ip_uri_si_macuri`; do
>ip=`echo $i | cut -d\  -f1`;
>mac=`echo $i | cut -d\  -f2`;
>  
>
asa merge ? (f1 inversat cu f2)

ip=`echo $i | cut -d\  -f2`;
mac=`echo $i | cut -d\  -f1`;



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui