How to assign IP Addresses to devices

161 views
Skip to first unread message

Matt Bozeman

unread,
Oct 15, 2019, 12:26:43 PM10/15/19
to NetBox
I have all my devices, prefixes, vlans and IP addresses created. How do you assign the IP addresses to devices? Example how would I assign 12.85.35.2 to a device names virtualHost1? I see the space that said Primary IP when you go to a device, but it is a drop down menu that shows nothing. When I go to the IP address itself you can only assign an IP to a device by NAT IP (inside)

Brian Candler

unread,
Oct 15, 2019, 12:53:12 PM10/15/19
to NetBox
You create an interface on a device, and you assign the IP address to the interface.

Once you have at least one IPv4 address on a device interface, you can assign it as the device's primary IPv4 address (and ditto for IPv6).

Brian Candler

unread,
Oct 15, 2019, 12:56:27 PM10/15/19
to NetBox
Note: the same applies to VirtualMachines - an Interface can be on either a VirtualMachine or a Device.

When you create a VirtualMachine, it doesn't get any interface created automatically, so it's up to you to add one by hand.  #1492.
Reply all
Reply to author
Forward
0 new messages