ARP,TCP,IP utility -zjednodusene a rychle Jiri Kubina jiri.kubina@osu.cz Ver. 1.0 leden 2006



Similar documents
Introduction to NetGUI

TCP/IP Network Essentials. Linux System Administration and IP Services

iproute2 and Advanced Linux Routing

CELLTRACKS ANALYZER II. Networking Guide J40169EN

Host Configuration (Linux)

VM-Series Firewall Deployment Tech Note PAN-OS 5.0

The Internet/Network Layer

Linux TCP/IP Network Management

Network testing with iperf

Workshop on Scientific Applications for the Internet of Things (IoT) March

BASIC TCP/IP NETWORKING

netkit lab static-routing Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

A virtual network laboratory for learning IP networking

Corso di Configurazione e Gestione di Reti Locali

The Universal Boot Loader ( Das U-Boot )

Network Administration and Monitoring

using routing domains / routing tables in a production network

LAB THREE STATIC ROUTING

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Linux Networking. How Networking Works Configuring Networking in Linux Using redhat-config-network Network debugging Wireless networking IPv6

IPv6.marceln.org.

Red Hat Linux Networking

Network Management and Debugging. Jing Zhou

1.0 Basic Principles of TCP/IP Network Communications

Network Diagnostic Tools. Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014

OpenCPN Garmin Radar Plugin

DevOps Troubleshooting

BIRD Internet Routing Daemon

netkit lab single-host Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

Version Author(s) Web Description

Console Guide Version 9

Streaming Networks with VLC. Jean-Paul Saman

Get quick control over your Linux server with server commands

IP network tools & troubleshooting. AFCHIX 2010 Nairobi, Kenya October 2010

IPCop v1.2.0 VPN Howto. Eric S. Johansson Darren Critchley

Unix System Administration

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

Guide to IP Layer Network Administration with Linux

Bridgewalling - Using Netfilter in Bridge Mode

L3DSR Overcoming Layer 2 Limitations of Direct Server Return Load Balancing

Smoothwall Web Filter Deployment Guide

IP Address: the per-network unique identifier used to find you on a network

Advanced SSH Tunneling by Bill Brassfield, Dev Ops Technical Consultant, Taos

Tcpdump Lab: Wired Network Traffic Sniffing

McAfee Web Filter Deployment Guide

High Availability in Linux Firewalls using VRRP

Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz

PF6800 Ver. 6.0 Troubleshooting Guide

Linux Bridge+Firewall Mini HOWTO version 1.2.0

C.A.I.T. 2014/2015 Departamento de Computación Facultad de Informática Universidad de Coruña

Getting Started with Oracle Data Mining on the Cloud

LVA Syllabus Part 1

How To Install Openstack On Ubuntu (Amd64)

How do I configure multi-wan in Routing Table mode?

The Wireless Network Road Trip

NAS 307 Link Aggregation

Supporting Multiple Firewalled Subnets on SonicOS Enhanced

User s Manual. 10/100/1000Base-T PCI Express Gigabit Ethernet Adapter. ENW-9702

Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna Marc Heuse

EXINDA NETWORKS. Deployment Topologies

Appliance Quick Start Guide. v7.6

VXLAN Bridging & Routing

The IP Transmission Process. V1.4: Geoff Bennett

Chapter 3 LAN Configuration

Equipment Configuration: Routers. 6DEPLOY. IPv6 Deployment and Support

HIGH AVAILABILITY (HA) WITH OPENSIPS

Linux Networking. Paul Cobbaut

Load Balancing Barracuda Web Filter. Deployment Guide

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

Virtual Private Network (VPN) Lab

Instructor Notes for Lab 3

Aire-6 Acceso Inalámbrico a Redes IPV6. Christian Lazo R. Universidad Austral de Chile

Lab - Using IOS CLI with Switch MAC Address Tables

Wireless LAN Apple Bonjour Deployment Guide

Building a Penetration Testing Virtual Computer Laboratory

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways. Deployment Guide

CS244A Review Session Routing and DNS

.Trustwave.com Updated October 9, Secure Web Gateway Version 11.0 Setup Guide

Wen Temitim and Christopher Papandreou NANOG 58, June 2013

Modeling Networks And Services with VirtualBox. Alan Whinery U. Hawaii ITS

Load Balancing Sophos Web Gateway. Deployment Guide

Load Balancing McAfee Web Gateway. Deployment Guide

Practical Network Forensics

Lab Objectives & Turn In

Part 4: Virtual Private Networks

The VRRP Project. (Virtual Router Redundancy Protocol) Design Document

Microsoft Internet Information Services (IIS) Deployment Guide

ICS 351: Today's plan

Load Balancing Bloxx Web Filter. Deployment Guide

Oracle Clusterware and Private Network Considerations

Introduction. Created by Richard Bell 10/29/2014

Acano solution. Virtualized Deployment R1.1 Installation Guide. Acano. February B

Configuring an IPSec Tunnel between a Firebox & a Check Point FireWall-1

JDSU HST-3000 RFC-2544 Ethernet Testing Guide

TECHNICAL NOTE. Technical Note P/N REV 03. EMC NetWorker Simplifying firewall port requirements with NSR tunnel Release 8.

VoIP Laboratory B How to re flash an IP04

