Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"We can't schedule an orgy, it might be construed as fighting" -- Stanley Sutton


computers / alt.os.linux.suse / Re: Dualhomed hosts.

SubjectAuthor
* Dualhomed hosts.Sidney_Kotic
+* Re: Dualhomed hosts.Carlos E. R.
|+* Re: Dualhomed hosts.William Unruh
||+- Re: Dualhomed hosts.Carlos E. R.
||`- Re: Dualhomed hosts.Sidney_Kotic
|`- Re: Dualhomed hosts.Carlos E. R.
+- Re: Dualhomed hosts.Andrew
`- Re: Dualhomed hosts.grinch

1
Dualhomed hosts.

<se7cqo$1ccu$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=229&group=alt.os.linux.suse#229

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!aioe.org!kLvrZrZfyHXjnygC6xRGCA.user.46.165.242.91.POSTED!not-for-mail
From: kan...@have.it (Sidney_Kotic)
Newsgroups: alt.os.linux.suse
Subject: Dualhomed hosts.
Date: Sun, 1 Aug 2021 16:04:39 -0800
Organization: Aioe.org NNTP Server
Message-ID: <se7cqo$1ccu$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="45470"; posting-host="kLvrZrZfyHXjnygC6xRGCA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.7.0
X-Notice: Filtered by postfilter v. 0.9.2
X-Mozilla-News-Host: news://news.aioe.org:119
Content-Language: en-US
 by: Sidney_Kotic - Mon, 2 Aug 2021 00:04 UTC

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).

Seems like I can get either one or the other, but not both.

Is there a place where I can look to see how this should be configured?

20 years ago I used to run a smallish network like this at work...servers had
their own network via a switch and another card (no WiFi, not secure enough for
the environment, we used fiber) to the network where all the desktop machines
lived. Even before that I had a BSD machine with 2 NIC's in it at home.

Re: Dualhomed hosts.

<0orjthxddm.ln2@minas-tirith.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=230&group=alt.os.linux.suse#230

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Mon, 2 Aug 2021 02:44:16 +0200
Lines: 19
Message-ID: <0orjthxddm.ln2@minas-tirith.valinor>
References: <se7cqo$1ccu$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net m2TIrw9232++2E23nGWuggeaAfZueuZGDWlGs3CK4lnRRnRkiy
X-Orig-Path: minas-tirith.valinor!not-for-mail
Cancel-Lock: sha1:Hn1CUxXh06eo2+gDH65v894FJnM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <se7cqo$1ccu$1@gioia.aioe.org>
Content-Language: en-GB
 by: Carlos E. R. - Mon, 2 Aug 2021 00:44 UTC

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.

--
Cheers,
Carlos E.R.

Re: Dualhomed hosts.

<se7g88$9bq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=231&group=alt.os.linux.suse#231

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Mon, 2 Aug 2021 01:03:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <se7g88$9bq$1@dont-email.me>
References: <se7cqo$1ccu$1@gioia.aioe.org>
<0orjthxddm.ln2@minas-tirith.valinor>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 Aug 2021 01:03:05 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6669544dde06baeda06ad6948fda2f08";
logging-data="9594"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eZduuYZq3jDuXOF39m0FX"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:fhoqI3+dZibf2Who0cH1eUbi9ys=
 by: William Unruh - Mon, 2 Aug 2021 01:03 UTC

On 2021-08-02, Carlos E. R. <robin_listas@es.invalid> 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.

Yes, I would say, look at the routing table to see where it thinks
things should be sent to. I suspect that when you brought up eth0, the
system assigned it as the route for all packets. Thus wlan0 is up, but
nothing is being sent to it.

Remember that the routing table sends packets on the most specific route
that encompasses the address you are sending to, and if two routes are
equally specific, then the latest one that brought up.

route -n
or
ip route

Show us the output of those commands after you bring up eth0 and you
think wlan0 is shut down.

>
>

Re: Dualhomed hosts.

<1dujthxhgn.ln2@minas-tirith.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=232&group=alt.os.linux.suse#232

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Mon, 2 Aug 2021 03:29:37 +0200
Lines: 31
Message-ID: <1dujthxhgn.ln2@minas-tirith.valinor>
References: <se7cqo$1ccu$1@gioia.aioe.org>
<0orjthxddm.ln2@minas-tirith.valinor> <se7g88$9bq$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net p14f/RkLUlQej4+TnqVfvw/DxzQWfLGAEZeh1kvSSDNZDqsG05
X-Orig-Path: minas-tirith.valinor!not-for-mail
Cancel-Lock: sha1:SaeMbtgLu8M+J0xK5h0y6EcxixI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <se7g88$9bq$1@dont-email.me>
Content-Language: en-GB
 by: Carlos E. R. - Mon, 2 Aug 2021 01:29 UTC

On 02/08/2021 03.03, William Unruh wrote:
> On 2021-08-02, Carlos E. R. <robin_listas@es.invalid> 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.
>
> Yes, I would say, look at the routing table to see where it thinks
> things should be sent to. I suspect that when you brought up eth0, the
> system assigned it as the route for all packets. Thus wlan0 is up, but
> nothing is being sent to it.
>
> Remember that the routing table sends packets on the most specific route
> that encompasses the address you are sending to, and if two routes are
> equally specific, then the latest one that brought up.

The one with smaller metric.

--
Cheers,
Carlos E.R.

Re: Dualhomed hosts.

<se7kmb$1nri$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=233&group=alt.os.linux.suse#233

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!aioe.org!kLvrZrZfyHXjnygC6xRGCA.user.46.165.242.91.POSTED!not-for-mail
From: kan...@have.it (Sidney_Kotic)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Sun, 1 Aug 2021 18:18:50 -0800
Organization: Aioe.org NNTP Server
Message-ID: <se7kmb$1nri$1@gioia.aioe.org>
References: <se7cqo$1ccu$1@gioia.aioe.org>
<0orjthxddm.ln2@minas-tirith.valinor> <se7g88$9bq$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="57202"; posting-host="kLvrZrZfyHXjnygC6xRGCA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.7.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Sidney_Kotic - Mon, 2 Aug 2021 02:18 UTC

On 8/1/21 5:03 PM, William Unruh wrote:

> ip route
>
> Show us the output of those commands after you bring up eth0 and you
> think wlan0 is shut down.

I try again tomorrow. I need to get another computer, a 15.3 machine, out from
behind a desk so I can plug a cable into it.

In the meantime here is the result from a 15.3 machine. Sorry about the wrap
and length.

Running Network Manager.

bill@crab~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
group default qlen 1000
link/ether 6c:4b:90:39:fb:f7 brd ff:ff:ff:ff:ff:ff
altname enp1s0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
link/ether 60:14:b3:c9:d3:39 brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
valid_lft 86092sec preferred_lft 86092sec
inet6 fe80::6720:3ee1:afcd:bfa2/64 scope link noprefixroute
valid_lft forever preferred_lft forever
bill@crab~> ip route
default via 192.168.1.1 dev wlan0 proto dhcp metric 600
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 600

Switched to Wicked Service, to make changes. Everything stayed the same.

Added eth0.

bill@crab~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
group default qlen 1000
link/ether 6c:4b:90:39:fb:f7 brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 10.10.13.4/32 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::6e4b:90ff:fe39:fbf7/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
link/ether 60:14:b3:c9:d3:39 brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
valid_lft 85598sec preferred_lft 85598sec
inet6 fe80::6720:3ee1:afcd:bfa2/64 scope link noprefixroute
valid_lft forever preferred_lft forever
bill@crab~> ip route
default via 192.168.1.1 dev wlan0 proto dhcp
default via 192.168.1.1 dev wlan0 proto dhcp metric 600
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 600

No route/gateway to 10.10.13.*

bill@crab~> netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

---------------------

Here is the result from a 15.1 machine.

bill@kraken~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
link/ether 30:9c:23:60:da:33 brd ff:ff:ff:ff:ff:ff
3: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
link/ether f4:28:53:18:42:7e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 192.168.1.255 scope global noprefixroute dynamic wlan1
valid_lft 84694sec preferred_lft 84694sec
inet6 fe80::f42e:8ace:b97:feb2/64 scope link noprefixroute
valid_lft forever preferred_lft forever
bill@kraken~> ip route
default via 192.168.1.1 dev wlan1 proto dhcp metric 600
192.168.1.0/24 dev wlan1 proto kernel scope link src 192.168.1.3 metric 600

bill@kraken~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group
default qlen 1000
link/ether 30:9c:23:60:da:33 brd ff:ff:ff:ff:ff:ff
inet 10.10.13.2/24 brd 10.10.13.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::329c:23ff:fe60:da33/64 scope link
valid_lft forever preferred_lft forever
3: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether f4:28:53:18:42:7e brd ff:ff:ff:ff:ff:ff
bill@kraken~> ip route
10.10.13.0/24 dev eth0 proto kernel scope link src 10.10.13.2

Re: Dualhomed hosts.

<se8d4o$9dq$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=234&group=alt.os.linux.suse#234

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!aioe.org!khJFtBawPLjZIZ5iZsLoIQ.user.46.165.242.75.POSTED!not-for-mail
From: Dou...@hyperspace.vogon.gov (Andrew)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Mon, 2 Aug 2021 11:16:08 +0200
Organization: Aioe.org NNTP Server
Message-ID: <se8d4o$9dq$1@gioia.aioe.org>
References: <se7cqo$1ccu$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="9658"; posting-host="khJFtBawPLjZIZ5iZsLoIQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Firefox/60.0 SeaMonkey/2.53.8.1
X-Notice: Filtered by postfilter v. 0.9.2
 by: Andrew - Mon, 2 Aug 2021 09:16 UTC

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).
>
> Seems like I can get either one or the other, but not both.
>
> Is there a place where I can look to see how this should be configured?
>
> 20 years ago I used to run a smallish network like this at
> work...servers had their own network via a switch and another card (no
> WiFi, not secure enough for the environment, we used fiber) to the
> network where all the desktop machines lived.  Even before that I had a
> BSD machine with 2 NIC's in it at home.

I have a somewhat similar setup.
- Two network cards, no wlan.
- one is the internal network, fixed ip-addresses
- the other is the external network, dhcp from the modem/router

In addition there are a couple of PCs which only have one network card
and use the ones above as gateways. They are configured to use a fixed
ip-address as a gateway and I have to update their settings to use the
other one.
Writing this reminds me that the IPV6 routing is currently not working,
it did under Leap 15.1 and maybe 15.2 but not any more.

Fixed IP Adresses means I use wicked rather than Network Manager, radvd
is my IPV6 routing software. Originally I had the gateway(s) set up as
dns caching servers but nowadays I have the clients pointing to external
servers.

Re: Dualhomed hosts.

<impui0FmddkU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=235&group=alt.os.linux.suse#235

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Mon, 2 Aug 2021 12:09:05 +0200
Lines: 73
Message-ID: <impui0FmddkU1@mid.individual.net>
References: <se7cqo$1ccu$1@gioia.aioe.org>
<0orjthxddm.ln2@minas-tirith.valinor>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net eaE/ePzAZfCYtRnYF2FwKgRd0LDN7hPEOsUwEOWMrANN27sSS6
Cancel-Lock: sha1:9ZnvMdJLIWWx02cST24WtQ+Nq74=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <0orjthxddm.ln2@minas-tirith.valinor>
Content-Language: en-CA
 by: Carlos E. R. - Mon, 2 Aug 2021 10:09 UTC

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<UP,BROADCAST,RUNNING,MULTICAST> 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<link>
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<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
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<UP,BROADCAST,RUNNING,MULTICAST> 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<link>
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.

Re: Dualhomed hosts.

<se8hvv$k8u$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=236&group=alt.os.linux.suse#236

  copy link   Newsgroups: alt.os.linux.suse
Path: i2pn2.org!i2pn.org!aioe.org!yTeBrCA2MvjTDBU/KQD15A.user.46.165.242.91.POSTED!not-for-mail
From: gri...@somewhere.com (grinch)
Newsgroups: alt.os.linux.suse
Subject: Re: Dualhomed hosts.
Date: Mon, 2 Aug 2021 11:38:54 +0100
Organization: Aioe.org NNTP Server
Message-ID: <se8hvv$k8u$1@gioia.aioe.org>
References: <se7cqo$1ccu$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="20766"; posting-host="yTeBrCA2MvjTDBU/KQD15A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: grinch - Mon, 2 Aug 2021 10:38 UTC

> If I change the configuration, via yast, to bring up the eth0 device it
> shuts down the wlan0 (even though both are defined).
>
> Seems like I can get either one or the other, but not both.

If they are in the same subnet that is correct behaviour,Ethernet is
preferred over wlan. I don't know how is made to work in Linux but it does.

My personal laptop is setup like that, when it is on its docking station
the traffic goes via the Ethernet even though both eth0 and wlan0 have a
LAN IP address in the same subnet.

>
> Is there a place where I can look to see how this should be configured?
>
> 20 years ago I used to run a smallish network like this at
> work...servers had their own network via a switch and another card (no
> WiFi, not secure enough for the environment, we used fiber) to the
> network where all the desktop machines lived.  Even before that I had a
> BSD machine with 2 NIC's in it at home.

Try adding a second different subnet on the eth0 .

or

You could try static routes via eth0 to each box from each box if you
need to keep the same subnet.

i.e. IP route 192.168.1.100 /24 via eth0's IP address the repeat for
each separate box

The static routes should take precedence due to the longest match rule,
well they would in a cisco router which is what I am used to.

This can cause weird routing problems though ,I would not recommend it.

or

A more elegant solution would be to make the subnet on your router
larger so say a /23 then have 2 separate /24 subnets

/23 255.255.252.0

So wlan 192.168.0.0/24
eth0 192.168.1.0/24
Default gateway 192.168.0.x /23

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor