Please, I have problem with creating bridge from eth0 to eth1.
sudo apt-get install bridge-utils sudo brctl addbr br0 sudo brctl addif br0 eth0 eth1
This has 2 problems. It will help me out just until I reboot Pi. The second is that I will get crazy ip address on eth1.
But I need the bridge configure automatically when boot up.
Next problem is that I can't modify my /etc/network/interfaces -> when I do it, it works just until reboot. Then I can't connect to the internet and it will show me:
connection to dhcpcd lost
My /etc/network/interfaces looks like:
# interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d
I set up static ip address and so my /etc/dhcpcd.conf look like:
#static IP configuration interface eth0 static ip_address=192.168.0.106 static routers=192.168.0.1 static domain_name_servers=220.127.116.11
I don't know what to do or like where should I put something I used to put in /etc/network/interfaces