LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-01-2014, 05:43 AM   #1
thirun
LQ Newbie
 
Registered: Oct 2013
Posts: 22

Rep: Reputation: Disabled
Angry Two network ports on same subnet failed


Hi,

I have searched in the forum for the below problem, I didn't got any related solution.

I'm trying to configure two Ethernet ports on same subnet in the Linux, I mean eth0 and eth1 configured has 192.168.4.20 and 192.168.4.30 respectively.

The above configuration not working means unable to ping both at a time, only the eth0 works fine.

I've did my home work by browsing, but none of the suggestion worked for me. is it possible to configure on same subnet ? if so what are all the configuration I need to do? is there any document which tells the steps.

Please suggest me..

Thanks in advance
 
Old 10-01-2014, 07:23 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
What distro are you using?

If it's CentOS, open /etc/sysctl.conf, then edit the value from 1 to 2
Code:
net.ipv4.conf.default.rp_filter = 1
and then add
Code:
net.ipv4.conf.all.rp_filter = 2
restart config:
Code:
sysctl -p


---------- Post added 10-01-14 at 08:23 PM ----------

That also applies to Scientific Linux/Redhat/Oracle Linux
 
Old 10-06-2014, 11:29 PM   #3
thirun
LQ Newbie
 
Registered: Oct 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
hi ilesterg,

Thanks for your reply
I'm playing with some APM process based custom board. I'm using APM custom kernel and systemd file system build.
 
  


Reply

Tags
ubuntu netbook remix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian Squeeze - isc-dhcp3-server failed to start (subnet problem?) uezelbruezel2000 Linux - Networking 2 11-16-2010 01:55 AM
Open certain ports across different subnet -- iptables jasboy Linux - Networking 3 04-16-2008 11:36 PM
Having 2 ports connecting to the same subnet - redundancy and speed? Swakoo Linux - Networking 3 10-20-2006 05:43 AM
Network Problem with 2 network cards on the same subnet on Redhat seb.its Linux - Networking 6 12-24-2005 03:16 AM
network subnet / bit varun_saa Mandriva 4 09-11-2005 12:51 AM

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

All times are GMT -5. The time now is 09:59 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