LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   tftpd, xfs, dhcpd, xdm on eth1?? (https://www.linuxquestions.org/questions/linux-networking-3/tftpd-xfs-dhcpd-xdm-on-eth1-50080/)

TieN 03-16-2003 08:54 AM

tftpd, xfs, dhcpd, xdm on eth1??
 
Hi all i have a small question that "grepping the net" hasn't solved.

Ok to start dhcpd you can add a command line argument for the interface: dhcpd eth1 . My question is how do I force xdm, xfs (font server) and tftpd(inetd) to only start on the eth1 interface.

The reason that i must do this is because the (wanna be) I.T. manager from my old company is being unreasonable about me testing my thinclient x3270 solution that I have developed (better than his win3.11 terminals!) for my uni dissertation. Surely (diskless) ram disk thinclients are easier to administer than win 3.11??

Basically he says he is worried about ISC's dhcp server and he won't trust me, so i need my own subnet off the eth1 interface to host the thin clients.

All help is greatly appreciated.
(P.S. check out diet-pc at sourceforge:D )

Blindsight 03-16-2003 10:36 AM

binding to single interfaces
 
Starting services on one interface is done through the configuration file for the service. Most services use "Listen 0.0.0.0" by default. Change the 0.0.0.0 to the IP address of your eth1 interface.

Happy Hacking.

TieN 03-19-2003 10:06 AM

Thanks for the reply, i have found reference to the LISTEN parameter on the web, however I'm not sure that XFS and inetd can do this, from posts I have read it is suggested that inetd should be swapped for xinetd as there are many more options available and may allow for binding to a single interface.

It is also suggeted that inetd should run on both interfaces, from my findings, however I found that this was not the case and tftpd still only worked on the eth0 interface.

I will report any further findings after the weekend, as I need to go home for some home cooking and to write my dissertation.

Blindsight 03-19-2003 01:46 PM

mmm
 
mmm, home cooking. Haven't had that in a while myself (and probably won't for a while more *points to cnn.com*)

anyway.. Some services can be configured to run in "stand alone" mode. If you don't like the way inetd handles your services, enable the service to run in stand alone mode so you can configure it for your effective use.

I don't have a linux system readily available, else I could take some time to look into this specifically for you, but this should give you some ideas of where to look.

And, try xinetd. I've never used it, but if others suggest it, go for it.

Take care. The world's a dangerous place right now. Even in the US.


All times are GMT -5. The time now is 06:13 AM.