LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-05-2014, 09:07 PM   #1
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
ReadyNAS with a spare eth1


Client bought a ReadyNAS 102 when his server ran out of disk space.
I got the device mounted at /mnt/bigdata and configured for fstab.

The client wants to keep the ReadyNAS 'traffic' off his eth0:x network.

There's an unconfigured eth1 I'd like to use and I have some questions about that.

If I configure eth1 to use 192.168.0.2 using
Code:
ifconfig eth1 192.168.0.2 netmask 255.255.255.0
will it matter if there's no gateway, and the device will never talk to the outside world and only be used as a mount for the extra storage?

rsync of 1.1T is going to take 10 more hours, so if you need any more info, fire away.

CentOS release 6.4 (Final) (I "know")
iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
Code:
ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:25:90:83:97:0a brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:25:90:83:97:0b brd ff:ff:ff:ff:ff:ff

ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:25:90:83:97:0B  
          inet6 addr: fe80::225:90ff:fe83:970b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11896 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1261254 (1.2 MiB)  TX bytes:468 (468.0 b)
          Memory:feae0000-feb00000 

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
209.112.245.0   *               255.255.255.0   U     0      0        0 eth0
67.207.212.0    *               255.255.255.0   U     0      0        0 eth0
216.105.34.0    *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     1002   0        0 eth0
link-local      *               255.255.0.0     U     1003   0        0 eth1
default         lwdc.ar07.fa1-7 0.0.0.0         UG    0      0        0 eth0
Thanks!

Last edited by Habitual; 06-05-2014 at 09:09 PM.
 
Old 06-05-2014, 09:20 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Just make sure it is not on same subnet with eth0 and you will be OK.
 
Old 06-05-2014, 09:34 PM   #3
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
There's no need for a gateway if your traffic is staying local.
 
Old 06-06-2014, 08:09 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374

Original Poster
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Just make sure it is not on same subnet with eth0 and you will be OK.
20 years in IT and I'm ashamed to say, that I don't have any subnetting.fu.

How do I make sure it's not on the same subnet?

Looks like
Code:
ifconfig eth1 192.168.0.2 netmask 255.255.255.192
should do the trick?

Thanks both of you for your time.
 
Old 06-06-2014, 06:15 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Say, your eth0 is 192.168.0.X with mask 255.255.255.0.
Assign 192.168.1.X mask 255.255.255.0 to your eth1 and it will not interfere with your eth0 connection. 192.168.1.Y for your NAS and that's it.
 
Old 06-07-2014, 07:54 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374

Original Poster
Blog Entries: 37

Rep: Reputation: Disabled
Emerson:
eth0 has only a public IP on 67.207.212.0/24

Somehow, the ReadyNAS is using IPv6 says the client.
I didn't do anything to cause that. He's impressed but I am confused, if that's true.

Thanks!

Last edited by Habitual; 06-07-2014 at 07:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RAID1: can't replace faulty spare (marked again as 'faulty spare' within seconds) Thambry Linux - General 2 11-14-2013 08:31 AM
Mounting Network Shares on a Netgear ReadyNas NV+ csiebert Linux Mint 9 12-03-2012 04:16 PM
Malformed rsync command on ReadyNAS jasonswett Linux - Networking 1 10-07-2010 09:09 AM
ReadyNAS Duo: Under what circumstances is a resync really needed? kcbrown Linux - General 1 02-26-2010 12:02 AM
How to mount my ReadyNAS (without the expert vocabulary) medimus Linux - Newbie 17 12-19-2009 05:41 PM

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

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