NAS unreachable from outside subnet when using 2 interfaces
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.