Load Balancing Trend Micro InterScan Web Gateway

Load Balancing Smoothwall Secure Web Gateway

Hitachi Protection Platform S-Series

Transcription:

ARP,TCP,IP utility -zjednodusene a rychle Jiri Kubina Ver. 1.0 leden 2006

Obsah 1.ip 2.ifconfig 3.route 4.arp 5.arping 6.netstat 7.ethtool Upozorneni: U popisovanych prikazu nejsou uvedeny vsechny parametry a volby. Pro ziskani kompletnich informaci pouzijte prikaz man.

1.ip Prikaz ip je plnohodnotnou nahradou za prikazy ifconfig,route,arp. Umoznuje vsak i pokrocilejsi spravu sitovych nastaveni. ip link ip neigh ip addr ip route nahozeni rozhrani, nastaveni MAC adresy manipulace s ARP tabulkou manipulace s IP adresami manipulace s routovacimi tabulkami ip rule manipulace s routovacimi pravidly ip tunnel nastaveni ipip, sit a gre tunelu ip maddr multicast ip mroute multicast ip monitor pro ladeni zobrazuje zmeny routovaci tab. Option -s statistiky -r preklad jmen resolve -f family {inet, inet6, ipx }

ip link vypis sitovych rozhrani ip link vypis statistik sitovych rozhrani ip -s link shozeni rozhrani eth1 ip link set dev eth1 down nahozeni rozhrani eth1 ip link set dev eth1 up nastaveni mac adresy na rozhrani eth1 ip link set eth1 address 00:3a:cd:34:12:33

ip neigh vypis arp tabulky ip neigh vypis arp tabulky pro konkretni rozhrani ip neigh show dev eth1 pridani polozky do arp tabulky ip neigh add 10.0.0.5 lladdr 00:ad:4c:34:23:24 dev eth1

ip addr vypis IP adres ip addr vypis IP adres pro konkretni rozhrani ip addr show dev eth1 pridani IP adresy na rozhrani ip addr add 10.0.0.1/32 dev eth1 odstraneni IP adresy z rozhrani ip addr del 10.0.0.1/32 dev eth1

ip route vypis routovaci tabulky ip route vypis zaznamu routovaci tabulky vztahujicich se ke konkretnimu rozhrani ip route show dev eth1 pridani defaultni routy do routovaci tabulky ip route add default via 10.0.0.1 pridani routy do routovaci tabulky ip route add 10.0.0.0/8 via 10.0.0.1 odstraneni routy z routovaci tabulky ip route del 10.0.0.0/8 [ via 10.0.0.1 ]

2.ifconfig Ifconfig zobrazuje a nastavuje vlastnosti sitoveho rozhrani. nahozeni [shozeni] rozhrani ifconfig eth1 up [down] nastaveni IP adresy ifconfig eth1 10.0.0.2 netmask 255.255.255.0 nastaveni IP adresy a GW ifconfig eth1 10.0.0.2 netmask 255.255.255.255 gw 10.0.0.1 nastaveni IP adresy, broadcast adresy a GW ifconfig eth1 10.0.0.2 broadcast 255.255.255.0 netmask 255.255.255.255 gw 10.0.0.1 pridani dalsi IP adresy na rozhrani - alias ifconfig eth1 inet add 10.2.2.2

3.route Nastroj pro manipulaci s routovaci tabulkou. vypis routovaci tabulky route [-n] pridani defaultni routy do routovaci tabulky route add default gw 10.0.0.1 pridani routy do routovaci tabulky route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.0.0.1 odstraneni routy z routovaci tabulky route del -net 10.0.0.0 netmask 255.0.0.0

4.arp Nastroj pro manipulaci s arp tabulkou. vypis arp tabulky arp [-n] pridani staticke polozky do arp tabulky arp -s 10.0.2.3 00:ac:4c:34:23:23 odstraneni polozky z arp tabulky arp -d 10.0.2.3 00:ac:4c:34:23:23 nacteni staticke arp tabulky ze souboru arp -f soubor.txt

5.arping Nastroj provadejici arp-ping na 2.vrstve. Pozor lze provadet pouze na lokalnim segmentu site. arping 10.0.0.3

6.netstat Nastroj umoznujici zobrazit sitove spojeni, routovaci tabulku, statistiky rozhrani. zobrazeni routovaci tabulky netstat -r [-n] Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 195.113.106.128 0.0.0.0 255.255.255.192 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 195.113.106.129 0.0.0.0 UG 0 0 0 eth0 zobrazeni sitovych spojeni netstat -natup

7.ethtool Nastroj umoznujici zobrazit a menit linkove vlastnosti rozhrani. ethtool -i eth1 driver: e1000 version: 6.3.9-NAPI firmware-version: N/A bus-info: 0000:01:00.0

ethtool eth1 Settings for eth1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: umbg Wake-on: g Current message level: 0x00000007 (7) Link detected: yes nastaveni rychlost a duplexu ethtool -s eth1 autoneg off speed 10 duplex half

9.Pouzite zdroje a nastroje Zdroje man ip, ifconfig, route, arp, arping, netstat, ethtool prednaska Petra Kopeckeho LinuxBox.cz http://ols.vsb.cz/2005-11-10/ip_prot/ip_prot.pdf Nastroje

Dekuji za pozornost