Re: Need to block ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Goodwin - W2BOD wrote on Saturday 30 June 2007:

> What is the correct notation for blocking a range of addresses in my
> router?

> If I block 64.18.5.13  it simply moves up to 64.18.5.14.

> I thought the proper way to do it was 64.18.5.0/255 but obviously
> that's wrong or at least doesn't work for me.

You are mixing up mask notations. There are two of them

1) dottet decimal notation, like 255.255.255.0
2) CCIT notation, like 192.168.1.0/24

192.168.1.0/24 says "the first 24 bits of the mask are ones" and is 
255.255.255.0 in decimal notation.

255.255.255.0 = 11111111 11111111 11111111 00000000
                --------------------------
                         24 ones

What you said was "the first 255 bits of the mask are ones" and that is 
nonsense, since the mask is only 32 bit long (4 bytes).

CCIT notation is a little more limited than dottet notation, since you 
cannot create a mask like 

11111111 11111111 10101010 00000000 = 255.255.170.0

But in practice it is irrelevant, since there is (almost?) no reason to 
use such masks.

-- 
bye,
Adalbert

pseudo-user on a pseudo-terminal

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux