Linux Command Syntax Reference Guide | Free Download Links

Monday, February 9, 2009

Network Configuration Commands

netconfig
menu driven Ethernet setup program.

pppsetup
setup PPP connection (Slackware).

ifconfig
setup Ethernet during boot,
for example:
/sbin/ifconfig eth0 ${IPADDR} broadcast
${BROADCAST} netmask ${NETMASK}
/sbin/route add -net ${NETWORK} netmask
${NETMASK} eth0
/sbin/route add default gw ${GATEWAY} netmask
0.0.0.0 metric 1

host

lookup host name or IP (similar to nslookup).

dnsdomainname
show DNS domain name.

arping; arp

find out Ethernet address by first arping then arp.

ipchains

firewall and NAT (/etc/sysconfig/ipchains on Redhat)

iptables

firewall and NAT (/etc/sysconfig/iptables on Redhat)

ntsysv

menu driven SYSV service configuration (Redhat)

chkconfig

command line SYSV service configuration (Redhat)

No comments:

Post a Comment

Followers