[DRBD-user] Force drbd to specific ethernet port

Andrés Cañada acanada at cnio.es
Wed Dec 28 17:59:42 CET 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

El Miércoles, 28 de Diciembre de 2005 17:55, Andrés Cañada escribió:
> El Miércoles, 28 de Diciembre de 2005 17:48, Luciano Miguel Ferreira Rocha
> escribió:
> > On Wed, Dec 28, 2005 at 05:40:52PM +0100, Andrés Cañada wrote:
> > > Hi!
> > > I'd like to know if its possible to force drbd to sync data through a
> > > specific ethernet port.
> > > I have two directors (master and backup) and they're linked by a
> > > crossover cable over a Gigabit net. I'd like to make sure that the sync
> > > process is doing through this eth ports.
> > > Could anyone help me?
> > > Thanks in advance.
> > > Andrés.
> >
> > Do the Gigabit cards have IP addresses on the same net as the other ones?
> > In that case, set routes to each other via the gigabit cards.
> No, they are using diferent net
> > Otherwise, just use those IPs in drbd configuration.
> I've been searching in drbd.conf but I haven't found the right place
> Thank you!!

In my drbd.conf I have::
 on master {
    device    /dev/drbd0;
    disk      /dev/hdb;
    address   192.168.2.xx:7788;
    meta-disk internal;
   on backup {
    device     /dev/drbd0;
    disk       /dev/hdb;
    address    192.168.2.xx:7788;
    meta-disk  internal;

I'm afraid that these are the addresses I have to change!!

**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. 
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.

More information about the drbd-user mailing list