View Issue Details

IDProjectCategoryView StatusLast Update
495RackTablesdefaultpublic2013-10-27 20:26
Reporteruser264Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionwon't fix 
Product Version0.19.9 
Summary495: Add a /32 IPv4 net
DescriptionIt would be convenient to be able to add a /32 masked net in RT.
Additional InformationI tried to just modify inc/database.php (row 3328) to allow me to save a /32 net, but then I got into more trouble when trying to allocate that single IP to a Object.
TagsNo tags attached.

Relationships

duplicate of 384 closed IPv4 host address 

Activities

infrastation

infrastation

2011-11-23 11:49

administrator   ~0000484

What the use for a /32 "network" would be?

user264

2011-11-23 16:23

  ~0000485

In our case we use an external VPS for monitoring our own nets and add this VPS to racktables for documentation reasons. And it seems unnecessary to add a larger network than necessary including IP-addresses not belong to us.
I also think that all valid CIDR prefixes should be accepted in RackTables.
biffhero

biffhero

2012-02-11 05:32

reporter   ~0000602

My upstream IP address from my ISP is a /32 in my view. I don't know what it is in their database, but I only have the one IP address to allocate / track.
infrastation

infrastation

2012-02-11 09:02

administrator   ~0000607

Well, now I tend to agree with that reasons.

user299

2012-04-10 08:36

  ~0000641

Last edited: 2012-04-10 08:37

I've already added the default gateway of that "single ip's", so the network usually covers gateway and respective ip and is obviously larger than /32.
Never thought about it, just found it convenient to have the gateway information also stored.

infrastation

infrastation

2012-04-17 12:00

administrator   ~0000652

Ouch, fine.

user264

2012-04-17 13:02

  ~0000654

Can you develop your answer a little?
What conclusion have you reached?
infrastation

infrastation

2012-04-17 16:32

administrator   ~0000655

I missed, that the previous comment doesn't belong to the original reporter. Let this issue remain open.
kyreeth

kyreeth

2012-10-27 01:32

reporter   ~0000947

/32s are useful on loopback interfaces both on hosts and routers.
biffhero

biffhero

2013-10-21 16:58

reporter   ~0001889

I second what kyreeth said, loopback interfaces on routers are a common way to have an interface always up for routing protocols to use.
infrastation

infrastation

2013-10-27 20:26

administrator   ~0001893

So, this issue has been around for about 2 years and for the time being I'm closing it as "will not fix" with the following reasoning:

1. Uplink networks are not /32, they have to be at least /31 and are typically /30.
2. Loopback addresses are often allocated from address pools that also represent a CIDR prefix.
3. Where above doesn't apply, in RackTables it is possible to document any IP address regardless if it belongs to a documented network or not (see IPV4_JAYWALK config option).
4. Extending IPv4 network structure to /32 requires careful changes to application logic. Developer effort is very limited and it is much safer to leave it as is.

Excuse me for taking so much time.

Issue History

Date Modified Username Field Change
2011-11-21 08:44 user264 New Issue
2011-11-23 11:49 infrastation Note Added: 0000484
2011-11-23 16:23 user264 Note Added: 0000485
2012-01-29 03:40 adoom42 Relationship added duplicate of 384
2012-02-11 05:32 biffhero Note Added: 0000602
2012-02-11 09:02 infrastation Note Added: 0000607
2012-02-11 09:02 infrastation Status new => acknowledged
2012-04-10 08:36 user299 Note Added: 0000641
2012-04-10 08:37 user299 Note Edited: 0000641
2012-04-17 12:00 infrastation Note Added: 0000652
2012-04-17 12:00 infrastation Status acknowledged => closed
2012-04-17 12:00 infrastation Resolution open => won't fix
2012-04-17 13:02 user264 Note Added: 0000654
2012-04-17 13:02 user264 Status closed => feedback
2012-04-17 13:02 user264 Resolution won't fix => reopened
2012-04-17 16:32 infrastation Note Added: 0000655
2012-10-27 01:32 kyreeth Note Added: 0000947
2013-06-09 09:04 andriyanov Assigned To => andriyanov
2013-06-09 09:04 andriyanov Status feedback => assigned
2013-10-21 16:58 biffhero Note Added: 0001889
2013-10-27 20:26 infrastation Note Added: 0001893
2013-10-27 20:26 infrastation Assigned To andriyanov =>
2013-10-27 20:26 infrastation Status assigned => closed
2013-10-27 20:26 infrastation Resolution reopened => won't fix