LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-13-2010, 06:37 AM   #1
sundar3350
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
packets not routed properly after setting up linux machine as router


I have three machines say A B and C. I want to make machine B as a router for A and C, so that the ping packets from C to A should be going via B. I have directly connected two interfaces(eth4) of A and B and similarly two interfaces(eth5) of B and C. I have even set up a route between B and C.

1. But I am not able to set a route between B and A.

2. If I ping A from eth4 of B(viceversa) it works. When I ping B from eth5 of C it works but not the viceversa.

3. Also, if I ping from C to A, B receives the packets, but not A.

I request you to kindly guide me to solve these issues.

please ask me if you require any more info.
 
Old 08-13-2010, 08:53 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
sundar3350,

Try to resolve MAC:ip_address within computer B.

If it still doesn't meet your need create a zone (route) shared among the three units A B & C and specify the ports to use.

Good luck.
 
Old 08-14-2010, 08:52 AM   #3
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
make sure you have ip forwarding turned on /proc/sys/net/ipv4/ip_forward and setting it in sysctl.conf to make it permanent
 
Old 08-16-2010, 05:04 AM   #4
sundar3350
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
i will check these and will get back.
 
  


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
setup pxe server routed via standard ASDL router JonathanWilson Linux - Networking 1 04-02-2010 08:12 PM
how to send out mutilcast packets using in.routed lining Linux - Networking 1 12-08-2008 09:02 PM
Setting up a 2-NIC machine to be DHCP and router bcfriesen Linux - Networking 2 09-05-2008 03:58 PM
Linux router - setting up a DMZ or default machine to route to Rooboy Linux - Networking 12 02-18-2004 03:44 PM
Router Theology and 'Routed' service shuriken1 Linux - Networking 1 01-21-2004 02:24 PM

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

All times are GMT -5. The time now is 04:53 PM.

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