LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-15-2004, 07:04 PM   #1
seanro
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
Assigning services to interfaces


This may be a stupid question, but...

On a system with more than one network interface, is there a way to specify which interface a particular service runs on?

I've got NFS turned on and it is advertising RPC services on both interfaces. Can this be configured to run on only one interface instead of glomming on to all available interfaces?

Thanks!
 
Old 03-16-2004, 05:52 AM   #2
moinefou
LQ Newbie
 
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27

Rep: Reputation: 15
I don't know any possibility directly in the NFS subsystem, but you can use IPTables to create this restriction.
 
Old 03-16-2004, 10:18 PM   #3
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Some services support a 'bind', 'interface' or 'listen' setting, and others do not. Unfortunately, rpc.nfsd or portmap do not allow these types of settings, so you'll have to do it with iptables as moinefou suggests.

For example, apache, openldap, mysql, sendmail, xinetd-based stuff, and bind all support this type of configuration.
 
  


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
Assigning IP via MAC OUI MS3FGX Linux - Networking 1 12-03-2005 04:40 PM
assigning permissions ziox Programming 1 01-10-2005 09:13 AM
assigning a process id linuxprogrammer Linux - Newbie 4 07-21-2004 01:31 PM
Assigning ip to network device Jestrik Linux - Networking 9 01-09-2004 03:11 PM
assigning static ip vcheah Linux - Networking 5 12-25-2001 06:41 PM


All times are GMT -5. The time now is 09:10 AM.

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