Messages in this thread | | | From | Keith Owens <> | Subject | Re: Strange netmasks. | Date | Thu, 24 Jul 1997 11:24:39 +1000 |
| |
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
| |