Ho usato una macchina remota con la root
quale è installato con Fedora 18. Ho digitato
ifconfig
ma ho ottenuto
ifconfig: command not found
e anche
[root@kitch proxy]# /sbin/ifconfig
-bash: /sbin/ifconfig: No such file or directory
[root@kitch proxy]# sudo yum provides ifconfig
fedora/filelists_db | 25 MB 00:00:04
updates/filelists_db | 12 MB 00:00:02
net-tools-2.0-0.2.20121106git.fc18.x86_64 : Basic networking tools
Repo : fedora
Matched from:
Filename : /sbin/ifconfig
poi ho digitato ip link show
[root@kitch proxy]# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether 00:1a:a0:23:86:6c brd ff:ff:ff:ff:ff:ff
e ip addr show
t@kitch proxy]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:1a:a0:23:86:6c brd ff:ff:ff:ff:ff:ff
inet 138.96.116.9/21 brd 138.96.119.255 scope global em1
inet6 fe80::21a:a0ff:fe23:866c/64 scope link
valid_lft forever preferred_lft forever
e
[root@kitch proxy]# /sbin/iptables
iptables v1.4.16.2: no command specified
Try `iptables -h' or 'iptables --help' for more information.
non c'è eth0
e i risultati sono strani per me. Qualcuno può spiegare un po '?
ethN
, perché? inoltre, perchéifconfig
non funziona?