lkml.org 
[lkml]   [1997]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Strange netmasks.
Date
On Wed, 23 Jul 1997 19:00:36 -0400 (EDT), 
"Richard B. Johnson" <root@analogic.com> wrote:
>I should be able to mask
>out the rest and therefore only get ARP packets sent to 7, rather than
>254 possible nodes.

ipfwadm -O -i accept -W ppp0 -S 0.0.0.0/0 -D a.b.c.d/29
ipfwadm -O -i deny -W ppp0 -S 0.0.0.0/0 -D 0.0.0.0/0

Allow packets for a.b.c.d through a.b.c.d+7 out on ppp0 and silently
drop everything else.

Or only route the wanted addresses,

route del -net a.b.c.0 netmask 255.255.255.0 gw other-end-of-ip link
route add -net a.b.c.d netmask 255.255.255.248 gw other-end-of-ip link



\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.149 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site