"ipconfig" and "ifconfig" Commands

Q

What Is "ipconfig" and "ifconfig" Commands?

✍: FYIcenter.com

A

"ipconfig" command is a tool on Windows systems to display IP configurations of networking interfaces.

The example below shows IP configurations of 2 networking interfaces on a single host:

fyicenter> ipconfig /all

0 Ethernet adapter :
Description . . . . . . . . : PPP Adapter.
Physical Address. . . . . . : 44-44-44-54-00-00
IP Address. . . . . . . . . : 123.45.67.12
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . : 123.45.67.8

1 Ethernet adapter :
Description . . . . . . . . : 3Com 3C90x Ethernet Adapter
Physical Address. . . . . . : 00-50-04-62-F7-23
IP Address. . . . . . . . . : 111.111.111.108
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 111.111.111.1

"ifconfig" command is a tool on macOS and Linux systems to display IP configurations of networking interfaces.

The example below shows IP configurations of single networking interface on a Linux host:

fyicenter$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
  inet6 fe80::544a:befb:dbc9:d7d2  prefixlen 64  scopeid 0x20<link>
  ether 44:39:c4:94:b2:39  txqueuelen 1000  (Ethernet)

 

IP Routing Table on Windows

NAT Algorithm and Connection Tracking Table

IP Network

⇑⇑ Internet Connection - Frequently Asked Questions

2021-05-16, 275👍, 0💬