LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-29-2006, 12:19 PM   #1
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Rep: Reputation: 15
Network exists, eth0/route/something fails


Hey all,

I've managed to connect two computers via xover cable (client is Gentoo laptop, server is Mandrake 10.0 desktop).
The network works since the computers can ping each other, but when I try: mount x.x.0.2:/ /mnt/network
I get an error like RPC: no route to host
(or something to that effect, I don't have the exact message here right now)
Also, on the MDK server, during boot it fails to bring up eth0. Despite this, ifconfig shows eth0.

As far as the IP addresses, they should be set up properly...
gateway: x.x.0.1
server: x.x.0.2
client: x.x.0.3
broadcast: x.x.0.255
netmask: 255.255.255.0

I'm not sure what troubleshooting commands you'll need since I haven't done much networking before, so let me know what you need to help solve this problem.

Thanks in advance,

Steve

PS how do you get the ping command to not go forever? I keep having to ctrl+alt+f2 and kill it manually...
 
Old 06-29-2006, 12:57 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,986

Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
The c option allows for a fixed number of counts if not specified ping will operate until interrupted. Use ctrl-C to interrupt. See man pages for ping for
additional details.

Is NFS running on the server i.e. your MDK box?
Did you setup /etc/exports.
If the firewall is running does it allow NFS traffic.
 
Old 06-29-2006, 08:55 PM   #3
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks for the help with ping (why is it the man pages make so much more sense when I already know what they mean?)

As far as NFS running, ps axu shows 8 processes called [nfsd] running.
I did setup /etc/exports:
Code:
#
/ x.x.0.3(ro)
where x.x is obviously the values I'm using for the network. I intend to adjust it later so I'm not sharing the entire drive, but for I figured it's easier to do this until I get some kind of results.

iptables is running, and may very well be the problem. I haven't changed anything from the system default. I know I can find out how to add rules from the man pages, but last time I tried to adjust the iptables rules (for the purposes of ssh) I succeeded only in stopping everything from coming in. (Actually I think I was permitting requests from a non-existant address but you can imagine how useless that was).

How should I tell iptables to allow NFS?
 
Old 06-29-2006, 09:03 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,986

Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
Take a look at the howto.
http://www.tldp.org/HOWTO/NFS-HOWTO/...html#FIREWALLS
 
Old 06-30-2006, 11:53 AM   #5
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks a lot, I'll let you know how it works out
 
Old 07-10-2006, 01:06 PM   #6
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Ok, I've got things figured out now. Turns out my problem was even before configuring iptables. Apparantly I editted /etc/hosts.allow and /etc/hosts.deny wrong. I fixed it with the same howto:
http://www.tldp.org/HOWTO/NFS-HOWTO/server.html#HOSTS

I can now mount NFS. There is one problem left though. I need to know how to setup the default ip address for the Mandrake distro. I currently have to set it manually every time I boot.

Thanks,

Steve
 
  


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
if a route fails in a multipath route? eantoranz Linux - Networking 5 07-03-2005 02:03 PM
FC3 fails in bringing up or down interface eth0, network unreachable a_cmmn Linux - Networking 4 03-10-2005 04:10 PM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
route wlan0 to eth0 hwood7587 Linux - Networking 1 07-13-2003 06:47 PM


All times are GMT -5. The time now is 02:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration