Revision history [back]

click to hide/show revision 1
initial version

how to tftp through neutron VM => real machine

HI, all I want is to starts my VM using an already existing pxe server running well in my LAN.

the probleme is that all my tftp request made inside my VM to my server is ┬źNATED┬╗ by the router, and then all response is made to the router, who of cours reject the response.

my setup :

  • 10.0.1.2 . the VM who do : curl tftp://192.9.201.151/pxelinux.0
  • 192.9.201.151 . the server with a running tftp server (named devlinux.di).
  • 192.9.201.170 . the virtual router created via neutron.

my tests :

  • I can ssh into the VM
  • the VM can curl http://192.9.201.151/
  • the VM can ping 192.9.201.151.
  • all port on tcp/udp is allowed in the security group.

  • i can curl tftp://192.9.201.151/pxelinux.0 from another real PC in the network of 192.9.201.151

  • i can't curl tftp://192.9.201.151/pxelinux.0 from the VM.

syslog on 192.9.201.151 say :

Apr 7 14:43:42 devlinux in.tftpd[1614]: RRQ from 192.9.201.170 filename pxelinux.0

Apr 7 14:43:42 devlinux in.tftpd[1614]: tftpd: read: Connection refused

where I expected RRQ from 10.0.1.2

tcp dump on the vm say :

12:43:40.335400 IP 10.0.1.2.52030 > 192.9.201.151.tftp: 49 RRQ "pxelinux.0" octet tsize 0 blksize 512 timeout 6

tcpdump on the server say :

14:43:42.196493 IP 192.9.201.170.52030 > devlinux.di.tftp: 49 RRQ "pxelinux.0" octet tsize 0 blksize 512 timeout 6

so I think neutron or whatever is nating my upd request, and then tftpd-hpa is wrong on the real ip of the request...