LinuxQuestions.org
Help answer threads with 0 replies.
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 08-25-2011, 09:18 AM   #1
surfrock66
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Rep: Reputation: 0
2 NIC's, One to a NAS, one to a network, Fedora 14 (Amahi)?


Hey, I've been using desktop linux since 2006 but am only starting to get more advanced.

I bought a used blade server and am running Fedora 14 as an Amahi install, and it's working great. Amahi acts as my DHCP and my DNS server. (all known devices have static IP's btw) The goal is to have a second machine running FreeNAS, with tons of storage (I'm currently at 4TB) and mount nfs volumes on boot through editing the fstab file. This is working just fine when both the server and the freeNAS box are connected through my router; all of the mount points appear as normal.

Now I'd like to move the box into the same room as my blade, and connect the NAS box and the blade directly through the blade's 2nd NIC. I want outgoing traffic and internal-NAS traffic to not conflict with each other...as it is when I VNC into the blade server while copying files between blade and NAS I get serious lag.

I've not been able to get the 2nd NIC working on the blade box. At first it wasn't active, but I got it active in "System > Administration > Network Device Control" and copying the settings from eth0 to eth1 (applying the correct IP btw) and activating the device. I statically set the IP of the blade's 2nd NIC and the FreeNAS box, but even from the blade I can't see the NAS. NIC 1 works, NIC 2 doesn't, and I don't know enough to figure out how to fix it.

Any output you want I can provide, I've perused tons of threads and am still COMPLETELY lost. Thanks!
 
Old 08-26-2011, 10:37 AM   #2
surfrock66
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I got it working. Few things I did to make it work:

Make sure you use a crossover cable for a direct connection, not a patch cable. Just to make sure it was clear I knew that.

I went into System -> Administration -> Network Device Control. Then, I hit configure, selected the eth1 interface, and hit edit.

First, uncheck "Controlled by Network Manager" and check "Activate device when computer starts."

I statically set the IP address and made the subnet mask 255.255.255.0

Finally, I needed to set a static route, so that the computer knew when you tried to access that IP to use the one specific NIC. Click the "Route" tab, then I hit "Add" and made the Address the static IP of the FreeNAS box, and made the subnet mask "255.255.255.254". That was the problem, I had been using the subnet mask 255.255.255.0. Don't do that.

Now it all works, and there's another happy consequence...I can only access the web interface of the FreeNAS box from the HDA itself, which is nice, it's a bit more secure not being open to the main home network. Not only would you have to get into my network...you have to have VNC control over the HDA.
 
  


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
Linux NAS (Network Attached Storage) [GofW]Beans Linux - Software 11 02-18-2010 02:19 PM
LXer: Supercharging a home network with Amahi LXer Syndicated Linux News 0 11-07-2008 06:40 PM
New to Linux, how to access my NAS system on my network ottsm Linux - Networking 4 09-01-2008 07:53 PM
Problems with Fedora 9 live CD: no network using DHCP (Realtek NIC), how to copy2ram? ahues Fedora 0 06-09-2008 02:24 PM
Network NAS progress ian Stockdale Linux - Networking 7 10-12-2007 05:42 PM

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

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