Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-04 Thread Mark Felder
Did you try to enable spoofing of MAC Addresses in HyperV?

http://vbry21.wordpress.com/2012/07/03/fixed-in-a-tick-solving-mulicast-issues-in-hyper-v-vms/
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-04 Thread Giovanni Mattera
Yes i test it but not work 
The CARP protocolol remain in state INIT. 




- Messaggio originale -

Da: Mark Felder f...@freebsd.org 
A: Maurizio Marini maurizio.mar...@cost.it, Julian Elischer 
jul...@freebsd.org 
Cc: FreeBSD Net n...@freebsd.org, Manuel Martini 
po...@manuelmartini.it, freebsd-virtualization@freebsd.org, Giovanni 
Mattera giovanni.matt...@cost.it 
Inviato: Martedì, 4 marzo 2014 16:09:00 
Oggetto: Re: freebsd 10.0 not work carp protocol on Hyper-v 

Did you try to enable spoofing of MAC Addresses in HyperV? 

http://vbry21.wordpress.com/2012/07/03/fixed-in-a-tick-solving-mulicast-issues-in-hyper-v-vms/
 

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

RE: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-04 Thread Abhishek Gupta (LIS)
Hi Giovanni,

Sorry to come late to the thread. Have you integrated the Hyper-V drivers yet 
or are relying on emulated mode? Let's start from there and we shall see if the 
problem can be resolved.
Thanks,
Abhishek Gupta
PM, BSD Integration Services
Microsoft Corporation

From: owner-freebsd-virtualizat...@freebsd.org 
owner-freebsd-virtualizat...@freebsd.org on behalf of Maurizio Marini 
maurizio.mar...@cost.it
Sent: Tuesday, March 04, 2014 9:43 AM
To: Mark Felder
Cc: FreeBSD Net; freebsd-virtualization@freebsd.org; Manuel Martini; Giovanni 
Mattera
Subject: Re: freebsd 10.0 not work carp protocol on Hyper-v

On Tue, 4 Mar 2014 10:25:42 -0600
Mark Felder f...@freebsd.org wrote:


 That's unfortunate. If you do a packet dump do you even see the other node's
 advertisements?

 CARP is really at the mercy of these half-baked virtual switc

Dear sir:

https://forum.pfsense.org/index.php?topic=44529.0

But shouldn't the CARP state go to master anyway, even if it couldn't find a
live partner due to network/Hyper-V problems?

this is the question, forget network/Hyper-V problems, CARP should go MASTER
anyway




--
Cordiali Saluti
Maurizio Marini
CoST - Computers Services and Technologies S.r.l.
Via Longhi, 13  - 20137 Milano
P. IVA   09585780159
Tel +39 02 45446.207
Fax +39 02 45446.333

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone
indicate. La diffusione, copia o qualsiasi altra azione derivante dalla
conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate
ricevuto questo documento per errore siete cortesemente pregati di darne
immediata comunicazione al mittente e di provvedere alla sua distruzione.
Grazie. This e-mail and any attachment are confidential and may contain
privileged information intended for the addressee(s) only. Dissemination,
copying, printing or use by anybody else is unauthorized. If you are not the
intended recipient, please delete this message and any attachment and advise
the sender by return e-mail. Thank you



___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-04 Thread Mark Felder

On Mar 4, 2014, at 11:43, Maurizio Marini maurizio.mar...@cost.it wrote:

 But shouldn't the CARP state go to master anyway, even if it couldn't find 
 a
 live partner due to network/Hyper-V problems?
 
 this is the question, forget network/Hyper-V problems, CARP should go MASTER
 anyway


I will have to test again in that XenServer environment soon but I believe it 
also stayed INIT there unless you forced it to MASTER. I could be wrong, though.

You're right though -- it should go to MASTER if it can't talk to the other 
members.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-04 Thread Maurizio Marini
On Tue, 4 Mar 2014 18:00:55 +
Abhishek Gupta (LIS) abgu...@microsoft.com wrote:

 Hi Giovanni,
 
 Sorry to come late to the thread. Have you integrated the Hyper-V drivers yet
 or are relying on emulated mode? Let's start from there and we shall see if
 the problem can be resolved. Thanks, Abhishek Gupta

Hello all

I can let you access to freebsd boxes with ssh and in rdp into Windows Server
2012 R2 to give a look, let me know your source ip's


brgds
-m


smime.p7s
Description: S/MIME cryptographic signature


Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-03 Thread Julian Elischer

On 3/2/14, 2:49 AM, Giovanni Mattera wrote:

