Sunday, 25 October 2015

Network Configuration Commands



ifconfig: lists all currently active network adapters.

ex: ifconfig -a

ifconfig eth0 192.168.0.3

options:

up/down : Activates/Deactivates specific adapter.

netmask address: subnet


ifup/ifdown


ifup eth0


route

route add default gw 192.168.122.1

route add -net 192.168.1000.0  netmask 255.255.255.0  dev eth1


netstat -r           network connectivity information

netstat -atunp


arps Diagnostic tool

arp


No comments:

Post a Comment