Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #89243

Re: Multi-Networking in Linux - Multiple Subnets

From Andy Burns <usenet@andyburns.uk>
Newsgroups comp.os.linux.misc
Subject Re: Multi-Networking in Linux - Multiple Subnets
Date 2026-07-30 14:53 +0100
Message-ID <nd13akF74rsU1@mid.individual.net> (permalink)
References <VNWcnecBi5IpXvf3nZ2dnZfqnPSdnZ2d@giganews.com> <nd0nqeF52jrU2@mid.individual.net> <114fdad$1trk7$1@news1.tnib.de>

Show all headers | View raw


Marc Haber wrote:

> Carlos E. R. wrote:
> >> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>>          inet 192.168.2.9  netmask 255.255.0.0  broadcast 192.168.255.255
> 
> Using the entire 192.168.0.0/16 range for a single home network is a
> sure sign of a person not knowing too much about networking or an
> incompetent ISP.
> 
>> Works for me as above :-)
> 
> Until the moment you'd want to connect to another network.
If you want multiple IP subnets on a single ethernet network, you'd be 
better off using VLANs, even cheapo switches can handle that, then your 
linux box with a single NIC can have VLAN sub-interfaces e.g. eth1.1 on 
192.168.0.1/24 and eth1.10 on 192.168.1.0/24

If you don't want VLANs you *could* use a NIC alias so that e.g. eth1 is 
on 192.168.0.1/24 and the alias eth1:2 is on 192.168.1.1/24 ... but why?

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Multi-Networking in Linux - Multiple Subnets c186282 <c186282@nnada.net> - 2026-07-29 23:23 -0400
  Re: Multi-Networking in Linux - Multiple Subnets rbowman <bowman@montana.com> - 2026-07-30 04:14 +0000
  Re: Multi-Networking in Linux - Multiple Subnets "Carlos E. R." <robin_listas@es.invalid> - 2026-07-30 12:37 +0200
    Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 13:42 +0200
      Re: Multi-Networking in Linux - Multiple Subnets "Carlos E. R." <robin_listas@es.invalid> - 2026-07-30 13:58 +0200
        Re: Multi-Networking in Linux - Multiple Subnets Robert Heller <heller@deepsoft.com> - 2026-07-30 12:14 +0000
        Re: Multi-Networking in Linux - Multiple Subnets The Natural Philosopher <tnp@invalid.invalid> - 2026-07-30 13:25 +0100
        Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 18:43 +0200
          Re: Multi-Networking in Linux - Multiple Subnets rbowman <bowman@montana.com> - 2026-07-30 19:22 +0000
            Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 21:53 +0200
            Re: Multi-Networking in Linux - Multiple Subnets Robert Heller <heller@deepsoft.com> - 2026-07-30 20:07 +0000
        Re: Multi-Networking in Linux - Multiple Subnets Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-07-30 21:18 +0000
      Re: Multi-Networking in Linux - Multiple Subnets Robert Heller <heller@deepsoft.com> - 2026-07-30 11:59 +0000
        Re: Multi-Networking in Linux - Multiple Subnets The Natural Philosopher <tnp@invalid.invalid> - 2026-07-30 13:32 +0100
        Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 18:44 +0200
          Re: Multi-Networking in Linux - Multiple Subnets The Natural Philosopher <tnp@invalid.invalid> - 2026-07-30 18:06 +0100
            Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 21:54 +0200
      Re: Multi-Networking in Linux - Multiple Subnets The Natural Philosopher <tnp@invalid.invalid> - 2026-07-30 13:24 +0100
      Re: Multi-Networking in Linux - Multiple Subnets Andy Burns <usenet@andyburns.uk> - 2026-07-30 14:53 +0100
        Re: Multi-Networking in Linux - Multiple Subnets The Natural Philosopher <tnp@invalid.invalid> - 2026-07-30 14:59 +0100
          Re: Multi-Networking in Linux - Multiple Subnets Andy Burns <usenet@andyburns.uk> - 2026-07-30 15:06 +0100
            Re: Multi-Networking in Linux - Multiple Subnets Rich <rich@example.invalid> - 2026-07-30 14:35 +0000
        Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 18:46 +0200
  Re: Multi-Networking in Linux - Multiple Subnets Marc Haber <mh+usenetspam2616@zugschl.us> - 2026-07-30 13:48 +0200

csiph-web