dnsmasq TFTP,GNU / Linux工作站,DHCP没有响应

我试图从我的工作站上获得TFTP服务器的工作。 我实际上已经多次尝试过,没有成功。 我已经从路由器设置了真正的tftp,但我的家庭路由器没有接近思科。 我不得不从我的工作站做到这一点,正如所料,无法让dnsmasq继续使用dhcping

这是我的计划,TFTP一些固件到我的新路由器…取代非常有限的家庭路由器。 上传只能从TFTP上下载,相信我正在寻找任何可能的select。 我无法通过串行ZMODEM,并且焊接JTAG将比这个计划更加困难。 实际上我并不需要真正从TFTP服务器接口工作的互联网,只需要固件可以访问。

eth0,连接到家庭路由器:

 inet addr:192.168.15.109 Bcast:192.168.15.255 Mask:255.255.255.0 

eth1,TFTP服务器,应该是静态的? 我确定我做错了…:

 inet addr:192.168.15.10 Bcast:192.168.15.255 Mask:255.255.255.0 

dnsmasq.conf

 server=192.168.15.10 interface=eth1 dhcp-range=192.168.15.11,192.168.15.20,12h enable-tftp tftp-root=/var/tftp 

路线

 Destination Gateway Genmask Flags Metric Ref Use Iface default ZillaNet 0.0.0.0 UG 100 0 0 eth0 link-local * 255.255.0.0 U 1000 0 0 eth0 192.168.15.0 * 255.255.255.0 U 0 0 0 eth0 192.168.15.0 * 255.255.255.0 U 0 0 0 eth1 

我是否需要创build某种types的路线? 我该怎么做才能做到这一点?

OMG我终于搞定了。 我按照这个页面上的说明!

基本上我的networkingconfiguration不正确,另外还通过iptables阻止了stream量。

 auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.16.1 netmask 255.255.255.0 network 192.168.16.0 broadcast 192.168.16.255 

我不需要创build手动路由,因为我没有使用Internet。