[HELP] Raspberry pi 3 with static ip dont work

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
moyajunior
Posts: 3
Joined: Sat Feb 08, 2020 10:39 pm

[HELP] Raspberry pi 3 with static ip dont work

Post by moyajunior » Sat Feb 08, 2020 11:08 pm

Hello guys, I'm having a problem when setting a static ip on the raspberry pi 3. I closed the vpn using the softether openvpn simulator. However the commands that I enter do not resolve to set the raspberry's ip address. I did the following:
/etc/dhcpcd.conf
eth0 interface
static ip_address = 192.168.30.10
it didn't work, so I tried:
/etc/dhcpcd.conf
tun0 interface
static ip_address = 192.168.30.10
and it also didn't work.
I would like your help to solve this problem.
The raspberry interface appears as follows:

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 192.168.30.105 netmask 255.255.255.255 destination 192.168.30.106
inet6 fe80::499a:9fc8:2719:4897 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (Não Especificado)
RX packets 373 bytes 38993 (38.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9 bytes 432 (432.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


Thanks.

Post Reply