ifconfig Flashcards

1
Q

ifconfig

A

ifconfig is used to configure the kernel-resident network interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ifconfig

  • a, display all interfaces currently available.
  • s, display a short list.
  • v, verbose

interface, The name of the interface

A

ifconfig interface [aftype]

up, Activates interface

down, Shuts down interface

[-]arp, Enable or disable ARP

[-]promisc, On/Off promiscuous mode of interface.

[-]allmulti, On/Off all-multicast mode.

mtu N, Sets MTU of interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ifconfig interface [aftype]

dstaddr addr, Set remote IP address for point-to-point(pointopoint keyword can be used.)

netmask addr, Set the IP network mast for interface.

add addr/prefixlen, Add IPv6 address to interface.

del addr/prefixlen, Remove IPv6 address to interface.

tunnel ::aa.bb.cc.dd, Create a new SIT(IPv6-in-IPv4) device, tunnelling to give dest..

A

irq addr, Set the interrupt line used by dev.

io_addr addr, Set the start addr in I/O space for this dev.

mem_start addr, Set the start address for shared memory.

media type, Set the physical port or medium type.

[-]broadcast [addr], Set broadcast addr.

[-]pointopoint [addr], Enables point to point on interface.

hw class address, Set the hardware address.

multicast, Set the multicast flag.

address, The IP address to assign interface.

txqueuelen length, Set the length of the transmit queue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly