I realised this is due to a carp IP being MASTER on node2. So both node1 and node2 are responding for the LAN gateway IP, thats why I receive replies from both machines.

Im now trying to sort the carp + lagg issue already reported in the list.

Scott Ullrich wrote:
I bet it is being caused by your usage of LAGG.  Unfortunately you are
on your own on this one as LAGG is not supported as of yet.

On Jan 22, 2008 2:03 PM, Fabio C Flores <[EMAIL PROTECTED]> wrote:
  
# ping 10.0.2.10
PING 10.0.2.10 (10.0.2.10): 56 data bytes
64 bytes from 10.0.2.10: icmp_seq=0 ttl=64 time=0.208 ms
64 bytes from 10.0.2.10: icmp_seq=0 ttl=63 time=0.328 ms (DUP!)
64 bytes from 10.0.2.10: icmp_seq=1 ttl=64 time=0.110 ms
64 bytes from 10.0.2.10: icmp_seq=1 ttl=63 time=0.230 ms (DUP!)
^C
--- 10.0.2.10 ping statistics ---
2 packets transmitted, 2 packets received, +2 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.110/0.219/0.328/0.077 ms


----

# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 10.0.2.2 netmask 0xffff0000 broadcast 10.0.255.255
        inet6 fe80::215:17ff:fe51:3f2e%em0 prefixlen 64 scopeid 0x1
        ether 00:15:17:51:3f:2e
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        lagg: laggdev lagg0
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.0.221 netmask 0xffff0000 broadcast 192.168.255.255
        inet6 fe80::215:17ff:fe51:3f2f%em1 prefixlen 64 scopeid 0x2
        ether 00:15:17:51:3f:2f
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 10.1.0.2 netmask 0xffffff00 broadcast 10.1.0.255
        inet6 fe80::21c:23ff:fee1:f846%bge0 prefixlen 64 scopeid 0x3
        ether 00:1c:23:e1:f8:46
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 10.0.2.5 netmask 0xffff0000 broadcast 10.0.255.255
        inet6 fe80::21c:23ff:fee1:f847%bge1 prefixlen 64 scopeid 0x4
        ether 00:15:17:51:3f:2e
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        lagg: laggdev lagg0
pfsync0: flags=41<UP,RUNNING> mtu 1348
        pfsync: syncdev: bge0 syncpeer: 224.0.0.240 maxupd: 128
enc0: flags=0<> mtu 1536
pflog0: flags=100<PROMISC> mtu 33208
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
carp0: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
        inet 192.168.0.223 netmask 0xffffff00
        carp: MASTER vhid 11 advbase 1 advskew 100
carp1: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
        inet 10.0.2.3 netmask 0xffff0000
        carp: MASTER vhid 12 advbase 1 advskew 100
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::215:17ff:fe51:3f2e%tun0 prefixlen 64 scopeid 0xb
        inet 192.168.66.1 --> 192.168.66.2 netmask 0xffffffff
        Opened by PID 370
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.2.7 netmask 0xffff0000 broadcast 10.0.255.255
        inet6 fe80::215:17ff:fe51:3f2e%lagg0 prefixlen 64 scopeid 0xc
        ether 00:15:17:51:3f:2e
        media: Ethernet autoselect
        status: active
        lagg: laggproto failover
                laggport bge1 =4<ACTIVE>
                laggport em0 =5<MASTER,ACTIVE>

-----

# netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.1        UGS         0        0    em1
10/16              link#12            UCS         0        2  lagg0
10.0.1.205         00:16:ec:9b:c8:dc  UHLW        1       33  lagg0   1165
10.0.2.3           10.0.2.3           UH          0        0  carp1
10.0.2.6           00:15:17:51:4a:16  UHLW        1     2664  lagg0    234
10.0.2.10          00:19:b9:eb:62:7d  UHLW        1     1447  lagg0   1151
10.1/24            link#3             UC          0        0   bge0
10.1.0.1           00:1c:23:e1:f7:d1  UHLW        1     5294   bge0   1127
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.0/16       link#2             UC          0        1    em1
192.168.0.1        00:17:9a:58:20:3f  UHLW        2     1771    em1    918
192.168.0.2        00:16:3e:31:80:07  UHLW        1        1    em1    925
192.168.0.102      00:15:00:00:12:1f  UHLW        1        0    em1    972
192.168.0.223      192.168.0.223      UH          0        0  carp0
192.168.66         192.168.66.2       UGS         0        6   tun0
192.168.66.2       192.168.66.1       UH          1        0   tun0


    


  

Reply via email to