An IP address refers to the address used by the Internet protocol, while a MAC address is the address used by the Ethernet protocol.
There is no necessary connection between the IP address and the MAC address. The MAC address is the address brought on the Ethernet NIC (network card), which is 48 bits long. Each Ethernet NIC manufacturer must apply to the IEEE organization for a set of MAC addresses, which are programmed into the serial EEPROM on the NIC card when producing the NIC. Therefore, each Ethernet NIC manufacturer must apply for a set of MAC addresses. The MAC addresses of any two NICs should not be the same regardless of which manufacturer. Ethernet chip manufacturers do not have to be responsible for applying for MAC addresses. MAC addresses exist in each Ethernet packet and are part of the Ethernet packet header. The Ethernet switch realizes the exchange and transmission of packets based on the MAC source address and MAC destination address in the Ethernet packet header.
The IP address is an Internet protocol address. Each Internet packet must have an IP address. Each Internet service provider (ISP) must apply for a set of IP addresses to the relevant organization, and then it is generally assigned to its users dynamically. Of course, users can also apply for an IP address from the ISP (according to the access method). This is why when configuring the "dial-up network" of Windows NT/95/98, the system is generally allowed to automatically assign IP addresses.
The IP address is now 32 bit long and is being expanded to 128 bits. The IP address has nothing to do with the MAC address, because users of Ethernet can still connect to the Internet through Modem. IP addresses usually work on the wide area network, and what we call Router (router) processes IP addresses.
The MAC address works on the LAN. The interconnection between the LANs is generally through existing public networks or dedicated lines, and requires inter-network protocol conversion. IP information can be transmitted on the Ethernet. At this time, the IP address is only part of the data domain of the Ethernet packet. The Ethernet switch or processor cannot see the IP address. It is just processed as ordinary data. Only the software on the upper layer of the network will process the IP address.
How to know the IP address and MAC address on your machine?
1. For MAC addresses, you can generally use the software attached to the network card to find them. If you are using Windows 95/98, you can also obtain them in the following two ways:
1). Enter the "Start" - "Run" window, enter "winipcfg" - "OK", the following graphic window will be displayed on the screen: (Same as follows)
2). Enter the command line mode, type "IPCONFIG/ALL", and the following information is displayed on the screen:
Windows 98 IP Configuration
Host Name . . . . . . . . . : newsun
DNS Servers . . . . . . . . : 202.99.168.8
Node Type . . . . . . . . . : Hybrid
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : No
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : Yes
0 Ethernet adapter :
Description . . . . . . . . : Novell 2000 Adapter.
Physical Address. . . . . . : 00-88-CC-06-05-43
DHCP Enabled. . . . . . . . : No
IP Address. . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 192.168.1.1
Primary WINS Server . . . . : 192.168.1.2
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :
If you are using Windows NT 4.0, enter the command line mode and type "IPCONFIG /ALL", the screen displays similar information as above.
2. For IP address values, in addition to viewing the settings in the "TCP/IP Properties" of the network, you can also view them through the above method. If your machine is an IP address obtained through the DHCP server, it is not visible in the "TCP/IP attributes". Article entry: dnbm Editor: dnbm
There is no necessary connection between the IP address and the MAC address. The MAC address is the address brought on the Ethernet NIC (network card), which is 48 bits long. Each Ethernet NIC manufacturer must apply to the IEEE organization for a set of MAC addresses, which are programmed into the serial EEPROM on the NIC card when producing the NIC. Therefore, each Ethernet NIC manufacturer must apply for a set of MAC addresses. The MAC addresses of any two NICs should not be the same regardless of which manufacturer. Ethernet chip manufacturers do not have to be responsible for applying for MAC addresses. MAC addresses exist in each Ethernet packet and are part of the Ethernet packet header. The Ethernet switch realizes the exchange and transmission of packets based on the MAC source address and MAC destination address in the Ethernet packet header.
The IP address is an Internet protocol address. Each Internet packet must have an IP address. Each Internet service provider (ISP) must apply for a set of IP addresses to the relevant organization, and then it is generally assigned to its users dynamically. Of course, users can also apply for an IP address from the ISP (according to the access method). This is why when configuring the "dial-up network" of Windows NT/95/98, the system is generally allowed to automatically assign IP addresses.
The IP address is now 32 bit long and is being expanded to 128 bits. The IP address has nothing to do with the MAC address, because users of Ethernet can still connect to the Internet through Modem. IP addresses usually work on the wide area network, and what we call Router (router) processes IP addresses.
The MAC address works on the LAN. The interconnection between the LANs is generally through existing public networks or dedicated lines, and requires inter-network protocol conversion. IP information can be transmitted on the Ethernet. At this time, the IP address is only part of the data domain of the Ethernet packet. The Ethernet switch or processor cannot see the IP address. It is just processed as ordinary data. Only the software on the upper layer of the network will process the IP address.
How to know the IP address and MAC address on your machine?
1. For MAC addresses, you can generally use the software attached to the network card to find them. If you are using Windows 95/98, you can also obtain them in the following two ways:
1). Enter the "Start" - "Run" window, enter "winipcfg" - "OK", the following graphic window will be displayed on the screen: (Same as follows)
2). Enter the command line mode, type "IPCONFIG/ALL", and the following information is displayed on the screen:
Windows 98 IP Configuration
Host Name . . . . . . . . . : newsun
DNS Servers . . . . . . . . : 202.99.168.8
Node Type . . . . . . . . . : Hybrid
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : No
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : Yes
0 Ethernet adapter :
Description . . . . . . . . : Novell 2000 Adapter.
Physical Address. . . . . . : 00-88-CC-06-05-43
DHCP Enabled. . . . . . . . : No
IP Address. . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 192.168.1.1
Primary WINS Server . . . . : 192.168.1.2
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :
If you are using Windows NT 4.0, enter the command line mode and type "IPCONFIG /ALL", the screen displays similar information as above.
2. For IP address values, in addition to viewing the settings in the "TCP/IP Properties" of the network, you can also view them through the above method. If your machine is an IP address obtained through the DHCP server, it is not visible in the "TCP/IP attributes". Article entry: dnbm Editor: dnbm