<p>First you will need to decide which machine will fund the channel. In the current implementation only one party can lock funds to a multi-sig address. Let's say the machine that will fund the channel is A and the other is B. Now open the c-lightning in the terminal on machine B and type <code>lightning-cli getinfo</code>. It will give you a bunch of information. Look for the <code>id</code> and <code>address</code>. Then open the c-lightning on your machine A's terminal and type  <code>lightning-cli connect id@address:9735</code>. Where <code>id</code> and <code>address</code> are the info that you got from the <code>getinfo</code> command on machine B.</p>

<p>After connection has been established, you can then open the channel using the command <code>lightning-cli fundchannel id satoshi [feerate] [announce]</code> on your machine A. Here <code>id</code> is the node id of the node with whom you want to open the channel and satoshi is the amount of bitcoins in satoshis that you want to use to fund the channel. If you want to keep your channel private you can set <code>announce</code> to false.</p>

<p>If you want to expose the node to the internet and use the internal IP addresses you can do so by adding <code>bind-addr=&lt;internal_IP&gt;</code> and <code>announce-addr=&lt;public_IP&gt;</code> in the config files. You can also pass these commands in the terminal when starting the lightningd daemon, but it is easier to do it in config file so that you don't have to do it everytime you start the daemon.</p>

CC BY-SA 4.0
2019-08-27T08:25:53.983Z
if I want to create my personal node? with a node id and an ip?
vincenzopalazzo
CC BY-SA 4.0
2019-08-27T10:52:36.120Z
@vincenzopalazzo what do you mean a personal node? A node that is not announced?
Ugam Kamat
CC BY-SA 4.0
2019-08-27T10:57:58.380Z
Yes, I want create an channel on my node
vincenzopalazzo
CC BY-SA 4.0
2019-08-27T11:01:11.887Z
@vincenzopalazzo Can you explain with more clarity as to exactly what you are trying to achieve? I'm trying to understand your issue better.
Ugam Kamat
CC BY-SA 4.0
2019-08-27T11:12:32.287Z
Mh yes, I want to create on the channel with node c-lightning X on my node c-lightning Y in the local network, my question is how to configure the node Y for accepting the command connect to node X
vincenzopalazzo
CC BY-SA 4.0
2019-08-27T11:29:10.563Z
@vincenzopalazzo I have updated my answer, let me know if you need anything else.
Ugam Kamat
CC BY-SA 4.0
2019-08-27T11:49:07.250Z
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/97929/discussion-between-vincenzopalazzo-and-ugam-kamat).
vincenzopalazzo
CC BY-SA 4.0
2019-08-27T05:37:10.680Z
2019-08-27T12:32:35.777Z
2019-08-27T12:32:35.777Z
Ugam Kamat
<p>I want to create my personal node to create a new channel with another personal node, an example my node with URL 12345678@192.164.1.7 I want create a channel with another personal node.</p>

<p>I could not found some reference for this problem, can you help me for creating my personal node?</p>

<p>I try to add and parameter to command line <code>--addr</code> but this I think is not enough, right?</p>

<lightning-network><core-lightning>
How create a personal node c-lighting for create a new channel with other node
vincenzopalazzo
# How create a personal node c-lighting for create a new channel with other node

(Asked by: username_0 on 2019-08-26)

I want to create my personal node to create a new channel with another personal node, an example my node with URL 12345678@192.164.1.7 I want create a channel with another personal node.

I could not found some reference for this problem, can you help me for creating my personal node?

I try to add and parameter to command line `--addr` but this I think is not enough, right?

**Tags:** lightning-network, core-lightning


---

## 1 answers

### Answer by username_1 on 2019-08-27. Score: 1 | Accepted answer

First you will need to decide which machine will fund the channel. In the current implementation only one party can lock funds to a multi-sig address. Let's say the machine that will fund the channel is A and the other is B. Now open the c-lightning in the terminal on machine B and type `lightning-cli getinfo`. It will give you a bunch of information. Look for the `id` and `address`. Then open the c-lightning on your machine A's terminal and type `lightning-cli connect id@address:9735`. Where `id` and `address` are the info that you got from the `getinfo` command on machine B.

After connection has been established, you can then open the channel using the command `lightning-cli fundchannel id satoshi [feerate] [announce]` on your machine A. Here `id` is the node id of the node with whom you want to open the channel and satoshi is the amount of bitcoins in satoshis that you want to use to fund the channel. If you want to keep your channel private you can set `announce` to false.

If you want to expose the node to the internet and use the internal IP addresses you can do so by adding `bind-addr=<internal_IP>` and `announce-addr=<public_IP>` in the config files. You can also pass these commands in the terminal when starting the lightningd daemon, but it is easier to do it in config file so that you don't have to do it everytime you start the daemon.

> **Comments:**
> **username_0**: if I want to create my personal node? with a node id and an ip?  
> **username_1**: @username_0 what do you mean a personal node? A node that is not announced?  
> **username_0**: Yes, I want create an channel on my node  
> **username_1**: @username_0 Can you explain with more clarity as to exactly what you are trying to achieve? I'm trying to understand your issue better.  
> **username_0**: Mh yes, I want to create on the channel with node c-lightning X on my node c-lightning Y in the local network, my question is how to configure the node Y for accepting the command connect to node X  
> **username_1**: @username_0 I have updated my answer, let me know if you need anything else.  
> **username_0**: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/97929/discussion-between-username_0-and-username_1).  

---

