Is it possible to connect to the Fog server remotely?
-
@sebastian-roth hi thx for your reply.
the support on this forum is incredible.I’ve done a ping with 1300 packet size -> No problem
1500 packet size -> Packet need to be fragmented but DF set.I’ll search on my Meraki security appliance to increase the packet size.
Does this have some consequences for my network performance? -
@george1421 thx for your reply.
the support on this forum is incredible.I’ve done a ping with 1300 packet size -> No problem
1500 packet size -> Packet need to be fragmented but DF set.I’ll search on my Meraki security appliance to increase the packet size.
Does this have some consequences for my network performance? -
@pjb1983 Try the same test with a packet size of 1461
If we find that the MTU is 1400 we can set the tftp block size just a bit smaller so the packets don’t fragment.
What host OS is your FOG server using?
-
This post is deleted! -
@george1421 the max MTU size is 1404.
I’ve installed the FOG server on a Linux Ubuntu. -
@george1421 said in Is it possible to connect to the Fog server remotely?:
If we find that the MTU is 1400 we can set the tftp block size just a bit smaller so the packets don’t fragment.
That would get you past the TFTP part but it would fail downloading the kernel and init over HTTP then I suppose.
-
-
@sebastian-roth thx for your reply, but i doesn’t have a CLI on the Meraki Firewall. I have to contact support i guess.
-
@sebastian-roth I think our only option is to handle this on the tftp server size. I think the issue is packet fragmentation over UDP. I think we can set a maximum block size for the tftp server. What we need to do is set it at -64b from the MTU. I did find an example of it here: https://askubuntu.com/questions/644031/tftpd-hpa-how-can-i-set-blksize-option but I don’t know if ubuntu uses xinetd or something else.
@pjb1983 What version number of ubuntu? 20.04?
-
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04 -
@pjb1983 So following the link I provided did you try to reduce the maximum packet size to something below 1400 (the mtu)? Something like 1385 would be a start.
-
@george1421 i’ve changed the block size and rebooted the device.
But that did not solve the problem.
If i ask meraki support to increase the MTU for the site-to-site VPN, will that solve it? -
@george1421 the answer from Meraki Support:
The two sites are using MTU 1432 size due to protocol overhead. This is the recommended value. The best option here is to adjust the MTU of the PXE. Increasing the MTU would result in an MTU greater than 1500 which may lead to fragmentation. Also, Meraki does not support Jumbo size MTU. Should you require further assistance, please do not hesitate to reach out to us asap.
-
@pjb1983 I could have almost predicted that. Changing the VPN MTU is not really an option.
So you updated the max size from the tftp server. Lets see what the tftp server is telling the target computer.
Lets use this tutorial but for the port capture just use
port 69
https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue
With the reduced max block size the tftp server should report the size you set in the configuration. You can review the pcap with wireshark.
-
@PJB1983 Just so we get the full picture… So you have another router or layer-3 switch between the PXE booting host and the VPN gateway?
In the best case the two communication partners should adjust MTU/packet size according to response from intermediate gateways and we might find out why this isn’t working properly by looking at the packet dump.
When capturing the traffic please use the filter
port 69 or icmp
so we get that part as well. Would be great if you could upload the PCAP and post a link here or via private message to George and me. -
@george1421 then i’ll get
18:47:45.022319 IP 192.168.5.121.2070 > 95.0.0.85.69: 30 RRQ “undionly.kpxe” octet tsize 0
18:47:45.061293 IP 192.168.5.121.2071 > 95.0.0.85.69: 35 RRQ “undionly.kpxe” octet blksize 1456 -
@sebastian-roth can you see something in the file attached?
-
@pjb1983 said in Is it possible to connect to the Fog server remotely?:
octet blksize 1456
This is the problem. We need a value less than 1400. I have a ubuntu 20.04 fog server in my home lab. I’ll work with it tonight to see if I can get that block size below 1400. I know we’ve seen this issue before, because the first thing that came to my mind was network MTU.
-
@george1421 THX!
-
@pjb1983 said in Is it possible to connect to the Fog server remotely?:
octet blksize 1456
This is a TFTP thing. Nothing to do with MTU really.
In that PCAP we only see the request packts. Where did you capture those? Can you capture right on your FOG server so we see the reuqests coming in and answers going out? As well we might see ICMP packets from the gateway in case.
If you capture on the gateway you might need to use a different filter as TFTP uses random high ports for the actual data channel. You might use the filter
host x.x.x.x and udp or icmp
and put in the FOG server IP.