About this list Date view Thread view Subject view Author view Attachment view

From: Gilles (gilles_at_harfang.homelinux.org)
Date: Sun 26 Sep 2004 - 18:14:16 BST

> > iface dummy0 inet static
> > address
> > netmask
> > broadcast
> > gateway
> >
> > But, when the interface is brought up, there is an error message:
> >
> > SIOCADDRT: Network is unreachable
> > Failed to bring up dummy0.
> ifup fails if any of the calls fails, in this case the route call fails,
> probably you didn't bring up the interface that makes
> reachable _before_ you bring up dummy0
I don't know in which order the interfaces are supposed to be brought up, but
in this case "eth0" ("br0", actually) comes before dummy0 in the file.
Also, now all interfaces are configured, I just ran

  ifconfig dummy0 down


  ifup dummy0

and the result is the same.

> > I'm still confused, because I don't understand why routing just works (but
> > probably not as I expect)!
> outgoing packages just take the interface that offers a route to the
> destination, the gateway entry in your /etc/network/interfaces is not
> necessary, packages 'originating from dummy0' will go through eth0
> anyways, if they're going to, for example,
> Within the host no routing occurs, routing just decides through which
> interface a packet is sent out (and through which gateway).
> hmm... i guess that also explains the stuff below, right?

Yes probably, but my original question was: Is it possible to have a virtual
network (i.e. inside the host) that is an "exact" image of a physical one (i.e.
one for which the host would have been the gateway)?
In the latter case, "eth0" on the host ( would be connected to
the other machine (, and would have, say, "eth1" connected to the subnet for which it would be the gateway (with address
No machine on the physical subnet would "see" the other nic of its
gateway, whereas here, the vserver (on the virtual sees both
interfaces: "dummy0" (which, I imagined, is the equivalent of the physical "eth1")
and "eth0", the interface to the other network. Why?


Vserver mailing list

About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 26 Sep 2004 - 18:11:58 BST by hypermail 2.1.3