default route

Max Laier max at
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 is put on rl0 and
> is on rl1, default router is set to on
> /etc/rc.conf as defaultrouter="", the problem:
> When I ping some box from network, it responds, when some box
> from network ping my box, my box responds, when I ping someone
> from network, he responds, when someone from
> network pings me my box does not response, propably packets are coming
> IN by rl1 and going out by defaultgateway so thru rl0, how to
> change/fix that so my box will respond to network using rl1
> interface?

Probably not.  Packets you send to 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
\ /  Max Laier                          | ICQ #67774661
 X  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url :

More information about the freebsd-net mailing list