max at love2party.net
Fri Dec 14 02:06:18 PST 2007
On Friday 14 December 2007, vermaden wrote:
> Hi all
> I have strange problem with default router for two diffrent networks
> put on my FreeBSD box, network 10.0.0.0/24 is put on rl0 and
> 192.168.0.0/16 is on rl1, default router is set to 10.0.0.1 on
> /etc/rc.conf as defaultrouter="10.0.0.1", the problem:
> When I ping some box from 10.0.0.0 network, it responds, when some box
> from 10.0.0.0 network ping my box, my box responds, when I ping someone
> from 192.168.0.0 network, he responds, when someone from 192.168.0.0
> network pings me my box does not response, propably packets are coming
> IN by rl1 and going out by defaultgateway 10.0.0.1 so thru rl0, how to
> change/fix that so my box will respond to 192.168.0.0 network using rl1
Probably not. Packets you send to 192.168.0.0/16 when doing a ping are
subject to the same routing as kernel generated replys to that network.
Check out "netstat -rnfinet" to make sure your routing is what you
believe it to be. Also use tcpdump to verify your assumptions.
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20071214/320ef0ad/attachment.pgp
More information about the freebsd-net