Hi, Hope you have rebooted after enabling the gateway, but you can check this with " sysctl net.inet.ip.forwarding " :)
So far from the server side it looks OK for me, but what are you pinging actually? How is done the configuration of the target device? This sounds like a pure routing problem, as you do not use NAT, then the devices in the 192.168.1.0/24 should know where to find your server. The basic ideas are: 1. Make 192.168.1.250 default gateway for the devices in 192.168.1.0/24 or 2. route add -net 192.168.2 gw 192.168.1.250 (syntax depends on the OS) Also check if the device you ping accepts pings - many devices denies this by default, also Windows 7/2008 and later has firewall enabled which do not permits pings. Best regards, Ivailo Tanusheff -----Original Message----- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Pol Hallen Sent: Monday, May 20, 2013 10:59 PM To: FreeBSD Questions Subject: route problem Hi folks! On my lan I've: server1 re0 - 192.168.1.250 xl0 - 192.168.2.250 default 192.168.1.212 UGS 0 189 re0 127.0.0.1 link#8 UH 0 18 lo0 192.168.1.0/24 link#1 U 0 6145 re0 192.168.1.250 link#1 UHS 0 0 lo0 192.168.2.0/24 link#7 U 0 2282 xl0 192.168.2.250 link#7 UHS 0 0 lo0 and gateway_enable="YES" from server1 I can ping whole lan: 192.168.1.0/24, 192.168.2.0/24 from server2 re0 - 192.168.2.52 Destination Gateway Flags Refs Use Netif Expire default 192.168.2.250 UGS 0 8450 fxp0 127.0.0.1 link#8 UH 0 0 lo0 192.168.2.52 link#6 UHS 0 0 lo0 I can ping 192.168.2.0/24 and ONLY 192.168.1.250. I need ping 192.168.1.0/24 lan but I can only see 192.168.1.250 any idea? thanks! Pol _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"