fixed ip setting

This commit is contained in:
Bian Zekun 2020-07-31 09:47:53 +08:00
parent 0779820afa
commit 23c4e9cd2f
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ And add the following 4 lines at the end:
```
auto enx000ec6612921
iface enx000ec6612921 inet static
address 192.168.123.161
address 192.168.123.162
netmask 255.255.255.0
```
Where the port name have to change to your own.

View File

@ -4,5 +4,5 @@ sudo ifconfig lo multicast
sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev lo
sudo ifconfig enx000ec6612921 down
sudo ifconfig enx000ec6612921 up 192.168.123.161 netmask 255.255.255.0
sudo ifconfig enx000ec6612921 up 192.168.123.162 netmask 255.255.255.0