networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jan 12, 2012 3:12 am 
Offline
Member
Member
User avatar

Joined: Tue Aug 18, 2009 10:45 am
Posts: 103
Location: Tabriz, Iran
Hi guys

you can see topology below. Every thing is clear on the diagram.
The question is when routers are a cisco router, I can ping both R1 interfaces(192.168.3.1, 192.168.5.1) from client.But when they are linux router I can only ping 192.168.5.1.
I mean linux is trying to response from the interface it recieved the requests, But it can not find next hop on that. But cisco router can recieve ping requests from one interface and send replies on other interface.

Can anyone help what is gong on?


Attachments:
Diagram1.jpeg
Diagram1.jpeg [ 17.39 KiB | Viewed 428 times ]

_________________
Best Wishes
MERKAVA
Top
 Profile  
 
PostPosted: Thu Jan 12, 2012 3:23 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Sun Jan 04, 2009 6:28 pm
Posts: 713
Location: Singapore
Certs: CCNA, CCDA, CCNA-SECURITY
other than CDP, they should be the same.

by linux router, what platform are you referring to?
there are many routers with a linux or unix kernel but some operate slightly different than others. not in anyway that would cause this however it might be something you overlooked in the config.

_________________
CCNA, CCDA, CCNA-SECURITY


Top
 Profile  
 
PostPosted: Thu Jan 12, 2012 3:47 am 
Offline
Member
Member
User avatar

Joined: Tue Aug 18, 2009 10:45 am
Posts: 103
Location: Tabriz, Iran
I'm using fedora 16 with kernel-3.1.7-1.fc16.x86_64. I have only enabled net.ipv4.ip_forward = 1. nothing more

_________________
Best Wishes
MERKAVA


Top
 Profile  
 
PostPosted: Sun Jan 15, 2012 5:55 am 
Offline
Member
Member
User avatar

Joined: Tue Aug 18, 2009 10:45 am
Posts: 103
Location: Tabriz, Iran
I asked this question in http://ask.fedoraproject.org/question/870/different-behavior-between-linux-router-and-cisco
The answer is:
we should disable reverse path filtering on Linux. it is enabled by default. Edit this line in sysctl.conf:
Code:
net.ipv4.conf.default.rp_filter = 0

_________________
Best Wishes
MERKAVA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group