ifconfig - ip

ifconfig
ip a
ifconfig eth0 add 192.168.1.101
ifconfig eth0 del 192.168.1.101
ip a add 192.168.1.101 dev eth0
ip a del 192.168.1.101 dev eth0
ifconfig eth0 hw ether 00:1a:2b:3c:4d:5e
ip link set dev eth0 address 00:1a:2b:3c:4d:5e
ifconfig eth0 down
ifconfig eth0 up
ip link set eth0 down
ip link set eth0 up

MTU 2000

ifconfig eth0 mtu 2000
ip link set dev eth0 mtu 2000

Multicast

ifconfig eth0 multicast
ip link set dev eth0 multicast on

Transmit queue length

ifconfig eth0 txqueuelen 1200
ip link set dev eth0 txqueuelen 1200

Promiscuous

ifconfig eth0 promisc
ip link set dev eth0 promisc on

All multicast

ifconfig eth0 allmulti
ip link set dev eth0 allmulti on
  • system/linux/ifconfig-ip.txt
  • Dernière modification: 2023/08/05 16:22
  • (modification externe)