stole
02.03.05 г., 14:54
Опитах се по този начин да добавам алиас:
/etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# Config information for eth0:
IPADDR[0]="212.110.95.150"
NETMASK[0]="255.255.255.192"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
ETH0_ALIAS[0]="172.16.255.200" ## For multiple IPs on interface.
ETH0_ALIAS[1]="192.168.0.1" ## Ditto.
####################################
ама не стана. Добавих ги в /etc/rc.d/rc.local и работат, ама искам да попитам има ли начин да ги сложам тук: /etc/rc.d/rc.inet1.conf?
/etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# Config information for eth0:
IPADDR[0]="212.110.95.150"
NETMASK[0]="255.255.255.192"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
ETH0_ALIAS[0]="172.16.255.200" ## For multiple IPs on interface.
ETH0_ALIAS[1]="192.168.0.1" ## Ditto.
####################################
ама не стана. Добавих ги в /etc/rc.d/rc.local и работат, ама искам да попитам има ли начин да ги сложам тук: /etc/rc.d/rc.inet1.conf?