This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
high availability for static eth0 only with systemd-networkd and systemd-resolved ?
#1
i want to configure my new TB:S with TinkerOSv2.1.16 only with systemd and it's subroutines like networkd, resolved and files like eth0.network and wlan0.network.
Systemd is working fine in startstop-scripts, timer intervalls, rapidly autorestarting failed daemons and saving boot time. How to realize a high-availability eth0 only with systemd ?

I need a high availability network connection and default ip route for eth0. This is the major priority. I want to use only systemd-networkd and systemd-resolved if possible.
A nice2have is a minor priority wlan0 connection via WPA2 (is wpa_supplicant needed or can it be purged, too) ?


What are the configurations i need to do to configure systemd to do the job?

Maybe wlan0 is not a good idea for a fallback network with static ip if eth0 link is broken?
How to configure that solution?
Reply
#2
hi SRKvK,

the last TinkerOS_Debian OS.. I used was.. V2.0.8 ;-]...

but then.. all I had to do to setup static IP..
nano /etc/network/interfaces
Code:
auto eth0
 iface eth0 inet static
   address 192.168.x.xxx
   netmask 255.255.255.0
   gateway 192.168.x.x
save & exit.... then reboot to test..


for what you are asking about.. it sounds like.. you need "Bonding"
"..how to "bond" two Ethernet connections together to create an auto failover interface. "

look @
Configuration - Example 2 ("Laptop-Mode")
"..Tie cable and wireless network interfaces (RJ45/WLAN) together to define a single, 
 virtual (i.e. bonding) network interface (e.g. bond0). "

notes.. How to configure network settings in Debian

maybe this will help...
notes.. SystemdNetworkd
look @ .. beyond the basics
setting up a bond between 2 network interfaces

---------------- ;-]..
hope it helps,
k,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)