Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 17:27:47 +0800
From:      sam wun <sam.wun@authtec.com>
To:        freebsd-net@freebsd.org
Subject:   vrrp ip is not reachable
Message-ID:  <4222E413.2060807@authtec.com>

next in thread | raw e-mail | index | archive | help
Hi list,

I have just installed freevrrp in FreeBSD5.4 (pre-release) with the following setup:

#public-facing VRID

[VRID]

serverid = 1

interface = fxp0

priority = 255

addr = 198.168.4.1/32

#password = vrid1

#vridsdep = 2



# backend VRID

[VRID]

serverid = 1

interface = em0

priority = 255

addr = 192.168.1.1/32

#password = vrid2

#vridsdep = 1



However, the virtual IP 192.168.4.1 (on fxp0) is not reachable with ping, while another virtual IP 192.168.1.1 (on em0) is fine.



Here is the result from ifconfig:

# ifconfig

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

       options=b<RXCSUM,TXCSUM,VLAN_MTU>

       inet 192.168.1.253 netmask 0xffffff00 broadcast 192.168.1.255

       inet6 fe80::20e:cff:fe05:8229%em0 prefixlen 64 scopeid 0x1

       inet 192.168.1.1 netmask 0xffffffff broadcast 192.168.1.1

       ether 00:00:5e:00:01:01

       media: Ethernet autoselect (100baseTX <full-duplex>)

       status: active

fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

       options=8<VLAN_MTU>

       inet 192.168.4.253 netmask 0xffffff00 broadcast 192.168.4.255

       inet6 fe80::211:11ff:fe0f:9543%fxp0 prefixlen 64 scopeid 0x2

       inet 192.168.4.2 netmask 0xffffff00 broadcast 192.168.4.255

       inet 198.168.4.1 netmask 0xffffff00 broadcast 198.168.4.255

       ether 00:00:5e:00:01:01

       media: Ethernet autoselect (100baseTX <full-duplex>)

       status: active

plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500

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

pfsync0: flags=41<UP,RUNNING> mtu 2020

pflog0: flags=41<UP,RUNNING> mtu 33208



in /etc/rc.conf:

gateway_enable="yes"

defaultrouter="192.168.4.254"

hostname="gateway.home.com"

ifconfig_fxp0="inet 192.168.4.253  netmask 255.255.255.0"

ifconfig_fxp0_alias0="inet 192.168.4.2  netmask 255.255.255.0"

ifconfig_em0="inet 192.168.1.253  netmask 255.255.255.0"



result from netstat -rn:

Internet:

Destination        Gateway            Flags    Refs      Use  Netif Expire

default            192.168.4.254      UGS         0        0   fxp0

127.0.0.1          127.0.0.1          UH          0       60    lo0

192.168.1          link#1             UC          0        0    em0

192.168.1.1/32     link#1             UC          0        0    em0

192.168.4          link#2             UC          0        0   fxp0

192.168.4.2        00:00:5e:00:01:01  UHLW        0        6    lo0

192.168.4.254      00:02:b3:0b:3c:d1  UHLW        0      257   fxp0    606

198.168.4          link#2             UC          0        0   fxp0





What should I do to make virtual address 192.168.4.1 reachable from local and external ping?



Thanks

Sam.











Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4222E413.2060807>