Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 Linux Routing

2 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.

3 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

4 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.

5 A Sample Network

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

7 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.

8 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.

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

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

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


Download ppt "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."

Similar presentations


Ads by Google