On Mon, Nov 6, 2017 at 4:56 PM, Rich Shepard <rshep...@appl-ecosys.com>
wrote:

> On Mon, 6 Nov 2017, Russell Senior wrote:
>
> >> Is there a way to either connect to a second subnet or to switch between
> >> two subnets without rebooting?
> >
> > Yes.
>
> Russell,
>
>    Please point me to some docs so I can re-learn how to do this.
>
> Rich
>
>
I never heard of any need to interact with /proc to do this. I simply add
the IP address I wish to occupy on that subnet to the desired interface.

Example: I have 2 subnets served by 1 switch (with no VLANs configured)
Subnet 1 is 192.168.1.0
Subnet 2 is 192.168.2.0

I can configure eth0 on my system with 2 IP addresses, for example
192.168.1.3 and 192.168.2.4, each with a subnet mask of 255.255.255.0.

Now I can communicate with devices on either subnet, even though they can't
communicate with each other.

If the above doesn't work for you, we may need to learn more about your
setup. Given what you've mentioned previously on this topic, I'm going to
guess that you're trying to arrange it such that you can talk to the
Ubiquiti router both on its default subnet as well as the one the rest of
your network uses, without having to re-number your interface every time
you try to change something. This is exactly the sort of thing I used to do
when I was playing with these devices a lot.

-wes
_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to