1 / 9

Network Management

Network Management. 1. Configuring your Networking. It can be done in two ways: Uses command to change current setting. Edit some different files. 2. Network Commands. ifconfig route netstate ping traceroute tcpdump nmap. 3. ifconfig. Configure network interface. 4.

early
Download Presentation

Network Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Management 1

  2. Configuring your Networking • It can be done in two ways: • Uses command to change current setting. • Edit some different files. 2

  3. Network Commands • ifconfig • route • netstate • ping • traceroute • tcpdump • nmap 3

  4. ifconfig • Configure network interface 4

  5. ifconfig (cont.) • Create alias • Ifconfig eth0:0 192.168.1.1 • Change IP address • Ifconfig eth0 192.168.1.2 • Change the netmask • Ifconfig eth0 netmask 255.255.255.0 • Change the broadcast • Ifconfig eth0 broadcast 192.168.1.255 • Take interface down • Ifconfig eth0 down • Bring interface up • Ifconfig eth0 up • No argument • Display the status of active interfaces 5

  6. route • Build routing table • Route: display existing route • Samples: • route add default gw 192.168.1.1 • route add –net 192.168.1.0 netmask 255.255.255.0 dev eth0 • route add –host 192.168.1.1 gw 192.168.1.100 6

  7. Other Commands • netstate • Display the status of network • ping • Send ICMP ECHO-REQUEST to network host • traceroute • Print the route packets take to network host • tcpdump • Dump traffic on a network • nmap • Port scanning 7

  8. Network Files • /etc/hosts • It is a map of IP to hostname. • /etc/services • It maps port numbers to services (TCP and UDP). • /etc/resolv.conf • It is used by DNS. • /etc/host.conf • It lists the order in which your machine will search for hostname resolution. • /etc/HOSTNAME • hostname • /etc/sysconfig/network 8

  9. Question? 9

More Related