How do I assign an IP address to ifconfig?

Trần Vũ

New member
How do I assign an IP address to ifconfig?
Answer
To assign an IP address to a specific interface, use the following command
with an interface name (eth0) and ip address that you want to set. For example, “ifconfig eth0 172.16. 25.125” will set the IP address to interface eth0.
 

Tìm kiếm

Back
Top