1 NIC with 2 IP addresses
I have a Redhat 8 system up and running. Telnet, FTP, Internet access, and Email are all working behind a company firewall.
Now I have a need to add a second IP address and hostname to the system on the same NIC. Any idea if it can be done? If so, where can I find out how to do to? Thanks, Bucklake |
Copy /etc/sysconfig/network-scripts/ifcfg-eth~ as /etc/sysconfig/network-scripts/ifcfg-eth~:1 and edit the numbers inside the file for the additional ones.
Interface name will become eth~:1 |
am i not right in thinking that the : in the filename will screw everything up? sure it's done me before now. i found that you can just call it ifcfg-eth0_1 or similar instead.
|
No problem with the : ...
The RH Docs specify it that way as well, and it has been working for me in a RH7.2 system for several years... :) |
All times are GMT -5. The time now is 02:50 AM. |