Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 07:23:20 +0000
From:      Ivailo Tanusheff <Ivailo.Tanusheff@skrill.com>
To:        Pol Hallen <freebsdenml@fuckaround.org>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   RE: route problem
Message-ID:  <9f1cbf47bf4a4ba8b8f9908f9f81e734@DB3PR07MB059.eurprd07.prod.outlook.com>
In-Reply-To: <519A8074.7070107@fuckaround.org>
References:  <519A8074.7070107@fuckaround.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Hope you have rebooted after enabling the gateway, but you can check this w=
ith " sysctl net.inet.ip.forwarding " :)

So far from the server side it looks OK for me, but what are you pinging ac=
tually?
How is done the configuration of the target device?
This sounds like a pure routing problem, as you do not use NAT, then the de=
vices 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-questions@freebsd.org [mailto:owner-freebsd-questions@f=
reebsd.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=3D"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-unsubscribe@freebsd.org=
"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9f1cbf47bf4a4ba8b8f9908f9f81e734>