LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2008, 07:10 PM   #1
scofiled83
Member
 
Registered: Nov 2008
Posts: 70

Rep: Reputation: 15
routing table


Hi
below was my pop quiz question.I worked a lot but couldnt come to solution.
Any help would be appreciated...


The Linux system pokey has two Ethernet cards. The first Ethernet card is connected to a companywide
TCP/IP network covering the addresses 87.65.43.xx, where pokey’s address is
87.65.43.21. The second Ethernet interface is connected to a smaller local network covering the
addresses 192.168.1.x. The machine named skeptopotamus, with the address
87.65.43.1, can route traffic from pokey to the rest of the Internet. What does pokey’s routing
table look like (show destination addresses/masks, interfaces and other information where needed).
 
Old 11-08-2008, 07:40 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You would use skeptopotamus's IP address as the default gateway. I'm not certain if you want to route traffic between the 87.65.43.0 network and the 192.168.0.0 network. You do need a route entry for each network, but if you want to forward traffic for the hosts in the two networks, you need to enable that as well.
I've found that I also need to load the "nf_conntrack" kernel module as well as enable IP forwarding. The latter is done with "echo 1 > /proc/sys/net/ipv4/ip_forward" as root, but may be handled by your distro's network configuration.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about my routing table skibler1223 Linux - Networking 1 02-23-2008 04:07 PM
routing table selie Linux - Networking 2 05-04-2007 09:12 AM
routing table arvind kumar Linux - Networking 2 06-08-2005 11:59 PM
Help with a Routing Table maginotjr Linux - Networking 4 06-06-2005 09:49 AM
routing table upr8830 Linux - Networking 6 06-18-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration