none
How to ping the virtual gateway in a Ubuntu server virtual machine

    Question

  • Dear All,

    Using the standard images avalaible in Azure, I created a VM in Ubuntu end one in Suse.

    In both case, I cannot ping the (virutal) gateway. As mentionned by Microsoft, the firewall is disabled.

    Any suggestion?
    Thanks
    - Paolo

    Sunday, June 24, 2012 3:25 PM

Answers

  • Hi Paolo,

    Virtual networks are not currently supported for Linux VMs.

    Thanks,

    Craig

    Sunday, June 24, 2012 7:47 PM
  • Hi Paolo,

    To clarify - virtual network support for Linux is planned for the release timeframe of the Virtual Machines  feature but is not currently implemented in Preview.

    Thanks,

    Craig

    • Marked as answer by Tiger Li Wednesday, June 27, 2012 10:26 AM
    Tuesday, June 26, 2012 4:08 PM

All replies

  • Hi Paolo,

    Virtual networks are not currently supported for Linux VMs.

    Thanks,

    Craig

    Sunday, June 24, 2012 7:47 PM
  • Why would you need to ping the gateway? The network is there, you have internet connectivity (all outbound, and predefined in the Endpoints section, inbound ports). Frankly, I haven't seen a single network administrator to allow pings (ICMP protocol) in a large-scale load-balanced environment.

    I accept it as a security precaution and live with it.

    @Craig,

    I guess Paolo is just asking why we can't access via PING the default gateway wihch is configured on the VMs:

    [myuser@myLinuxVM ~]# route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    10.59.248.0     *               255.255.254.0   U     0      0        0 eth0
    link-local      *               255.255.0.0     U     1002   0        0 eth0
    default         10.59.248.1     0.0.0.0         UG    0      0        0 eth0

    [myuser@myLinuxVM ~]# ping 10.59.248.1
    PING 10.59.248.1 (10.59.248.1) 56(84) bytes of data.
    ^C
    --- 10.59.248.1 ping statistics ---
    13 packets transmitted, 0 received, 100% packet loss, time 12717ms

    Sunday, June 24, 2012 8:44 PM
  • Thanks Anton,

    you are right. I am just testing Azure in the easiest way: isolated, single virtual machine and I didn't understand why with Window server it is allowed the ping of the gateway and with Linux not.

    Thanks Craig,

    good to know (for future) that virtual networks are not allowed with Linux servers.

    Monday, June 25, 2012 6:46 PM
  • Hi Paolo,

    To clarify - virtual network support for Linux is planned for the release timeframe of the Virtual Machines  feature but is not currently implemented in Preview.

    Thanks,

    Craig

    • Marked as answer by Tiger Li Wednesday, June 27, 2012 10:26 AM
    Tuesday, June 26, 2012 4:08 PM