[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: default route on other subnet
pbraun%nethence.com@localhost (Pierre-Philipp Braun) writes:
>As an example, in a bridge configuration, say I've got 10.1.1.1/24 on
>the dom0 and I want 10.2.2.2/24 on the guest. And the gateway is
If you have different subnets you need a router, not a bridge, and
a "default route on other subnet" is an oxymoron.
dom0 is 10.1.1.1/24 on the real interface and 10.1.1.254 is the gateway.
domU is 10.2.2.2/24 and needs a gateway in 10.2.2.0/24, e.g. 10.2.2.254.
dom0 needs a second interface to be configured for 10.2.2.254. This can
be a bridge that is used by multiple domUs, all in 10.2.2.0/24.
dom0 needs to be configured for ip forwarding.
your gateway 10.1.1.254 needs a proper route to 10.2.2.0/24 pointing
to the dom0. Other machines in 10.1.1.0/24 either need the same or
routing redirects have to work (they usually do).
Michael van Elst
"A potential Snark may lurk in every tree."
Main Index |
Thread Index |