[PVE-User] default routing considerations

Dietmar Maurer dietmar at proxmox.com
Thu Dec 3 13:34:35 CET 2009


Hi Patryk,

> -----Original Message-----
> From: Patryk Benderz [mailto:Patryk.Benderz at esp.pl]
> Sent: Donnerstag, 03. Dezember 2009 13:19
> To: Dietmar Maurer
> Subject: RE: [PVE-User] default routing considerations
> 
> Dnia 2009-12-03, czw o godzinie 12:34 +0100, Dietmar Maurer pisze:
> > >
> > > but by default in PVE it looks like this:
> > > 192.168.3.0  0.0.0.0       255.255.255.0 U  0 0 0 vmbr1
> > > 10.1.1.0     0.0.0.0       255.255.255.0 U  0 0 0 vmbr0
> > > 0.0.0.0      192.168.3.254 0.0.0.0       UG 0 0 0 vmbr1
> > >
> > > Now, my question is, why is default routing set up to route all
> traffic
> > > through default gateway?
> >
> > no specific route ==>> default route
> ok. In that case, why PVE does not set up route for each NIC?
> 
> > > This makes no sense! If i want to get to host
> > > 10.1.1.220, then packets should be routed through interface
> connected
> > > to this network (10.1.1.0),
> >
> > this is how it works.
> this is how it _should_ work. But in default PVE, routing table shows
> trace to 10.1.1.0 network through 192.168.3.254, which IMHO is
> incorrect

Sorry, I do not understand what you say. For me this looks like
different routes:

192.168.3.0  0.0.0.0       255.255.255.0 U  0 0 0 vmbr1
10.1.1.0     0.0.0.0       255.255.255.0 U  0 0 0 vmbr0

Packets to 10.1.1.0/24 are set via vmbr0
Packets to 192.168.3.0/24 are set via vmbr1

Why do you think it is wrong?



More information about the pve-user mailing list