Home arrow Slackware arrow How do is setup network under Slackware Linux?
How do is setup network under Slackware Linux? PDF  
Digg Reddit Stumble Upon Facebook Twitter Google Technorati Bookmark
Thursday, 05 June 2008
In Slackware Linux network is configured by editing the following files:

/etc/rc.d/rc.inet1.conf - config file for networking, here you setup IP, netmask, gateway
/etc/resolv.conf - here you setup your DNSs from your ISP
/etc/hosts - static host - ip settings

# -------------- /etc/rc.d/inet1.conf sample -----------------
# Config information for eth0:
IPADDR[0]="80.X.Y.Z"
NETMASK[0]="255.255.255.224"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]="192.168.1.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Default gateway IP address:
GATEWAY="80.A.B.C"
# ----------------- eof ---------------------------------------------

 
< Prev   Next >

Misc

Linux Tips

Polls

What is your favorite Linux Distribution ? (we just added Mint and reset the pool data)