實驗四 Linux 子網域分割 之設定與觀察 教師: 助教:. 2 Outline Traditional IP Allocation Netmask: the Concept Subnetting Realization Proxy-ARP Transparent Router Different.

Slides:



Advertisements
Similar presentations
ARP AND RARP ROUTED AND ROUTING Tyler Bish. ARP There are a variety of ways that devices can determine the MAC addresses they need to add to the encapsulated.
Advertisements

ARP: Address Resolution Protocol
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
8-1 Last time □ Network layer ♦ Introduction forwarding vs. routing ♦ Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding.
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
Helper Protocols Protocols that either make it easier for IP to do its job, or extend the capabilities of the network layer.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
CSEE W4140 Networking Laboratory Lecture 3: IP Forwarding and ICMP Jong Yul Kim
Network Layer CS176A Ramya Raghavendra. Routing table [Q1] Destination Address Range Link Interface Through
Routing Going from one network to the next. Where is routing handled? IP serves the functions of –routing –universal naming Identification is easiest.
IP Routing: an Introduction. Quiz
1 Reminding - ARP Two machines on a given network can communicate only if they know each other’s physical network address ARP (Address Resolution Protocol)
ROUTING PROTOCOL IGRP. REVIEW 4 Purpose of Router –determine best path to destination –pass the frames to the destination 4 Protocols –routed - used by.
實驗五 網路探測實驗 教師: 助教: 1998/10/19 High Speed Network Lab. Department of Computer Information Science, NCTU.
© MMII JW RyderCS 428 Computer Networks1 Mapping Internet to Physical Addresses  2 machines on a physical network can only communicate if they know each.
© Jörg Liebeherr ECE 1545 Forwarding in IP Networks.
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
NetBIOS name resolution. Name resolution  NetBIOS name resolution: mapping NetBIOS name to an IP address review of name syntax: machine name: \\mname.
The complete picture Linux Network Management. End to End Connection Being able to describe the end to end connection sequence is a useful thing Very.
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are here.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 27/03/2007.
CCNP Network Route IPV-6 Part-II IPV-6 Routing: Configuring IPV-6: Let say we will configure the address on Router R1 R1# Conf t  R1(Conf t)# ipv6 address.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
Chapter 19 Binding Protocol Addresses (ARP) A frame transmitted across a physical network must contain the hardware address of the destination. Before.
Birgit Bonham: Prospect High School ARP….or What’s your MAC address?
1 Network Layer Lecture 12 Imran Ahmed University of Management & Technology.
Module 5: Creating IPv4 Address Spaces. Overview of IP Communication Subnetting Overview Subnetting for Complex Networks.
實驗二 Linux 下網路驅動程式追蹤 教師: 助教: 1998/10/19 High Speed Network Lab. Department of Computer Information Science, NCTU.
ARP The Process and the Protocol. Note to reader The information explained in this section is a simplification and extrapolation of the actual ARP determination.
BAI513 - PROTOCOLS ARP BAIST – Network Management.
Basic Routing Principles V1.2. Objectives Understand the function of router Know the basic conception in routing Know the working principle of router.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.
Ethernet switch Hosts Can talk using Ethernet addresses only.
Address Resolution Protocol (ARP). Internet and Data Link Layer Addresses Each host and router on a subnet needs a data link layer address to specify.
Net5: ARP 協定 授課教師:雲林科技大學 張慶龍 老師. IP Address/Physical Address Static Mapping  IP broadcast address maps to Ethernet broadcast address  IP Multicast Address.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
1 Lecture 11 Routing in Virtual Circuit Networks Internet Addressing.
ARP ‘n RARP. The Address Resolution Protocol (ARP) is a request sent out by a computer to find another computer’s MAC address. It already knows the IP.
實驗三 Linux 網路協定程式追蹤 教師: 助教:. 2 Outline Why Linux ? Linux 核心的內部 Linux 開機始末 實驗步驟.
1 Binding Protocol Addresses (ARP ). 2 Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed.
1 4 ARP : Address Resolution Protocol. 2 4 Introduction - Problem Successful Mapping of an IP Address to a Hardware Address Ethernet uses MAC-address.
Network Layer 3 Application Presentation Session Transport Network Data Link Physical OSI Model.
ADDRESS MAPPING ADDRESS MAPPING The delivery of a packet to a host or a router requires two levels of addressing: logical and physical. We need to be able.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Configuration for routing example
Scaling the Network: Subnetting and Protocols
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Datagram Forwarding.
Address Resolution Protocol (ARP)
MAC Address Tables on Connected Switches
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
IP Network Layer and Ethernet Encapsulation
Net 323: NETWORK Protocols
Address Resolution Protocol (ARP)
Address Resolution Protocol
Advanced Computer Networks
ARP: Address Resolution Protocol
ARP: Address Resolution Protocol
Figure 6.11 Configuration for Example 4
Presentation transcript:

實驗四 Linux 子網域分割 之設定與觀察 教師: 助教:

2 Outline Traditional IP Allocation Netmask: the Concept Subnetting Realization Proxy-ARP Transparent Router Different Lengths of Netmask How Kernel Works Broadcasting Routing Table Lookup Routing Table Cache Experiment

3 Traditional IP Allocation

4 Netmask: the Concept Used to determine whether two hosts are under the same network Unicast : A → B A → Router → C Broadcast : A → Everyone Router : Longest Prefix Match

5 Subnetting Realization - Proxy-ARP Transparent Router Get the mapping between MAC address and IP address of a host by ARP requests Sharing information with each subnet

6 Subnetting Realization - Different Lengths of Netmask

7 How Kernel Works Three possible scenarios when a packet arrives Routing Table Lookup, Routing Cache, Broadcasting Routing Table Lookup

8 How kernel works Routing Cache Broadcasting Set destination Ethernet address to ff:ff:ff:ff:ff:ff

9 Experiment Proxy-ARP B or C ping A B ping C Open ARP on A B or C ping A again B ping C again Longest Prefix Matching and Routing Cache Modify kernel source code and recompiled Load new kernel C ping B to check /var/log/messages Broadcasting