Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing jumpbox IP #2

Open
indiana27 opened this issue Jan 16, 2018 · 1 comment
Open

Missing jumpbox IP #2

indiana27 opened this issue Jan 16, 2018 · 1 comment

Comments

@indiana27
Copy link

RE: Azure VNET-to-VNET Connection Lab

https://github.com/michaelsrichter/70534ExamPrep/tree/master/Labs/vnet-to-vnet

Item: •Let's find more info about jumpbox IP address so we can connect to it. Type az network public-ip show -g examprep101 -n jumpbox-ip -o table

The item above, does not return an IP address. I've tried restarting the cloud shell. Please advise.

brian@Azure:~/clouddrive$ az network public-ip show -g examprep101 -n jumpbox-ip -o table
Name ResourceGroup Location Zones AddressVersion AllocationMethod IdleTimeoutInMinutes ProvisioningState


jumpbox-ip examprep101 eastus IPv4 Dynamic 4 Succeeded

@thoaingan
Copy link

@indiana27: I ran my command without the "-o table" switch and it returns more information (JSON format), and this response has the IP address in it (example below). See if that works for you.

ngan_menegay@Azure:~/clouddrive$ az network public-ip show -g examprep101 -n jumpbox-ip
{
  "dnsSettings": null,
  "etag": "W/\"962c3de8-24db-464a-aebe-64ed3104ed53\"",
  "id": "/subscriptions/1b92b07d-95ba-49a9-b9e7-e47ab6d46b28/resourceGroups/examprep101/providers/Microsoft.Network/publicIPAddresses/jumpbox-ip",
  "idleTimeoutInMinutes": 4,
  "ipAddress": "40.121.209.135",
  "ipConfiguration": {
    "etag": null,
    "id": "/subscriptions/1b92b07d-95ba-49a9-b9e7-e47ab6d46b28/resourceGroups/examprep101/providers/Microsoft.Network/networkInterfaces/jumpboxnic/ipConfigurations/ipconfig1",
    "name": null,
    "privateIpAddress": null,
    "privateIpAllocationMethod": null,
    "provisioningState": null,
    "publicIpAddress": null,
    "resourceGroup": "examprep101",
    "subnet": null
  },
  "ipTags": [],
  "location": "eastus",
  "name": "jumpbox-ip",
  "provisioningState": "Succeeded",
  "publicIpAddressVersion": "IPv4",
  "publicIpAllocationMethod": "Dynamic",
  "resourceGroup": "examprep101",
  "resourceGuid": "ff356e0d-c58b-44a5-a8fd-51c34490271c",
  "sku": {
    "name": "Basic"
  },
  "tags": null,
  "type": "Microsoft.Network/publicIPAddresses",
  "zones": null
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants