Hi,
If someone could verify this problem or tell me what I’m doing wrong it would be great ![]()
addresses:
0 10.0.0.1/24 10.0.0.0 10.0.0.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2
routing table:
0 A S 0.0.0.0/0 reachable 10.0.0.2 1 ether1
1 ADC 10.0.0.0/24 10.0.0.1 0 ether1
2 ADC 192.168.0.0/24 192.168.0.1 0 ether2
Test:
/ping 192.168.255.5 src-address=192.168.0.1
Log entry:
00:21:52 firewall,info output output: in:(none) out:ether1, proto ICMP (type 8, code 0), 10.0.0.1->192.168.255.5, len 44
So it seems it takes the address from the interface where the default route is specified rather than the src-address I specified, which seems to be kind of strange. I would expect to get the src-address 192.168.0.1 instead of 10.0.0.1. Tried with src-address on syslog and there it did what I expected.
Ps. I’m using 3.24.
Any input would be appreciated!