|
Question : Multiple IP Address
|
|
How can I assign more than one IP address to a UNIX box that only have one network interface (ethernet) ?
Andrew
|
Answer : Multiple IP Address
|
|
If you're using Solaris and you want to assign more than 1 IP address to 1 NIC, you can create logical interfaces on a single physical interface. For example, If your physical interface is le0 and you want to assign 100.100.100.001 and 100.100.100.002 to this device, you would create in your /etc subdirectory 2 files called "hostname.le0" containing 100.100.100.001 and "hostname.le0:1" (which would be your logical device) containing 100.100.100.002. Remember to include both hostnames/IP address pairs for both physical and logical device in your /etc/hosts file.
|
|
|
|