This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Strange NAT Problem

Hi,

i have a strange Problem with my ASG Again. I'm running ASG 8.300 als ESXi 5 VM. I have the following issue:

I'm running a Minecraft Server on a Debian VM on my ESXi-Host. There is a virtual Network that bridges all VM's, internal ASG Nic and physical Network. ASG has a second Nic for WAN. I have a NAT Rule that routes Port 25565 TCP/UDP to the Minecraft Server. The problem i have is, that external connections to the minecraft server are very instable and disconnect to after 2-3 minutes. First I tought the is a problem with the MC-Server or a bandwidth problem. After some testing I found out it must be a problem with ASG.

I started a Server on my Desktop PC and changed the NAT on it and everything works fine (stable connection, fast, etc.). So the route:

Internet -> ASG -> Desktop PC works fine

But

Internet -> ASG -> Debian Guest does not work fine.

A frind of mine runs a very similar setup, but on his setup the ASG works as Gateway behind an FritzBox. I tried to host an server to (to help me solving this problem) and we found out that it works fine when I connect over the route:

Internet -> FritzBox -> Debian Guest

But it does not work (same problems like mine above)

Internet -> FritzBox -> ASG -> Debian Guest

My last thougth was it could be an problem with the MTU, I tried to change it but I can't see any improvements.

Do you have any ideas?


This thread was automatically locked due to age.
Parents
  • Hi ats1000,

    you are really lucky today! I'm playing arround with ESXi this moment and landed in this (realy old) thread of me and saw your answer ;D.

    Yeah I  have found the solution for the problem but had no time to realy write an answer here, or to blog about it.

    The problem is related to the network technology of ESXi. The vSwitch allows it to transfer bigger packages then a phyical network can. To do that both Clients of the communication have to enable this feature in their nic settings.

    This works fine with the most VM's but not with ASG. The network settings of ASG says ESXi it CAN receive this large packages, but when they arrive it can not handle them. So the solution is to change the settings of the internal ASG Nic, so that it do not longer receive them. After that fix every thing worked fine for me!

    To diable the large packages you need to login to the shell of astaro and then edit the file /etc/modprobe.conf

    in the first block of the configuration find the line
    "install eth0       /bin/true"
    for your internal nic (mine is eth0)
    and then add this direct behind it (in the next two lines)
    alias eth0 vmxnet
    options vmxnet disable_lro=1

    That should solve your problem!

    Hope that helpd you!
Reply
  • Hi ats1000,

    you are really lucky today! I'm playing arround with ESXi this moment and landed in this (realy old) thread of me and saw your answer ;D.

    Yeah I  have found the solution for the problem but had no time to realy write an answer here, or to blog about it.

    The problem is related to the network technology of ESXi. The vSwitch allows it to transfer bigger packages then a phyical network can. To do that both Clients of the communication have to enable this feature in their nic settings.

    This works fine with the most VM's but not with ASG. The network settings of ASG says ESXi it CAN receive this large packages, but when they arrive it can not handle them. So the solution is to change the settings of the internal ASG Nic, so that it do not longer receive them. After that fix every thing worked fine for me!

    To diable the large packages you need to login to the shell of astaro and then edit the file /etc/modprobe.conf

    in the first block of the configuration find the line
    "install eth0       /bin/true"
    for your internal nic (mine is eth0)
    and then add this direct behind it (in the next two lines)
    alias eth0 vmxnet
    options vmxnet disable_lro=1

    That should solve your problem!

    Hope that helpd you!
Children
  • Hi ats1000,

    you are really lucky today! I'm playing arround with ESXi this moment and landed in this (realy old) thread of me and saw your answer ;D.

    Yeah I  have found the solution for the problem but had no time to realy write an answer here, or to blog about it.

    The problem is related to the network technology of ESXi. The vSwitch allows it to transfer bigger packages then a phyical network can. To do that both Clients of the communication have to enable this feature in their nic settings.

    This works fine with the most VM's but not with ASG. The network settings of ASG says ESXi it CAN receive this large packages, but when they arrive it can not handle them. So the solution is to change the settings of the internal ASG Nic, so that it do not longer receive them. After that fix every thing worked fine for me!

    To diable the large packages you need to login to the shell of astaro and then edit the file /etc/modprobe.conf

    in the first block of the configuration find the line
    "install eth0       /bin/true"
    for your internal nic (mine is eth0)
    and then add this direct behind it (in the next two lines)
    alias eth0 vmxnet
    options vmxnet disable_lro=1

    That should solve your problem!

    Hope that helpd you!


    That's interesting.  Well, between both of our solutions, hopefully someone will find something useful here.  If it stops working for me I will give that a try.  Thanks for replying.