LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-25-2004, 10:14 PM   #1
sublime
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Question routing/forwarding between multiple (3+) nics


hallo forum,

i have a server with 3 nics :

i want the subnets talk to each other

eth0: 192.168.1.1
eth1: 192.168.2.1
eth2: 192.168.3.1

on 192.168.1.111 there is the routerbox


i cant find any iptabel scripts witch handle this solution ... can omeone please help ?

thanks

botnik

Last edited by sublime; 07-25-2004 at 10:16 PM.
 
Old 07-26-2004, 12:34 AM   #2
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 32
What do you mean by 'talk'?
Try iptables -A FORWARD -s 192.168.1.1/16 -d 192.168.1.1/16 -j ACCEPT
iptables -t nat -A PREROUTING -s 192.168.1.1/16 -d 192.168.1.1/16 -j ACCEPT
 
Old 07-26-2004, 02:22 AM   #3
sublime
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Post

hallo,

talk means : to use the winXP-shares from a mashine on lan1 by a XP-client from lan2

if the inet-router is on lan1 it should be possible for a client from lan2/3 to connect to a providers smtp.serve.

why you suppose 192.168.1.0/16

think i use /24 .. am i wrong ?

greets from berlin
 
  


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
Intel D845GLLY + Multiple Intel Pro 100 NICs + kernel 2.6.x = NICs don't work egable Linux - Hardware 0 02-04-2005 02:30 PM
Routing issues with multiple nics on ClarkConnect 2.2 (RedHat 9) Killbot_5000 Linux - Networking 1 01-13-2005 10:58 AM
Routing between 2 NICs Tinochelli Linux - Networking 4 12-09-2004 11:33 AM
dual nics and routing dhill Linux - Networking 2 11-18-2003 10:12 AM
Routing with 3 nics _TK_ Linux - Networking 2 09-25-2001 11:32 AM

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

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