<p>Yes, you can have LDK announce your node with several network addresses.</p>
<p>Node announcements are broadcast by calling <a href="https://docs.rs/lightning/latest/lightning/ln/peer_handler/struct.PeerManager.html#method.broadcast_node_announcement" rel="nofollow noreferrer"><code>PeerManager::broadcast_node_announcement</code></a>, which simply takes an <code>addresses: Vec&lt;NetAddress&gt;</code>, allowing to announce multiple addresses.</p>
<p>The given <a href="https://docs.rs/lightning/latest/lightning/ln/msgs/enum.NetAddress.html" rel="nofollow noreferrer"><code>NetAddress</code></a> might be an IPv4/IPv6 address, a hostname, or an onion service (V3) address.</p>

CC BY-SA 4.0
2023-06-12T11:40:20.597Z
2023-06-12T11:40:20.597Z
tnull
<p>I'd like to be able to accept inbound connections on multiple addresses.</p>

CC BY-SA 4.0
2023-03-11T16:41:00.400Z
Could you give us more information about what you want to do ?
Saxtheowl
<lightning-development-kit>
Is it possible to have LDK announce multiple IPv4 addresses?
Conor
# Is it possible to have LDK announce multiple IPv4 addresses?

(Asked by: username_0 on 2023-03-10)

I'd like to be able to accept inbound connections on multiple addresses.

**Tags:** lightning-development-kit

> **Comments:**
> **username_1**: Could you give us more information about what you want to do ?  

---

## 1 answers

### Answer by username_2 on 2023-06-12. Score: 0

Yes, you can have LDK announce your node with several network addresses.

Node announcements are broadcast by calling [`PeerManager::broadcast_node_announcement`](https://docs.rs/lightning/latest/lightning/ln/peer_handler/struct.PeerManager.html#method.broadcast_node_announcement), which simply takes an `addresses: Vec`, allowing to announce multiple addresses.

The given [`NetAddress`](https://docs.rs/lightning/latest/lightning/ln/msgs/enum.NetAddress.html) might be an IPv4/IPv6 address, a hostname, or an onion service (V3) address.


---

