LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-18-2009, 01:44 PM   #1
jelitegamer
Member
 
Registered: Mar 2004
Distribution: arch
Posts: 67

Rep: Reputation: 15
NAS unreachable from outside subnet when using 2 interfaces


I have a NAS set up that I need to work on 2 different subnets. It works perfectly when only connected on eth0 (i.e. reachable from all subnets) but when I bring up eth1 suddenly eth0 is only accessible from inside it's subnet. eth0 is not behind a router and gets an ip of x.x.108.x and eth1 is connected to a router (router ip: x.x.172.x) with an internal IP of 10.0.0.5. I have ssh smb and ftp on the NAS, none of which are accessible from outside the 108 or internal router subnet when both interfaces are up. The NAS is running ubuntu 9.10 with nothing major modified, just X killed and wpa_supplicant set to authenticate PEAP/MSCHAPv2 on eth0 on boot. The default route is x.x.108.1
 
Old 11-18-2009, 03:15 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by jelitegamer View Post
The NAS is running ubuntu 9.10 with nothing major modified
Do you know that ubuntu 9.10 appeared on October 26, 2009, less then month ago, and still buggy.

How did you configure NAS interfaces? Manually or through NM or WICD?
 
Old 11-18-2009, 03:24 PM   #3
jelitegamer
Member
 
Registered: Mar 2004
Distribution: arch
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nimnull22 View Post
Do you know that ubuntu 9.10 appeared on October 26, 2009, less then month ago, and still buggy.

How did you configure NAS interfaces? Manually or through NM or WICD?
IP settings are all done with dhclient and wpa_supplicant through the terminal. I had openfiler on it at first, which weirdly did the exact same thing (blocking outside subnet access) but didn't support HFS+ through the web interface (2 of the drives are HFS+) so I figured I'd just go for something with an up to date kernel and the ability to install packages from the terminal.
 
Old 11-18-2009, 03:36 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Excuse me, your NAS is in LAN, and all interfaces eth0 and eth1 connected to router, why do you use dhsp, why not to set up them manually and what is wpa_supplicant doing there?

Sorry, may be I've missed something.
 
Old 11-18-2009, 03:52 PM   #5
jelitegamer
Member
 
Registered: Mar 2004
Distribution: arch
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nimnull22 View Post
Excuse me, your NAS is in LAN, and all interfaces eth0 and eth1 connected to router, why do you use dhsp, why not to set up them manually and what is wpa_supplicant doing there?

Sorry, may be I've missed something.
eth1 is going to a router that is set up for DHCP (like most routers are), thus the need for dhclient. The router is connected to the external network on subnet 172.
eth0 is not going to the router, it's going to the outside network which requires 802.1x authentication (which wpa_supplicant does). I have the authentication set up and working, eth0 is on subnet 108.
 
  


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
Routing between internal interfaces on the same subnet kristrev Linux - Networking 4 03-18-2009 10:43 AM
Setup with 2 ethernet interfaces and 2 IP addresses in the same subnet of a class C ursusca Linux - Networking 3 12-25-2008 04:21 PM
Ftp unreachable on same subnet anon212 Linux - Networking 5 06-02-2006 01:31 AM
2 interfaces, same subnet, conflict. t3kn0lu5t Linux - Networking 5 02-28-2006 09:39 AM
Subnet changed = Network Unreachable scorchen Linux - Networking 3 09-18-2003 04:13 PM

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

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