Linux Routing. Why use Linux as a router? Its cheap. Linux has low hardware requirements. A properly configured P166 Mhz computer would have no problems.

Slides:



Advertisements
Similar presentations
Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
Advertisements

IP Forwarding Relates to Lab 3.
IPv6 Konsep Jaringan Komputer. Pengecekan Module ipv6 pada kernel # ls –l /proc/net/if_inet6 atau test -f /proc/net/if_inet6 && echo "Running kernel is.
Static Routing Exercise. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration  Static routes.
CIS 193A – Lesson9 Network Infrastructure. CIS 193A – Lesson9 Focus Question What are three high level subnets a corporate intranet will want to support?
DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
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)
SYSTEM ADMINISTRATION Chapter 19
Chapter 13: Troubleshooting network connectivity Unit objectives Identify TCP/IP troubleshooting tools Discuss the Telnet utility and its functions Discuss.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
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.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Introduction to Applied Network Security By Prof. Herzberg Man in the Middle lab #1 Aharon Brodie.
Network Management And Debugging
Linux Networking TCP/IP stack – kernel controls the TCP/IP protocol – Ethernet adapter is hooked to the kernel in with the ipconfig command – ifconfig.
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.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
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.
IS 426: Information Systems Construction in Modern Society Downloading and exploring oracle development environments.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
Mail Server Setup MAIL SERVER SETUP.
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.
21/11/ L7A/1/30 COM342 Networks and Data Communications Ian McCrumRoom 5B18 Tel:
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration u Static routes u Default route u Testing.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
1 Linux Basics for Networking. 2 Module - Linux Basics for Networking ♦ Overview This module focuses on the basics of networking using Redhat Enterprise.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
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 ( 수 ) 한 민 규
Copyright © Lopamudra Roychoudhuri
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
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.
Department of Computer Engineering, Kasetsart University Computer Networks 1-1 IP Addressing Computer Networks Surasak Sanguanpong
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.
Cisco Discovery Protocol. CDP and Router Boot Up When a Cisco device boots up, CDP starts up automatically and allows the device to detect neighbor devices.
2010 paro, bhutan IP Basics IP/ISP Services Workshop July, 2010 Paro, Bhutan.
實驗二 Linux 下網路驅動程式追蹤 教師: 助教: 1998/10/19 High Speed Network Lab. Department of Computer Information Science, NCTU.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
Static Routing Exercise
Linux Kernel Management. Module 9 – Kernel Administration ♦ Overview The innermost layer of Linux operating system is the kernel, which is a thin layer.
Spam Mail FilterJeff Rupp & Frank Watson1 Implement Spam Mail Filtration inside Linux kernel Jeff Rupp and Frank Watson.
How to connect to the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Static Routing Exercise Mark Tinka & Isatou Jah. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration.
Basic Linux Router I Router, a device that... Working on OSI Layer 3 (Network Layer) Connected to more than one networks Finding.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
SIMULATION OF MULTIPROCESSOR SYSTEM AND NETWORK Manish Patel Nov 8 th 2004 Advisor: Dr. Chung-E-Wang Department of Computer Science California State University,
Static Routing Exercise AFNOG 2002 / track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
實驗三 Linux 網路協定程式追蹤 教師: 助教:. 2 Outline Why Linux ? Linux 核心的內部 Linux 開機始末 實驗步驟.
Static and Dynamic Routing. Configuring RIP Specifying Outgoing Interface.
1 Emulab's Current Support For IXPs: An example of support for non-PCs.
Setting up a Printer. ♦ Overview Linux servers can be used in many different roles on a LAN. File and print servers are the most common roles played by.
LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.
LINUX and Ham Radio and the TAPR SS Radio Bill Reed WD0ETZ.
Managing and Directing Network Traffic with Linux
Network Configuration
LINUX ADMINISTRATION
Introduction to Networking
IP Network Layer and Ethernet Encapsulation
OSPF “Magic” Exercise We will use a “quick and dirty” setup to make OSPF work with minimal configuration. WARNING DO NOT do this on your production network.
Steps to set up end-to-end/partial-path circuits
Delivery, Forwarding, and Routing of IP Packets
OSPF “Magic” Exercise We will use a “quick and dirty” setup to make OSPF work with minimal configuration. WARNING DO NOT do this on your production network.
Module 12 Network Configuration
Figure 6.11 Configuration for Example 4
Presentation transcript:

Linux Routing

Why use Linux as a router? Its cheap. Linux has low hardware requirements. A properly configured P166 Mhz computer would have no problems routing for a T1 or cable/DSL connection.

How do I setup a router? Firstly you have to insure that your kernel has recognized each of your network cards. This can be done by typing ifconfig IE) ifconfig eth0 ifconfig eth1 ifconfig eth

What if my cards are not recognized by the kernel? You will then have to recompile your kernel or edit the rc.modules file. The rc.modules file simply runs during boot up and runs the modprobe command to search for compile modules. You should just have to uncomment the modules you wish to run.

A Sample Network

Review of networking Step 1 Identify the default routes for each of the routers. Pig Dog Hog Horse Otter Bear Elk Beaver

Review of networking Step 2 Identify each of the routes for each of the routers. Identify the interfaces Write the route command for each of the routes.

Adding a route To add a route to a network one would use the route command. To View Routing Tables one could use the netstat –rn command or the route command.

Adding/Deleting Network Routes route add -net /24 gw route del -net /24 gw

Adding/Deleting Host Routes Adding and Removing a specific host in Linux route add -host gw route del -host gw

Adding/Deleting Default gateways route add default gw route del default gw