[VLAN] Network in Linux

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

 



Hi,

 

I do not know who stated this: -

 

"256 /24 nets; 192.168.x.x
16 /16 nets; 172.16.x.x through 172.31.x.x
1 /8 net; 10.x.x.x "

 

But the above is wrong. The correct values are: -

 
   The Internet Assigned Numbers Authority (IANA) has reserved the
   following three blocks of the IP address space for private internets:
 
     10.0.0.0        -   10.255.255.255  (10/8 prefix)
     172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
     192.168.0.0     -   192.168.255.255 (192.168/16 prefix)
 

Check RFC1918.

 

Thanks,

Vishwas



 

________________________________

From: vlan-bounces@xxxxxxxxxxxxxxx [mailto:vlan-bounces@xxxxxxxxxxxxxxx]
On Behalf Of warrier@xxxxxxxxxxx
Sent: Wednesday, February 09, 2005 7:30 PM
To: Linux 802.1Q VLAN
Subject: Re: [VLAN] Network in Linux

 


Thanks 
 Sorry about the net mask. I know in the 255.x.x.x terms. Never got to
grappling with the /8, /16 etc. 


S 



 

Peter Stuge <stuge-vlan@xxxxxxx> 
Sent by: vlan-bounces@xxxxxxxxxxxxxxx 

02/08/2005 08:21 PM 
Please respond to "Linux 802.1Q VLAN" 

        
        To:        "Linux 802.1Q VLAN" <vlan@xxxxxxxxxxxx> 
        cc:         
        Subject:        Re: [VLAN] Network in Linux




On Mon, Feb 07, 2005 at 02:08:54PM -0500, warrier@xxxxxxxxxxx wrote:
[.. addresses in 127/8..]

> Do you have any idea how this is implemented in Linux? , which
> source files I should look at etc.

Not really. Look around in /usr/src/linux-version/net/ipv4/


Anyway, I suggest you just stick to private addresses;

256 /24 nets; 192.168.x.x
16 /16 nets; 172.16.x.x through 172.31.x.x
1 /8 net; 10.x.x.x

These nets will never be routed on the internet.

Also you seemed to have net length meaning confused;
/24 is 255.255.255.0
/16 is 255.255.0.0
/8 is 255.0.0.0

/n means netmask with n number of ones.


//Peter
_______________________________________________
Vlan mailing list
Vlan@xxxxxxxxxxxx
http://www.lanforge.com/mailman/listinfo/vlan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lanforge.com/pipermail/vlan/attachments/20050209/76004d2b/attachment.htm

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux