#1  
Old 14th November 2009, 05:33
gasbie gasbie is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default SETTING UP A DUAL NIC in linux

I'm trying to seup my dual ethernet card. One to go to the internet and the other to serve the LAN.
Do I need a router for the NIC that will serving the LAN and another one to the NIC that will be connected to the internet?
I don't want the LAN computers to connect to the internet. Can someone please give me a description on how to set this connection. And yes I will be using my server as a DHCP and DNS BIND. All input will be appreciated. Thanks
Reply With Quote
  #2  
Old 14th November 2009, 10:54
damir damir is offline
HowtoForge Supporter
 
Join Date: Jun 2006
Posts: 109
Thanks: 5
Thanked 13 Times in 11 Posts
Default

Hi,

I would install m0n0wall or pfsense. Pfsense is based on m0n0wall but is more robust in my opinion.

Threre you have routing software, dhcp server, dns and firewall so you can allow/deny internet connection on lan computers.
Reply With Quote
  #3  
Old 14th November 2009, 23:15
gasbie gasbie is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How does my connection goes? Is it from modem to router (dhcp turned off), then to switch and eth0 of my server(dhcp and dns on), then eth1 back to the switch?
Reply With Quote
  #4  
Old 15th November 2009, 00:38
damir damir is offline
HowtoForge Supporter
 
Join Date: Jun 2006
Posts: 109
Thanks: 5
Thanked 13 Times in 11 Posts
Default

It should be something like this:

Internet --> Modem --> Pfsense ETH0 (example ) --> ETH1 --> Switch --> Lan
Reply With Quote
  #5  
Old 15th November 2009, 00:56
gasbie gasbie is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey damir, I really appreciate your quick input. thank you so much. I'm a newbie with networking and linux. I'm working on a school project.

A server, wireless router, cable modem, and a switch.
My server has two NIC (eth0 and eth1). I want the server to be my DHCP and DNS server.
So what I did was connect my modem to my wireless router (DHCP disabled) then connect from the router to eth0 of my server. Any thing I connect to the back of the router gets a dhcp from my server and they can access the internet. If am correct, does this mean that my eth0 is serving for the outbound packeting or if provides access to the internet.

As for eth1, I want configure it for another network (192.168.10.0). it is connected to the switch. Now, how can I make any computer connected to the switch communicate with only the eth1 card?

Summary: I want eth0 NIC for serving internet only and eth1 for serving intranet.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 15:42
where are the error logs for ISPConfig? claudioimai Installation/Configuration 13 25th November 2008 12:21
Help. Apache don't start payne Server Operation 3 17th August 2007 16:57
Problems installing NForce4 sound drivers Wraithfire Installation/Configuration 21 16th April 2006 18:30
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 13:59


All times are GMT +2. The time now is 16:23.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th