Network Configuration

Slides:



Advertisements
Similar presentations
DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
Advertisements

1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
Linux network troubleshooting If your network connection is not working..
Linux Networking TCP/IP stack kernel controls the TCP/IP protocol Ethernet adapter is hooked to the kernel in with the ipconfig command ifconfig sets the.
Network Management And Debugging
Chapter 5 - TRANSPORT and NETWORK LAYERS - Part 2 - Static and Dynamic Addressing Address Resolution Dr. V.T. Raja Oregon State University.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
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.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
DHC P Dynamic Host Configuration Protocol
Networking ● Networking uses the TCP/IP protocol by default, but Linux can use other protocols to interact with other operating systems: MS Networking.
Linux Networking #2 Dr. Michael L. Collard 1.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
DNS & DHCP on CentOS 5.7 4/12/54 อ. ดรัสวิน วงศ์ปรเมษฐ์
1 How to Enable IPv6 in Your Subnet Quincy Wu March 10, 2004.
Copyright © Lopamudra Roychoudhuri
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.
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.
Delivery, Forwarding, and Routing of IP Packets
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.
Module 3: Configuring a Client IP Address. Overview Configuring a Client to Use a Static IP Address Configuring a Client to Obtain an IP Address Automatically.
1 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
2010 paro, bhutan IP Basics IP/ISP Services Workshop July, 2010 Paro, Bhutan.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Poor Man’s VIRL How to run VIRL as Bare Metal on resource-constrained PC (works on as well) Dec 30, 2015 Kaoru Yamashita.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
 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.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
DHCP CONFIGURATION Routing & Switching. DHCPV4 OPERATION CONFIGURING A DHCPV4 SERVER A Cisco router running the Cisco IOS software can be configured to.
LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.
Home Networking CCCC Linux Desktop SIG August 20, 2007.
November 8, 2011 Mark Jenkins Member
Network configuration Operating systems I800
Dynamic Host Configuration Protocol
100% Exam Passing Guarantee & Money Back Assurance
Instructor Materials Chapter 8: DHCP
Chapter 12: Configuring Networks
Linux network troubleshooting
Configuring DHCP Relay Configuration Example
LINUX ADMINISTRATION
Switch Setup Connectivity to Other locations Via MPLS/LL etc
Chap 10 IP Addressing Andres, Wen-Yuan Liao
IPv6 Hands-on pre-GDB IPv6 workshop 7th of June 2016 edoardo
DHCP server & Client Objectives Contents
Unix Linux Administration I
BBBK – WiFi, Ad-hoc network and Wireless access point
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
Introduction to Networking
Introduction to Computers
Advanced Network Training
Routing and Switching Essentials v6.0
WLNN-ER-DP551 Template.
Hardware Appliance Installation and Configuration
Delivery, Forwarding, and Routing of IP Packets
OPS235 Configuring a Network Using Virtual Machines – Part I
Addressing the Network – IPv4
Module 12 Network Configuration
See Next Slide Example 13 (continued)
Presentation transcript:

Network Configuration Linux Ubuntu 12.04 Network Configuration Ameer Sameer Hamood

Network Configuration Ethernet Interfaces Ethernet interfaces are identified by the system using the naming convention of ethX, where X represents a numeric value. The first Ethernet interface is typically identified as eth0, the second as eth1, and all others should move up in numerical order. To quickly identify all available Ethernet interfaces, you can use the ifconfig command as shown below. Ifconfig -a | grep eth eth0 Link encap:Ethernet HWaddr 00:15:c5:4a:16:5a

Network Configuration Another application that can help identify all network interfaces available to your system is the lshw command. In the example below, lshw shows a single Ethernet interface with the logical name of eth0 along with bus information, driver details and all supported capabilities. sudo lshw -class network * lshw (list hardware)

Network Configuration IP Addressing For temporary network configurations, you can use standard commands such as ip, ifconfig and route, which are also found on most other GNU/Linux operating systems. These commands allow you to configure settings which take effect immediately, however they are not persistent and will be lost after a reboot. To temporarily configure an IP address, you can use the ifconfig command in the following manner. Just modify the IP address and subnet mask to match your network requirements. sudo ifconfig eth0 10.0.0.100 netmask 255.255.255.0

Network Configuration Static IP Address Assignment To configure your system to use a static IP address assignment, add the static method to the inet address family statement for the appropriate interface in the file /etc/network/interfaces. The example below assumes you are configuring your first Ethernet interface identified as eth0. Change the address, netmask, and gateway values to meet the requirements of your network: auto eth0 iface eth0 inet static address 10.0.0.100 netmask 255.255.255.0 gateway 10.0.0.1

Network Configuration default gateway To configure a default gateway, you can use the route command in the following manner. Modify the default gateway address to match your network requirements. sudo route add default gw 10.0.0.1 eth0 To verify your default gateway configuration, you can use the route command in the following manner. route -n

Network Configuration restart the networking components: sudo /etc/init.d/networking start Or Sudo /etc/init.d/networking stop

Network Configuration you can manually enable the interface through the ifup command sudo ifup eth0 To manually disable the interface, you can use the ifdown command, which in turn will initiate the DHCP release process and shut down the interface. sudo ifdown eth0

Network Configuration DHCP Now, to configure your server to use DHCP for dynamic address assignment, add the dhcp method to the inet address family statement for the appropriate interface in the file /etc/network/interfaces. auto eth0 Iface eth0 inet dhcp

Network Configuration Finally run the ifup command to manually enable the interface and initiate the DHCP process via your DHCP client. sudo ifup eth0 If done correctly, your DHCP client should be fully configured and running ifconfig again should show your newly acquired dynamic IP address.