From: robin_listas@es.invalid   
      
   On 02/08/2021 02.44, Carlos E. R. wrote:   
   > On 02/08/2021 02.04, Sidney_Kotic wrote:   
   >> I'm trying to set up a small network of computers. 2 are running 15.3   
   >> and 1 is at 15.1 (yes, it's obsolete just like me).   
   >>   
   >> All of the computers are working with dynamic IP's via WiFi on wlan0.   
   >> What I want to add is a network of static IP's via eth0 and a small switch.   
   >>   
   >> If I change the configuration, via yast, to bring up the eth0 device it   
   >> shuts down the wlan0 (even though both are defined).   
   >   
   > Are you sure the wlan device is switched off? Normally they are both on,   
   > just that the eth0 device gets preference because of a shorter path - if   
   > they are on the same lan. If they are on different lans, the routing   
   > rules decide which one is used for each destination.   
      
   Example (sorry for the line wrap):   
      
   Legolas:~ # ifconfig   
   eth0: flags=4163 mtu 1500   
    inet 192.168.1.127 netmask 255.255.255.0 broadcast 192.168.1.255   
    inet6 fe80::f8a0:12a3:7a65:18ab prefixlen 64 scopeid 0x20   
    ether 1c:83:41:1b:d8:33 txqueuelen 1000 (Ethernet)   
    RX packets 35556277 bytes 50832961148 (47.3 GiB)   
    RX errors 0 dropped 1 overruns 0 frame 0   
    TX packets 7595205 bytes 534799628 (510.0 MiB)   
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0   
      
   lo: flags=73 mtu 65536   
    inet 127.0.0.1 netmask 255.0.0.0   
    inet6 ::1 prefixlen 128 scopeid 0x10   
    loop txqueuelen 1000 (Local Loopback)   
    RX packets 1228 bytes 120671 (117.8 KiB)   
    RX errors 0 dropped 0 overruns 0 frame 0   
    TX packets 1228 bytes 120671 (117.8 KiB)   
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0   
      
   wlan1: flags=4163 mtu 1500   
    inet 192.168.1.6 netmask 255.255.255.0 broadcast 192.168.1.255   
    inet6 fe80::aa28:a4be:a123:aed9 prefixlen 64 scopeid 0x20   
    ether a0:d3:7a:a5:1d:4c txqueuelen 1000 (Ethernet)   
    RX packets 728222 bytes 1083459059 (1.0 GiB)   
    RX errors 0 dropped 0 overruns 0 frame 0   
    TX packets 227080 bytes 21781259 (20.7 MiB)   
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0   
      
   Legolas:~ #   
      
      
   As you can see, both eth0 and wlan0 are configured and active.   
      
      
   Legolas:~ # route -n   
   Kernel IP routing table   
   Destination Gateway Genmask Flags Metric Ref Use   
   Iface   
   0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth0   
   0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0   
   wlan1   
   192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0   
   192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0   
   wlan1   
   Legolas:~ #   
      
      
   And as you can see, both routing entries are active and "default". The   
   difference is in the metric.   
      
   And it works.   
      
   --   
   Cheers,   
    Carlos E.R.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)