How do you add additional IP address in Linux?
Answer
Add a secondary IP to Linux
Answer
Add a secondary IP to Linux
- Using ifconfig. If you want to add a secondary IP address to a NIC already in use in Linux, and have that change only temporary.
- Using ip command. If you prefer to use the ip command instead of ifconfig ip address add [ip]/[mask-digits] dev [nic]
- Ubuntu.