LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-18-2006, 04:34 AM   #1
abhiar
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Interesting Network Configuration


Hi All!!!
Thanks for responding to my query before. Well, I am supposed to setup Private Linux Network with the physical configuration like this:

Code:
                   Internet 
                       |
                       |
                  |-------------|
              |---|Linux Router |--------|
              |   |-------------|        |
              |                          |
Subnet: 192.168.10.x                Subnet: 192.168.20.x
              |                          |
              |     |-------------|      |
              |-----|Single Linux |------|
              eth0  | Machine     |     eth1
                    |-------------|
I hope my little stint with drawing helped u in understanding the topology. Well the problem seems to very trivial but I am very new to this.
Well i can access internet using from my linux machine by using either of eth0 and eth1. But as the situation demands, i need to have communication between eth0 and eth1. I am not able to ping eth1 using eth0 interface and vice versa.
Please let me know if i can continue with this configuration??
I have added appropriate routes like
default router gateway eth0
default router gateway eth1

Moreover, to me router doesnt seems to bea problem.

Thanks

Last edited by acid_kewpie; 10-18-2006 at 04:53 AM. Reason: use code blocks!
 
Old 10-18-2006, 04:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
can you explain more what it is you actually need? i don't understand what yoru problem actually is... are you trying to get more resilience from multiple routes?
 
Old 10-18-2006, 05:45 AM   #3
mblames
Member
 
Registered: Apr 2006
Location: Place for all OpenSource
Distribution: OpenBSD 4.1, FC5
Posts: 50

Rep: Reputation: 15
From my opinin u want both lan accessible for the others.
So your router also an ICS gateway right ?
Like this
eth0 = ext network / internet
eth1 = 192.168.10.0/24
eth2 = 192.168.10.0/24

then all u need is 3 NICs,and set the iptables.
when u want the ping works well,all u need ACCEPT icmp packet.


Sorry for my missunderstanding ..


Regards
 
Old 09-15-2007, 01:07 PM   #4
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Putting the same Ethernet Address on two Ethernet Cards will allow traffic through the Linux Box, but not allow them to communicate with each other. To communicate with one Ethernet Card to another Ethernet Card, they each need separate Ethernet Addresses. Eth0 [a,b,c,x] --> Eth1 [a,b,c,y] --> Eth2 [a,b,c,z]. Hope this helps us.
 
Old 09-15-2007, 02:08 PM   #5
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
Make sure your "Single linux machine" is connected with xcable with linux router.
I am not sure what you want do with this kind of setup but you can try this .you have to enable Ipv4 forwarding in both the machines so here your single linux machine will be a router too..
Linux router :
eth0: 192.168.10.1
eth1: 192.168.20.1
use your default gateway accordingly.
and Single linux machine :
eth0: 192.168.10.2
eth1: 192.168.20.2
and default gateway for this machine ( ??????)

any plan/idea ?
 
Old 09-16-2007, 11:24 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
UhhMaybe, seriously, stop dragging up old threads. please.

soroccoheaven, did you realise that this thread is almost a year old? maybe a little frustrated that the original guy with the problem i long gone? i would be...
 
  


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
Interesting Network Boot whitehat101 Linux - Networking 1 06-20-2006 10:12 PM
interesting network setup jrapp13 Linux - Networking 1 11-30-2003 03:19 AM
Interesting network statistics phishman3579 Slackware 1 09-27-2003 09:03 PM
Help Please - Interesting Network Issue ned911 Linux - Networking 6 12-27-2002 02:45 PM
Interesting Network/Internet question ChaosX2 Linux - Networking 9 10-03-2001 10:51 AM

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

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