I'm setting up a new mail gateway pair with Sendmail using CARP. I'ts on an internal network protected from the Internet (it relays all SMTP traffic!). I have an old single mail gateway running since ages. And i'ts running just fine.
I have configured CARP. And if I connect to the real/physical address on the server all is fine. But I got a TCP-Reset if I try to connect to the virtual IP-address.
Other host:
Why does the server send a TCP-Reset when I try to connect to the virtual CARP address?
/Alexander
PS: Sorry for the bad english it is not my native..
I have configured CARP. And if I connect to the real/physical address on the server all is fine. But I got a TCP-Reset if I try to connect to the virtual IP-address.
Code:
#uname -a
FreeBSD ***.com 11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May 8 05:21:56 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
# netstat -an | grep LISTEN
tcp4 0 0 *.587 *.* LISTEN
tcp6 0 0 *.25 *.* LISTEN
tcp4 0 0 *.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
Code:
# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:50:56:85:52:2f
hwaddr 00:50:56:85:52:2f
inet 10.130.87.202 netmask 0xffffff00 broadcast 10.130.87.255
inet 10.130.87.201 netmask 0xffffff00 broadcast 10.130.87.255 vhid 1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
carp: MASTER vhid 1 advbase 1 advskew 100
Code:
# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:50:56:85:0c:92
hwaddr 00:50:56:85:0c:92
inet 10.130.87.203 netmask 0xffffff00 broadcast 10.130.87.255
inet 10.130.87.201 netmask 0xffffff00 broadcast 10.130.87.255 vhid 1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
carp: BACKUP vhid 1 advbase 1 advskew 200
Code:
# telnet 10.130.87.201 25
Trying 10.130.87.201...
telnet: connect to address 10.130.87.201: Connection refused
telnet: Unable to connect to remote host
Why does the server send a TCP-Reset when I try to connect to the virtual CARP address?
/Alexander
PS: Sorry for the bad english it is not my native..