route problem
Andre Goree
andre at drenet.net
Mon May 20 20:14:18 UTC 2013
On 2013-05-20 3:58 pm, Pol Hallen wrote:
> 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
I'm pretty sure you need a route on "server2" to 192.168.1.0/24.
Try:
route add 192.168.1.0/24 192.168.2.250
--
Andre Goree
-=-=-=-=-=-
Email - andre at drenet.net
Website - http://blog.drenet.net
PGP key - http://www.drenet.net/0x83ADAAAB.asc
-=-=-=-=-=-
More information about the freebsd-questions
mailing list