IP address alias
I'm somewhat confused about setting an alias on an ethernet interface in /etc/rc.d/rc.inet1.conf.
I specify an alias as follows under the eth0 section: Code:
# Config information for eth0: 1) how do I specify an alternate IP address for the alias; 2) do I need to add a route for the alias? |
When you add IFNAME[0]="<name>", you tell the init script to configure interface <name> instead of the default interface for section 0, which is eth0.
If you want to give the alias eth0:1 an IP address, you should do so in the next interface section, like this: Code:
IFNAME[1]="eth0:1" |
That did the trick. Thank you.
|
All times are GMT -5. The time now is 10:13 AM. |