On Tue, 4 Mar 2014 20:48:09 +0000
"Abhishek Gupta (LIS)" <abgu...@microsoft.com> wrote:

> Also if you don't mind, could you describe your problem once more to me? The
> more detail the better.


our test environment is following:
https://www.dropbox.com/s/ovw0hv3cy4g2911/schema.pdf


a video simulation of the issue is here:
https://www.dropbox.com/s/9hh5ikyjqc49ad6/carp_on_hyperV.mov

in a few words, the CARP interface never goes into MASTER/BACLUP state but
keeps INIT state and it's not workable


tech data and configurations

2 virtual machines FreeBSD 10-RELEASE amd64 on HyperV last version
installed on Microsoft Windows 2012 R2

we have installed hv-kvp-1.0 on each vps freebsd


we have configured network card as legacy (but even hn driver does not work)
we have enabled mac spoofing
networking of each VM does work fine


on the same hyper-v 2 CentOS6 with keepalived (VRRP) wotk fine


on the same hyper-v 2 PFSense (2.1 rel with fbsd 8.3) CARP doesn not work

configuration files:

#cat /etc/rc.conf
hostname="loadbal1"
defaultrouter="192.168.222.253"
ifconfig_de0="inet 192.168.222.201  netmask 255.255.255.0 media 100baseTX
mediaopt full-duplex" ifconfig_de0_alias0="inet 192.168.222.200/32 vhid 400
pass f8398649753hl34875" ifconfig_de1="inet 192.168.100.41  netmask
255.255.255.0  media 100baseTX mediaopt full-duplex"

# ifconfig de0
de0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500 ether 00:15:5d:2c:11:35
        inet 192.168.222.201 netmask 0xffffff00 broadcast 192.168.222.255
        inet6 fe80::215:5dff:fe2c:1135%de0 prefixlen 64 scopeid 0x1
        inet 192.168.222.200 netmask 0xffffffff broadcast 192.168.222.200 vhid
200 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet 100baseTX <full-duplex>
        status: active
        carp: INIT vhid 200 advbase 1 advskew 0

# sysctl -a|grep carp
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.demotion: 240
net.inet.carp.senderr_demotion_factor: 240
net.inet.carp.ifdown_demotion_factor: 240


# uname -a
FreeBSD loadbal1 10.0-RELEASE 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

# pkg info
ca_root_nss-3.15.4             The root certificate bundle from the Mozilla
Project curl-7.35.0                    Non-interactive tool to get files from
FTP, GOPHER, HTTP(S) servers hv-kvp-1.0                     Hyper-V KVP
Integration Components pkg-1.2.6                      New generation package
manager

# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=49 time=14.072 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=49 time=16.979 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 14.072/15.525/16.979/1.453 ms


# ping 192.168.222.202
PING 192.168.222.202 (192.168.222.202): 56 data bytes
64 bytes from 192.168.222.202: icmp_seq=0 ttl=64 time=2.045 ms
64 bytes from 192.168.222.202: icmp_seq=1 ttl=64 time=2.461 ms
^C
--- 192.168.222.202 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.834/2.113/2.461/0.260 ms



# ping 192.168.222.200

--- 192.168.222.200 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

 # cat /var/run/dmesg.boot
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) CPU            5140  @ 2.33GHz (1300.97-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Family = 0x6  Model = 0xf  Stepping = 6
  
Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>
  Features2=0x80002201<SSE3,SSSE3,CX16,HV>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
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, a0000 (3) failed
acpi0: reservation of 100000, f7f00000 (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) vgapci0: <VGA-compatible display> mem 0xf8000000-0xfbffffff irq 11
 at device 8.0 on pci0 vgapci0: Boot video device
de0: <Digital 21140A Fast Ethernet> port 0xe880-0xe8ff mem
 0xfebfe000-0xfebfefff irq 11 at device 10.0 on pci0 de0: 21140A [10-100Mb/s]
 pass 2.0 de0: Ethernet address: 00:15:5d:2c:11:35
de1: <Digital 21140A Fast Ethernet> port 0xec00-0xec7f mem
 0xfebff000-0xfebfffff irq 11 at device 10.1 on pci0 de1: 21140A [10-100Mb/s]
 pass 2.0 de1: Ethernet address: 00:15:5d:2c:11:36
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
 acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <ISA Option ROMs> at iomem
 0xc0000-0xcbfff,0xcc000-0xcc7ff,0xcc800-0xccfff on isa0 sc0: <System console>
 at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
Timecounter "Hyper-V" frequency 10000000 Hz quality 10000000
Timecounters tick every 20.000 msec
storvsc0 on vmbus0
hyperv-utils0 on vmbus0
hyperv-utils0: Hyper-V Service attaching: Hyper-V Heartbeat Service

hyperv-kvp0 on vmbus0
hyperv-kvp0: Hyper-V Service attaching: Hyper-V KVP Service

hyperv-utils1 on vmbus0
hyperv-utils1: Hyper-V Service attaching: Hyper-V Shutdown Service

hv_kvp_negotiate_version
hyperv-utils2 on vmbus0
hyperv-utils2: Hyper-V Service attaching: Hyper-V Time Synch Service

storvsc1 on vmbus0
random: unblocking device.
cd0 at ata1 bus 0 scbus0 target 0 lun 0
cd0: <Msft Virtual CD/ROM 1.0> Removable CD-ROM SCSI-5 device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at blkvsc0 bus 0 scbus1 target 0 lun 0
da0: <Msft Virtual Disk 1.0> Fixed Direct Access SCSI-4 device
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)
Netvsc initializing... Timecounter "TSC" frequency 1300967194 Hz quality 800
Trying to mount root from ufs:/dev/da0p2 [rw]...


Looking forward to hear from you


-- 
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to