Re: Multi-Networking in Linux - Multiple Subnets

c186282 <[email protected]> Thu, 30 Jul 2026 23:43:12 -0400
Newsgroups comp.os.linux.misc
Organization wokiesux
Message-ID <[email protected]>
On 7/30/26 06:37, Carlos E. R. wrote:
> On 2026-07-30 05:23, c186282 wrote:
>> Normal - you connect yer box to "THE Network",
>> some dot address.
>>
>> But what if you want it to see MULTIPLE subnets ...
>> 192.168.0.x and 192.168.1.x or more ???
> 
> Laicolasse:~ # ifconfig
> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>          inet 192.168.2.9  netmask 255.255.0.0  broadcast 192.168.255.255
>          inet6 fe80::f6a8:A:B:C  prefixlen 64  scopeid 0x20<link>
>          ether f4:*:*:*:*:01  txqueuelen 1000  (Ethernet)
>          RX packets 23204  bytes 20795150 (19.8 MiB)
>          RX errors 0  dropped 1  overruns 0  frame 0
>          TX packets 11818  bytes 1882795 (1.7 MiB)
>          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 

   Seems hopeful ... I'll try it out ! :-)

   Umm ... is it the "netmask" that makes multi-subnets
   more easily accessible ???

   Don't use IPV6.

> ...
> 
>> Has anybody made this work ? The adapter
>> must not see just ONE subnet, but a LIST
>> of subnets and translate one to another
>> seamlessly.
> 
> Works for me as above :-)

   Encouraging.

   I'll try some experiments.