NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Questions about NetBSD and virtual networks
i.m.martinsen%gmail.com@localhost (Ib-Michael Martinsen) writes:
>Should it not be possible the reach any address from the guest OS when
>it is configured with/on another network than the host OS?
>If yes, what am I missing to make it work?
Your guest OS knows how to reach the world via its default gateway
but the world doesn't know how to reach the guest OS. Everything
else on your local network including your router only knows about
192.168.0.0/24 and will fall back to their default route (probably the
internet connection) to reach other networks including 192.168.1.0/24.
Your router needs to know about 192.168.1.0/24 and maybe needs a
NAT configuration for it.
If you then use different networks, it is usually better to route
than to switch. I.e. disable the bridge and configure ip forwarding.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index