Jan Engelhardt ha scritto:
No need. If you add the interface address, rules for the subnet
will automatically be added, in other words:
ip addr add 192.168.1.2/24 dev eth0
will cause 192.168.1.0/24 to show up in `ip route` (preferred over `route`)
with a 'proto kernel', which says the kernel created this one automatically.
Uhm, yes, this is correct.
But I was not talking about adding routing on linux box, but on *XP* boxes.
Right, I already wondered about the strange trailing argument.
Yes, "mask" keyword does not definitively apply to route in Linux. :)
Then again, why not just use the default route [if it fits]?-
still needs no extra routes :)
Because I didn't know if the mentioned linux box was the default gateway
for the two XP boxes...:)
Regards.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html