Pejman Moghadam / Slackware

Slackware 12.2- Permanent IP Settings

Public domain


/etc/rc.d/rc.inet1.conf

# Config information for eth0
IPADDR[0]="192.168.10.2"
NETMASK[0]="255.255.255.240"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
HWADDR[0]="00:e0:7d:f3:92:60"

# Config information for eth0:1
IFNAME[1]="eth0:1"
IPADDR[1]="192.168.10.17"
NETMASK[1]="255.255.255.240"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

GATEWAY="192.168.10.1"

Service Restart

/etc/rc.d/rc.inet1 restart

BY: Pejman Moghadam
TAG: ip-setting
DATE: 2009-04-25 00:18:01


Pejman Moghadam / Slackware [ TXT ]