Gentoo Archives: gentoo-server

From: Matthew Miller <mmiller1@××××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] TFTP dual purpose on dual interfaces?
Date: Wed, 25 Feb 2004 14:50:39
Message-Id: 3AE2645B00320B4C86E1EAF44B3A9B7632D9C6@exchange2000.ctgboise.com
1 I have a gentoo server happily serving tftp boot images to a number of
2 pxe thin-clients. We're running tftp-hpa. This server has two
3 interfaces, a 10.0.0.0 network and a 172.0.0.0 network. I'd like to
4 have tftp serving boot images on the 10.x network and receiving cisco
5 hardware configs for storage from the 172.x network. (It's not routing
6 between the networks, in case that matters.) I've included the in.tftp
7 file below. We've tried creating dual in.tftp files, with no luck.
8
9 Any suggestions or pointers will be greatly appreciated.
10
11 > # Config file for /etc/init.d/in.tftpd
12 > # Remove the -l if you use [x]inetd
13 >
14 > #INTFTPD_PATH="/"
15 > #INTFTPD_OPTS="-l ${INTFTPD_PATH}"
16 > INTFTPD_INTFACE="10.1.1.241"
17 > INTFTPD_PATH="/var/tftp"
18 > INTFTPD_USER="nobody"
19 > INTFTPD_OPTS="-u ${INTFTPD_USER} -l -a ${INTFTPD_INTFACE} -vvvvvv -p
20 -s (INTFTPD_PATH}"
21 > # end