# Switching Network

In this step you need to switch the default network (mainnet) to testnet. If your algorand already in testnet network, you just skip all of this step and go to next step (Fast Sync).

#### Stop the algorand service

{% code overflow="wrap" %}

```bash
sudo systemctl stop algorand
```

{% endcode %}

#### Go to directory

{% code overflow="wrap" %}

```bash
cd /var/lib/algorand/genesis/testnet
```

{% endcode %}

#### Copy the testnet genesis

{% code overflow="wrap" %}

```bash
sudo cp genesis.json /var/lib/algorand/
```

{% endcode %}

## Start Node

Start the node to make sure you're already switched in testnet.

{% code overflow="wrap" %}

```bash
sudo systemctl start algorand
```

{% endcode %}

Check your node after start the service.

{% code overflow="wrap" %}

```bash
goal node status -d /var/lib/algorand
```

{% endcode %}

Here is the result if you're already set up to testnet.

<figure><img src="https://3513762394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHnfaXqsjt2Q8hoDykMmk%2Fuploads%2F4PnrEa0rNvNGjfNzzaBs%2Fimage_2023-04-07_173639702.png?alt=media&#x26;token=9b7f726a-f8c4-43f0-9864-fb261865faf6" alt=""><figcaption></figcaption></figure>
