Friday, 7 October 2011

Network Utilities

Most of the available networking tools are specialized and are mainly of interest to professionals who are maintaining a large network. Many, however are relevant to the Internet and some of these can be helpful to the average PC user. The commands in the first table are generic and in general, with some minor exceptions, apply across each operating system.

Generic Network Utilities
Command
Info
ping <target_name>
Verifies IP-level connectivity. This utility verifies that a host computer can connect to the TCP/IP network and network resources.
ipconfig /all

# Renew IP addr. config
ipconfig /renew

# Release IP addr. config
ipconfig /release
Display TCP/IP configuration information, renew and release DHCP assigned address configuration and register in dynamic DNS or flush the local DNS cache.



The *nix equivalent of this command is usually ifconfig
# Display current ARP entries
arp -a

# Add a permanent ARP entry
arp –s <inet_addr> <eth_addr>

# Delete host
arp –d <inet_addr>
The arp utility can be used to manually resolve IP addresses to MAC addresses and to modify or display the current ARP cache table.
# Display current connection and listening ports
netstat -a

# Display Ethernet stats
netstat –e

# Displays routing table
netstat –r
Display TCP/IP protocol statistics and information about TCP and UDP connection to and from the local computer.
tracert <target_name>

# Do not resolve addresses
tracert –d <target_name>
Determine the route that an IP datagram takes to reach a destination.

For the more advanced users, we can add more powerful commands to our networking toolbox. The below commands are mostly of use to *Nix (in particular Linux) users whereby most of the things can be performed through scripts.  

Specific Networking Utilities
Command
Info
# Check if iptables is running
service iptables status

# Disable iptables
service iptables stop
Firewall
# First IP
ifconfig eth0:0 192.168.50.254 netmask 255.255.255.0

# Second IP
ifconfig eth0:1 192.168.51.254 netmask 255.255.255.0
Assign multiple IP addresses
ifconfig eth0 hw ether 00:01:02:03:04:05
Change MAC address

10 comments:

  1. A universal message I suppose, not giving up is the formula for success I think. Some things take longer than others to accomplish, so people must understand that they should have their eyes on the goal, and that should keep them motivated to see it out til the end.
    online Python certification course | python training in OMR | python training course in chennai

    ReplyDelete
  2. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Java training in Indira nagar | Java training in Rajaji nagar

    Java training in Marathahalli | Java training in Btm layout

    ReplyDelete
  3. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

    rpa training in velachery| rpa training in tambaram |rpa training in sholinganallur | rpa training in annanagar| rpa training in kalyannagar

    ReplyDelete
  4. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    Data Science training in Chennai | Data science training in bangalore

    Data science training in pune | Data science online training

    Data Science Interview questions and answers

    ReplyDelete
  5. "지식을 공유하기 위해 노력 해주셔서 감사합니다. 여기에서 찾은 주제는 제가 오랫동안 연구해온 주제에 정말 효과적이었습니다. 먹튀검증

    ReplyDelete
  6. 셋 째 : 너무 고배당의 업체는 피하셔야합니다. 스포츠토토는 배당률에 따라서 환수율이 달라집니다. 평균적으로 핸디캡의 경우 1.88의 배당일 때 환수율이 80프로가 조금 넘는 것으로 알고 있습니다. 하지만 1.95라던지 미니게임의
    토토사이트

    ReplyDelete
  7. Bloghopping is really my forte and i like to visit blogs,먹튀검증

    ReplyDelete
  8. Casino | DRMCD
    Casino online has been operating since 2012 with real players. It's easy to see why 경상남도 출장안마 we are so 상주 출장마사지 passionate about gaming. Casino 아산 출장마사지 games and 강릉 출장샵 live casino have ‎Slots · ‎Entertainment 충청북도 출장마사지 · ‎Live Casino · ‎Game

    ReplyDelete