LinuxQuestions.org
Review your favorite Linux distribution.
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 01-19-2008, 12:59 PM   #1
KiLLaWaBBiT
Member
 
Registered: Mar 2003
Location: UK
Distribution: Slackware 10.2, Kernel 2.6.13
Posts: 69

Rep: Reputation: 15
Box with 3 NICS to act as router?


Hey,

I have a Mandriva 2008 box setup with 3 nics installed.
Eth0 is connected to the internet and is working fine.
Eth1 is connected to my laptop, and is routing perfectly

Here's where my problem begins. Eth2 i need to also connect to the internet via the Mandriva box, however in the internet sharing wizard, it only gives you the option to connect one other nic for sharing. Is there something i can edit somewhere, possibly to do with shorewall that will allow traffic to be forwarded from both eth1 and eth2?

Many thanks, any help will be gratefully received.
 
Old 01-19-2008, 02:09 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Not a Mandriva user but sounds like to me it lacks support for more than 2 nics. I would look into disabling the Mandriva firewall tools and install one of the many firewall tools like firestarter or fwbuilder and construct it the way you want.

Brian
 
Old 01-19-2008, 02:20 PM   #3
KiLLaWaBBiT
Member
 
Registered: Mar 2003
Location: UK
Distribution: Slackware 10.2, Kernel 2.6.13
Posts: 69

Original Poster
Rep: Reputation: 15
This is as i'd feared, lol. You've saved me some time messing around with shorewall.

Thanks brian.
 
Old 01-20-2008, 07:42 AM   #4
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
note that a distro having an overly simplistic gui for something by no means means it can't do it... configuring what you want is actually very simple through a console directly...
 
Old 01-20-2008, 11:05 AM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I agree using the console defiantly gets more things done and usually quicker to me than gui tools. At this way you know how it actually works. I guess that is from more than 30 years of computer usage in my veins.

Brian
 
  


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
Why does basic UBUNTU act as a Router with DNS All-in-One Linux - Networking 1 03-01-2006 10:43 PM
2 NICs, can't detect eth1 - router/fw box slackhack Linux - Networking 2 08-01-2005 06:43 PM
setup a linux box to act as file server in LAN? sabex Linux - Newbie 12 02-07-2005 05:35 PM
Put linux to act as an router little_ball Linux - Networking 1 01-30-2004 11:10 AM
Trouble config. two eth. cards to act as a router ConcreteClam Linux - Networking 4 01-28-2004 01:51 PM

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

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