Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
IP Address Not Allocated To Instance by DHCP
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Instance fails to receive IP address from the DHCP server after a reboot.
- Packet capture on the tap device of the instance and the bond0 interface shows the Broadcast Request is leaving the tap device but no packets are seen on the bond0 interface.
$ sudo tcpdump -nnei tapf6715be8-f9tcpdump: verbose output suppressed, use -v or -vv for full protocol decodelistening on tapf6715be8-f9, link-type EN10MB (Ethernet), capture size 262144 bytesfa:16:3e:24:98:2b > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fa:16:3e:24:98:2b, length 300fa:16:3e:24:98:2b > 33:33:00:01:00:02, ethertype IPv6 (0x86dd), length 157: fe80::ec0c:f912:fd0a:e575.546 > ff02::1:2.547: dhcp6 solicitfa:16:3e:24:98:2b > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fa:16:3e:24:98:2b, length 300- Packet capture on bond0 interface.
xxxxxxxxxx$ sudo tcpdump -nnei bond0 ether host fa:16:3e:24:98:2btcpdump: verbose output suppressed, use -v or -vv for full protocol decodelistening on bond0, link-type EN10MB (Ethernet), capture size 262144 bytesEnvironment
- Platform9 Managed OpenStack - v3.6.0 and Higher
Cause
There is no physical interface connected to the Bridge br-vlan.
xxxxxxxxxx$ sudo ovs-vsctl show2ddf08e3-0a83-4ab7-ba2d-fa91b9bdaa64 Manager "ptcp:6640:127.0.0.1" is_connected: true Bridge br-vlan Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port br-vlan Interface br-vlan type: internal Port phy-br-vlan Interface phy-br-vlan type: patch options: {peer=int-br-vlan}Resolution
- Add the interface (bond 0) to the bridge (br-vlan).
xxxxxxxxxx$ sudo ovs-vsctl add-port br-vlan bond0- After adding the interface, force the instance to renew the IP address from DHCP.
xxxxxxxxxx$ ipconfig /renew- Following is the packet capture of the instance on the tap device and we can see that the DORA process for DHCP completed successfully.
$ sudo tcpdump -nnei tapf6715be8-f9tcpdump: verbose output suppressed, use -v or -vv for full protocol decodelistening on tapf6715be8-f9, link-type EN10MB (Ethernet), capture size 262144 bytes 02:26:38.049123 fa:16:3e:24:98:2b > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fa:16:3e:24:98:2b, length 300fa:16:3e:4e:b7:41 > fa:16:3e:24:98:2b, ethertype IPv4 (0x0800), length 391: 172.16.232.1.67 > 172.16.232.28.68: BOOTP/DHCP, Reply, length 349fa:16:3e:0d:c2:71 > fa:16:3e:24:98:2b, ethertype IPv4 (0x0800), length 391: 172.16.232.0.67 > 172.16.232.28.68: BOOTP/DHCP, Reply, length 349fa:16:3e:8c:f5:01 > fa:16:3e:24:98:2b, ethertype IPv4 (0x0800), length 391: 172.16.232.2.67 > 172.16.232.28.68: BOOTP/DHCP, Reply, length 349fa:16:3e:24:98:2b > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 369: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from fa:16:3e:24:98:2b, length 327fa:16:3e:0d:c2:71 > fa:16:3e:24:98:2b, ethertype IPv4 (0x0800), length 465: 172.16.232.0.67 > 172.16.232.28.68: BOOTP/DHCP, Reply, length 423VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message