good morning
I installed freebsd 10.0 on Hyper -V Windows Server 2012 R2.
I would like to enable the CARP protocol but is still in a state of init .
The error in dmessage is  ifa_del_loopback_route : deletion failed: 48 .
How do you configure CARP on Hyper -V ?
I've used both the card  Legacy Network  and  Network but the result is the 
same.
We are available to pay for this.


have you tried this kernel with real hardware?


Thank you.

Giovanni Mattera
-
CoST - Computers Services and Technologies s.r.l.
Via Giuseppe Longhi 13
20137 Milano MI
tel: +39 02454461
fax: +39 0245446333
cell:+393351217481
http://www.cost.it

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone 
indicate.
La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di 
queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo 
documento per errore siete cortesemente pregati di darne immediata 
comunicazione al mittente e di provvedere alla sua distruzione.
Grazie.

This e-mail and any attachment are confidential and may contain privileged 
information intended for the addressee(s) only.
Dissemination, copying, printing or use by anybody else is unauthorized. If you 
are not the intended recipient, please delete this message and any attachment 
and advise the sender by return e-mail.
Thank you


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org



___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-03 Thread Maurizio Marini
On Mon, 03 Mar 2014 02:17:14 -0800
Julian Elischer jul...@freebsd.org wrote:

 On 3/2/14, 2:49 AM, Giovanni Mattera wrote:
  good morning
  I installed freebsd 10.0 on Hyper -V Windows Server 2012 R2.
  I would like to enable the CARP protocol but is still in a state of init .
  The error in dmessage is  ifa_del_loopback_route : deletion failed: 48 .
  How do you configure CARP on Hyper -V ?
  I've used both the card  Legacy Network  and  Network but the result is
  the same. We are available to pay for this.
 
 have you tried this kernel with real hardware?
 
Hello Julian
CARP with this kernel in other environment does work fine.
The issue is that carp interface never goes MASTER, it stay in INIT state w/out
going into MASTER state.
The error we see on dmesg is:  ifa_del_loopback_route : deletion failed: 48.

There is no block on MAC-ADDRESSES on Hyper-v, no firewall, nothing.

We have tried with de interface (lelacy) and hn interface: same issue.

this is the hn interface:
hn0: Synthetic Network Interface on vmbus0

this is the ifconfig output:

hn0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=18VLAN_MTU,VLAN_HWTAGGING
ether 00:15:5d:2c:11:21
inet6 fe80::215:5dff:fe2c:1121%hn0 prefixlen 64 scopeid 0x3 
inet 192.168.222.201 netmask 0xff00 broadcast 192.168.222.255 
inet 192.168.222.200 netmask 0xff00 broadcast 192.168.222.255 vhid 
1 
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
carp: INIT vhid 1 advbase 1 advskew 0

In attach I provide you full dmesg output

I can provide you an ssh access to this freebsd virtual machine, no problem at 
all.

Googling around we find many people facing the same issue (CARP on Hyper-v),
none was able to provide a solution in forums or mailing lists.

Looking forward to hear from you.

Best Regards


-- 
Cordiali Saluti
Maurizio Marini 
CoST - Computers Services and Technologies S.r.l.
Via Longhi, 13  - 20137 Milano
P. IVA   09585780159
Tel +39 02 45446.207
Fax +39 02 45446.333

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone
indicate. La diffusione, copia o qualsiasi altra azione derivante dalla
conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate
ricevuto questo documento per errore siete cortesemente pregati di darne
immediata comunicazione al mittente e di provvedere alla sua distruzione.
Grazie. This e-mail and any attachment are confidential and may contain
privileged information intended for the addressee(s) only. Dissemination,
copying, printing or use by anybody else is unauthorized. If you are not the
intended recipient, please delete this message and any attachment and advise
the sender by return e-mail. Thank you



Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
module vmbus already present!
module storvsc already present!
module hn already present!
module atapci_dis already present!
CPU: Intel(R) Xeon(R) CPU5140  @ 2.33GHz (1262.62-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x6f6  Family = 0x6  Model = 0xf  Stepping = 6
  
Features=0xf83fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS
  Features2=0x80002201SSE3,SSSE3,CX16,HV
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
real memory  = 2147483648 (2048 MB)
avail memory = 2052059136 (1956 MB)
Event timer LAPIC quality 400
ACPI APIC Table: VRTUAL MICROSFT
ioapic0: Changing APIC ID to 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
random: Software, Yarrow initialized
vmbus0: Vmbus Devices on motherboard
acpi0: VRTUAL MICROSFT on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, f7f0 (3) failed
cpu0: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 32-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0
ata0: Hyper-V ATA storage disengage driver at channel 0 on atapci0
ata1: ATA channel at channel 1 on atapci0
pci0: bridge at device 7.3 (no driver attached)