IP Network Layer and Ethernet Encapsulation - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

IP Network Layer and Ethernet Encapsulation

Description:

Check if driver is loaded # lsmod. see if module loaded (3c509) Ping - Exercise 2 (cont. ... Traceroute check route to host. traceroute (IP address) Ping ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 10
Provided by: george149
Category:

less

Transcript and Presenter's Notes

Title: IP Network Layer and Ethernet Encapsulation


1
IP Network Layer and Ethernet Encapsulation
  • Lab exercises

2
IP addresses
  • Host IP address
  • 193.225.201.130-146
  • Network address
  • 193.225.201.128/27
  • Netmask 32 addresses
  • 255.255.255.x
  • Broadcast address
  • 193.225.201.x
  • Gateway
  • 193.225.201.129

3
Class diagram
.133
.134
.132
.131
eth0
eth0
eth0
eth0
.141
.142
.140
.139
eth0
eth0
eth0
eth0
.135
PC4
PC3
PC1
PC2
PC10
PC12
eth1
PC9
PC11
Row 2
Row 6
Row 5
Row 1
.138
.137
.135
.136
.146
.145
.143
.144
eth0
eth0
eth0
eth0
eth0
eth0
eth0
eth0
PC7
PC6
PC5
PC8
PC14
PC13
PC15
PC16
Row 7
Row 8
Row 4
Row 3
193.225.201.128/27
4
Windows Settings- Exercise 1
  • Install Ethernet drivers and TCP/IP
  • Control Panel -gt Network -gt TCP/IP (Ethernet)
  • IP address
  • Netmask
  • Gateway
  • DNS
  • MS-DOS prompt
  • ping ip-address
  • tracert ip-address

5
Ping - Exercise 2
  • Step 1
  • Load Ethernet Driver
  • modprobe eth0
  • Check if driver is loaded
  • lsmod
  • see if module loaded (3c509)

6
Ping - Exercise 2 (cont.)
  • Configure Ethernet Interface
  • ifconfig eth0 ltIP addressgt netmask ltnetmaskgt
    broadcast ltbroadcastgt
  • For Linux lt 2.2
  • route add -net ltnetworkgt netmask ltnetmaskgt
  • Check
  • ifconfig - check interface
  • netstat -nr - check route to network

7
Ping - Exercise 2 (cont.)
  • Ping check status of host
  • ping ltremote IP addressgt
  • Try
  • other machines
  • broadcast address
  • Add default route
  • default is keyword 0.0.0.0
  • route add default gw (IP address) metric N
  • Traceroute check route to host
  • traceroute (IP address)

8
Ping - Exercise 3
  • Step 1
  • Find your own MAC address
  • ifconfig
  • Step 2
  • Ping your neighbor
  • ping ltIP addressgt
  • Step 3
  • Show ARP cache look for their MAC addresses
  • arp -n

9
Ping - Exercise 2 (cont.)
  • Step 4
  • On other window (e.g. ALTF2)
  • Look for ARP frames
  • arp -d ltIP addressgt - Flash ARP entry
  • ping ltIP addressgt
  • Go back to the first window to look for ARP frames
Write a Comment
User Comments (0)
About PowerShow.com