LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.

Slides:



Advertisements
Similar presentations
Precept 3 Host Configuration 1 Peng Sun. What TCP conn. running? Commands netstat [-n] [-p] [-c] (Linux) lsof -i -P (Mac) ss (newer version of netstat)
Advertisements

DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
Linux network troubleshooting If your network connection is not working..
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
Network Management And Debugging
INFO 320 Server Technology I Week 6 Networking 1INFO 320 week 6.
Linux Networking Commands
System Administration: Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
Chapter 12: Configuring Networks The Complete Guide to Linux System Administration.
Chapter Twelve Using TCP/IP on the Network. Objectives Here, we’ll examine how to configure TCP/IP. The concepts of subnetting will be examined in detail.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Making connections Connecting a computer to a LAN donna Bair-Mundy.
DHC P Dynamic Host Configuration Protocol
Linux Networking #2 Dr. Michael L. Collard 1.
ITS CSS Desktop Support Introduction to networking concepts Last updated: 9/30/2008 by pxahelp.
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
ARP Under Abnormal Conditions. Experiment with the browser (1) arp -n # see what it there Open a browser on your personal workstation browse to
1 How to Enable IPv6 in Your Subnet Quincy Wu March 10, 2004.
1 Routing. 2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
Networking Colin Alworth May 26, Quick Review IP address: four octets Broadcast addresses –IP addresses use all 1’s for the host bits, and whatever.
Links and LANs Link between two computers via cross cable The most simple way to connect two hosts is to link the two hosts with a cross cable.
Linux Network Management Command. (1) Domainname Command Name :- domainname Purpose:- Displays or sets the name of the current Network Information Service(NIS)
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
1 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
DHCP/BOOTP Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Linux Networking #1 Dr. Michael L. Collard 1.
How to connect to the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
TCP/IP Network Essentials
Basic Linux Router I Router, a device that... Working on OSI Layer 3 (Network Layer) Connected to more than one networks Finding.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Linux Operations and Administration Chapter Eight Network Communications.
Static Routing Exercise AFNOG 2002 / track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
 Router Configurations part2 2 nd semester
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Wireless Access Point. What is a WAP?  A Wireless access point (WAP) is a device that allows a wireless device to connect to a wired network.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Ifconfig Kevin O'Brien Washtenaw Linux Users Group
Home Networking CCCC Linux Desktop SIG August 20, 2007.
Installing iHRIS on VMWare
Chapter 12: Configuring Networks
Linux network troubleshooting
Click to edit Master subtitle style
Troubleshooting ip Chapter 5e.
Network Configuration
Network Commands 2 Linux Ubuntu A.S.
LINUX ADMINISTRATION
Chapter 22 Web Hosting and Internet Servers
Chap 10 IP Addressing Andres, Wen-Yuan Liao
IPv6 Hands-on pre-GDB IPv6 workshop 7th of June 2016 edoardo
Chapter 6 – Routing.
Chapter 4: Routing Concepts
BBBK – WiFi, Ad-hoc network and Wireless access point
BOOTP and DHCP Objectives
Troubleshooting IP Communications
Chapter 2: Static Routing
Introduction to Networking
IP Network Layer and Ethernet Encapsulation
Hiding Network Computers Gateways
Advanced Network Training
Advanced Computer Networks
Net 412 (Practical Part) Networks and Communication Department LAB 1.
OPS235 Configuring a Network Using Virtual Machines – Part I
Troubleshooting ip Chapter 5e.
Module 12 Network Configuration
See Next Slide Example 13 (continued)
Presentation transcript:

LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department

IP Configuration ● Display current IP address and setting for network interface called eth0 – You can see your IP Configuration for eth0 interface card by this Command : ● # ifconfig eth0 – You can see your System Network interface cards and their option by this command : ● # ifconfig

IP Configuration ● Change IP address – You can change ip address using ifconfig command itself. To set IP address , enter command: ● # ifconfig eth netmask up ● # ifconfig eth0

IP Configuration ● if you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card auto eth0 iface eth0 inet dhcp

Set Static IP Address ● auto eth0 – iface eth0 inet static – address – gateway – netmask – network – broadcast

IP Configuration ● After entering all the details you need to restart networking services using the following command – sudo /etc/init.d/networking restart

Setting up Second IP address or Virtual IP address in Ubuntu ● If you are a server system administrator or normal user some time you need to assign a second ipaddress to your Ubuntu machine. For this you need to edit the /etc/network/interfaces file and you need to add the following syntax.Below one is the only example you need to change according to your ip address settings

Setting up Second IP address or Virtual IP address in Ubuntu sudo vi /etc/network/interfaces auto eth0:1 iface eth0:1 inet static address netmask network x.x.x.x broadcast x.x.x.x gateway x.x.x.x

Follow Links ● ● u-linux u-linux ●

Testing Tools ● PING – Ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams (‘‘pings’’) have an IP and ICMP header

Testing Tools ● PING Options – -c count – Stop after sending (and receiving) count ECHO_RESPONSE packets. – -i wait – Wait seconds between sending each packet. The default is to wait for one second between each packet.

Testing Tools ● PING Options – p pattern – For example, “-p ff” will cause the sent packet to be filled with all ones.

Testing Tools ● PING Options – q – Quiet output.