Changing IP address in Redpitaya
Posted: Wed Oct 26, 2016 5:01 am
Hello!
I've been trying to change the IP address of the Redpitaya from dynamic to a static one. I've modified the wired.network file on the etc/systemd/network directory. I'm using Putty to do this.
[Match]
Name=eth0
[Network]
LinkLocalAddressing=yes
DHCP=yes
IPForward=yes
IPMasquerade=yes
[Address]
---------------------------------------------------------------------------------------
To change it I just added a line with the new IP address and gateway
[Match]
Name=eth0
[Network]
Address=192.168.0.9
Gateway=192.168.0.1
LinkLocalAddressing=yes
DHCP=yes
IPForward=yes
IPMasquerade=yes
[Address]
Do I need to comment out any of the other lines in order for this to work? When I do that, I lose all communication with the board (Web interface,Ethernet & usb) and I need to go back to the original settings in order to establish communication again.
I've also used the Network manager app in order to change the IP to static but it doesn't seem to work either.
Perhaps I am doing something wrong that I'm not aware of. Any help will be appreciated.
Thanks,
David
I've been trying to change the IP address of the Redpitaya from dynamic to a static one. I've modified the wired.network file on the etc/systemd/network directory. I'm using Putty to do this.
[Match]
Name=eth0
[Network]
LinkLocalAddressing=yes
DHCP=yes
IPForward=yes
IPMasquerade=yes
[Address]
---------------------------------------------------------------------------------------
To change it I just added a line with the new IP address and gateway
[Match]
Name=eth0
[Network]
Address=192.168.0.9
Gateway=192.168.0.1
LinkLocalAddressing=yes
DHCP=yes
IPForward=yes
IPMasquerade=yes
[Address]
Do I need to comment out any of the other lines in order for this to work? When I do that, I lose all communication with the board (Web interface,Ethernet & usb) and I need to go back to the original settings in order to establish communication again.
I've also used the Network manager app in order to change the IP to static but it doesn't seem to work either.
Perhaps I am doing something wrong that I'm not aware of. Any help will be appreciated.
Thanks,
David