I have two ISP connected to server and run sshd daemon for two IPs. Unfortunately, I can connect only via first IP. I can ping from both IPs. Please look at my configs.
NETSTAT:
ROUTE fib 0:
ROUTE fib 1:
TCPDUMP to E.F.G.H:
Is there a routing problem or sshd(8)?
NETSTAT:
Code:
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 A.B.C.D.22 *.* LISTEN
tcp4 0 0 E.F.G.H.22 *.* LISTEN
ROUTE fib 0:
Code:
Destination Gateway Flags Netif Expire
default A.B.C.C UGS igb0
E.F.G.0/24 link#2 U igb1
E.F.G.H link#2 UHS lo0
A.B.C.D/32 link#1 U igb0
A.B.C.D link#1 UHS lo0
127.0.0.1 link#7 UH lo0
ROUTE fib 1:
Code:
Destination Gateway Flags Netif Expire
default E.F.G.G UGS igb1
E.F.G.0/24 link#2 U igb1
A.B.C.D/32 link#1 U igb0
127.0.0.1 link#7 UH lo0
TCPDUMP to E.F.G.H:
Code:
[noparse]
listening on igb1, link-type EN10MB (Ethernet), capture size 262144 bytes
ethertype IPv4 (0x0800), length 66: W.X.Y.Z:34676 > E.F.G.H:22: Flags [S], seq 3091058599, win 8192, options [mss 1344,nop,wscale 8,nop,nop,sackOK], length 0
ethertype IPv4 (0x0800), length 58: E.F.G.H:22 > W.X.Y.Z:34676: Flags [S.], seq 3944135555, ack 3091058600, win 0, options [mss 1344], length 0
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [.], ack 1, win 64512, length 0
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [.], seq 1:2, ack 1, win 64512, length 1
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [.], seq 1:2, ack 1, win 64512, length 1
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [.], seq 1:2, ack 1, win 64512, length 1
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [.], seq 1:2, ack 1, win 64512, length 1
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [.], seq 1:2, ack 1, win 64512, length 1
ethertype IPv4 (0x0800), length 60: W.X.Y.Z:34676 > E.F.G.H:22: Flags [R.], seq 1, ack 1, win 0, length 0
ethertype IPv4 (0x0800), length 54: E.F.G.H:22 > W.X.Y.Z:34676: Flags [R.], seq 0, ack 1, win 0, length 0
[/noparse]
Is there a routing problem or sshd(8)?