India Broadband Forum


Network administration tools

This is a discussion on Network administration tools within the Linux forums, part of the Operating Systems category; Hello, netconf (as root) A very good menu-driven setup of your network. pingmachine_name Check if you can contact another machine ...

Go Back   India Broadband Forum > Computers > Operating Systems > Linux

India Broadband Forum


                      

Reply

 

LinkBack Thread Tools Display Modes
Old 07-17-09, 12:23 PM   #1
Junior Member
 
Join Date: Jul 2009
Posts: 16
Rep Power: 1
vasudha is on a distinguished road
Default Network administration tools

Hello,


netconf
(as root) A very good menu-driven setup of your network.

pingmachine_name
Check if you can contact another machine (give the machine's name or IP), press C when done (it keeps going).

route -n
Show the kernel routing table.

nslookup host_to_find
Query your default domain name server (DNS) for an Internet name (or IP number) host_to_find. This way you can check if your DNS works. You can also find out the name of the host of which you only know the IP number.

traceroute host_to_trace
Have a look how you messages trave to host_to_trace (which is either a host name or IP number).

ipfwadm -F -p m
(for RH5.2, seen next command for RH6.0) Set up the firewall IP forwarding policy to masquerading. (Not very secure but simple.) Purpose: all computers from your home network will appear to the outside world as one very busy machine and, for example, you will be allowed to browse the Internet from all computers at once.

echo 1 > /proc/sys/net/ipv4/ip_forward
ipfwadm-wrapper -F -p deny
ipfwadm-wrapper -F -a m -S xxx.xxx.xxx.0/24 -D 0.0.0.0/0
(three commands, RH6.0). Does the same as the previous command. Substitute the "x"s with digits of your class "C" IP address that you assigned to your home network. See here for more details. In RH6.1, masquarading seems broken to me--I think I will install Mandrake Linux.

ifconfig
(as root) Display info on the network interfaces currently active (ethernet, ppp, etc). Your first ethernet should show up as eth0, second as eth1, etc, first ppp over modem as ppp0, second as ppp1, etc. The "lo" is the "loopback only" interface which should be always active. Use the options (see ifconfig --help) to configure the interfaces.

ifup interface_name
(/sbin/ifup to it run as a user) Startup a network interface. E.g.:
ifup eth0
ifup ppp0
Users can start up or shutdown the ppp interface only when the right permission was checked during the ppp setup (using netconf ). To start a ppp interface (dial-up connection), I normally use kppp available under kde menu "internet".

ifdown interface_name
(/sbin/ifdown to run it as a user). Shut down the network interface. E.g.: ifdown ppp0 Also, see the previous command.

netstat | more
Displays a lot (too much?) information on the status of your network.
vasudha is offline   Reply With Quote
Old 07-17-09, 12:26 PM   #2
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 2,179
Rep Power: 6
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

rep+. Good for noobs.
Luke Skywalker is offline   Reply With Quote
Old 10-26-09, 04:50 PM   #3
Junior Member
 
Join Date: Oct 2009
Posts: 52
Rep Power: 1
abena is on a distinguished road
Default

hey vasudha..that is a great information, i really don't have any ideas on those things but now..wow! i am glad i had register here..its like that i am having tutorials in every sections that i read!
abena is offline   Reply With Quote
Reply

Tags
administration, network, tools

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Google testing super-fast fiber broadband network Parminder News from the Tech and IT World 7 02-24-10 10:30 PM
photo editing tools zoooni Computer technology 2 02-23-10 04:58 PM
Nmap: The network scanner and OS fingerprinting Luke Skywalker Computer Security 0 02-16-10 02:18 AM
Network tools: Gnome Luke Skywalker Linux 0 02-12-10 11:20 PM
TATA photon plus Network rahulportfolioo Tata Indicom broadband 3 02-05-10 11:42 AM


All times are GMT +5.5. The time now is 12:59 PM.


India Broadband Forum