LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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

Closed Thread
 
Search this Thread
Old 12-23-2005, 07:21 AM   #1
seb.its
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Network Problem with 2 network cards on the same subnet on Redhat


Hello,
I have a network problem on Redhat ES v3.
I whish to have 2 network cards on the same subnet.
eth0 take traffic except the one from a specific subnet.
eth0 ip 192.168.1.1 mask 255.255.255.0
eth1 ip 192.168.1.2 mask 255.255.255.0
I have modified network routes configuration all 192.168.1 is on eth0 and access to default gateway too.
There is a route to 192.168.2.0/24 by eth1.
From a computer in 192.168.2.1 I wish to do a ssh session to 192.168.1.2. But it just work if I desactivate iptables.
If I activate iptables I see that ssh packet from 192.168.2.1 to 192.168.1.2 is denied because it's taken by eth0 insteed of eth1 (even if destination ip is the one of eth1).
How can I configure this to work ? (I think it could work isn't it ?).
A stange thing is when I desactivate iptables I can do a ssh session but if I let this session open and reactivate iptables it still work !! And it works even if I reboot the system !!
but the problem is that the next day (or a long moment after) the problem reappear.
thank you for any help
Seb

Last edited by seb.its; 12-23-2005 at 07:42 AM.
 
Old 12-23-2005, 07:32 AM   #2
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
English, please...

In order for others to be able to help you, a basic requirement is to be able to understand what the problem is about in a commonly known language.

Thanks, and happy holidays

-Y1
 
Old 12-23-2005, 07:37 AM   #3
seb.its
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I'am very confuse...
I was concentrated on explaining my problem and I don't realise that it was in french !!
I have translated it in english now.

I open a new thread beacause I don't manage to change the title
Excuse me

Last edited by seb.its; 12-23-2005 at 08:02 AM.
 
Old 12-23-2005, 09:21 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Quote:
Originally Posted by Yalla-One
English, please...

In order for others to be able to help you, a basic requirement is to be able to understand what the problem is about in a commonly known language.

Thanks, and happy holidays

-Y1
(Emphasis added.)

Just to yank your chain , do note that French is, in fact, a "commonly know" language. The problem was that LinuxQuestions forum entries are expected to be in "American English." (And, yes, I've had my chain yanked for using "British English" on occation).

As to the poster's question, set.its, why do you want to put both cards on the same subnet? If you're using 192. for security, you could consider putting the other card on 90. instead. Or use two different subnet masks, say 255.255.127.0 and 255.255.128.0.
 
Old 12-23-2005, 09:45 AM   #5
seb.its
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by PTrenholme
(Emphasis added.)

Just to yank your chain , do note that French is, in fact, a "commonly know" language. The problem was that LinuxQuestions forum entries are expected to be in "American English." (And, yes, I've had my chain yanked for using "British English" on occation).

As to the poster's question, set.its, why do you want to put both cards on the same subnet? If you're using 192. for security, you could consider putting the other card on 90. instead. Or use two different subnet masks, say 255.255.127.0 and 255.255.128.0.


Please find my response in thread 395887. The same but with title in English...
Sorry I can't put an url for the moment (forbidden for newbies...)
 
Old 12-23-2005, 10:12 AM   #6
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Quote:
Just to yank your chain , do note that French is, in fact, a "commonly know" language
Fine, but this is linuxquestions.org, not les-questions-de-linux.org

(Apologies to the frenchies if my french grammar skills have grown rusty since high school)
 
Old 12-24-2005, 03:16 AM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

If you would like a title change, please report it to a moderator.

Thanks.

The thread will continue here:
http://www.linuxquestions.org/questi...18#post2013118
 
  


Closed Thread


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
Network Problem with 2 cards on the same subnet on Redhat seb.its Linux - Networking 1 12-23-2005 09:41 AM
Two network cards = network problem filch Linux - Networking 3 01-04-2005 02:06 AM
Installing network cards in RedHat 9 zinc_0 Linux - Newbie 4 07-02-2004 01:12 PM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM
2 network cards on same subnet. Is this ok? ForumKid Linux - Networking 5 01-14-2002 08:10 AM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration